@@ -165,15 +165,15 @@ Commads
165
165
The bot is able to recognise commands in chat with multiple bot.
166
166
It can execute command triggering a chat event. Here's the list:
167
167
168
- -Groupchatcreated ( GroupchatcreatedCommand.php)
169
- -Newchatparticipant ( NewchatparticipantCommand.php)
170
- -Deletechatphoto ( DeletechatphotoCommand.php)
171
- -Newchattitle ( NewchattitleCommand.php)
172
- -Leftchatparticipant ( LeftchatparticipantCommand.php)
168
+ - Group chat created ( ** GroupchatcreatedCommand.php** )
169
+ - New chat participant ( ** NewchatparticipantCommand.php** )
170
+ - Delete chat photo ( ** DeletechatphotoCommand.php** )
171
+ - New chat title ( ** NewchattitleCommand.php** )
172
+ - Left chat participant ( ** LeftchatparticipantCommand.php** )
173
173
174
- GenericCommand.php let you handle commands that non exist or use commands as var:
175
- Favourite colour? /black /red
176
- Favourite number? /1 /134
174
+ ** GenericCommand.php** let you handle commands that non exist or use commands as var:
175
+ Favourite colour? ** /blac /red**
176
+ Favourite number? ** /1 /134 **
177
177
178
178
179
179
Maybe you would like to develop your own commands. A good practice is to store them outside vendor/. This can be done adding before the method:
@@ -188,7 +188,7 @@ $telegram->addCommandsPath($COMMANDS_FOLDER);
188
188
189
189
Send message to all active chats (new!)
190
190
---------------------------------------
191
- To do this you have to enable the mysql connections .
191
+ To do this you have to enable the mysql connection .
192
192
Here's an example of use:
193
193
194
194
``` php
0 commit comments