Skip to content

Commit 466ba2a

Browse files
committed
README fix
1 parent a812b42 commit 466ba2a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ and have interactions in a matter of minutes.
2525
The Bot can:
2626
- retrive update with webhook and getUpdate methods.
2727
- supports all types and methods according to Telegram API (2015 October 8).
28-
- handle commads in chat with other bots.
28+
- handle commands in chat with other bots.
2929

3030
It is ready for the channels support.
3131

@@ -172,9 +172,9 @@ try {
172172
```
173173

174174
###Self Signed Certificate
175-
To upload the certificate add the certificate path as param in *set.php*:
175+
To upload the certificate, add the certificate path as param in *set.php*:
176176
```php
177-
$result = $telegram->setWebHook($url, $certificate_path);
177+
$result = $telegram->setWebHook($url, $certificate_path);
178178
```
179179

180180
## getUpdate installation
@@ -233,18 +233,18 @@ $result = Request::sendPhoto($data);
233233

234234
*sendAudio*, *sendDocument*, *sendSticker*, *sendVideo* and *sendVoice* works in the same way.
235235
See *ImageCommand.php* for a full example.
236-
####Send Chat Action
236+
###Send Chat Action
237237

238238
```php
239239
Request::sendChatAction(['chat_id' => $chat_id, 'action' => 'typing']);
240240
```
241-
####getUserProfilePhoto
241+
###getUserProfilePhoto
242242
Retrieve the user photo, see the *WhoamiCommand.php* for a full example.
243243

244-
####GetFile and dowloadFile
244+
###GetFile and dowloadFile
245245
Get the file path and download it, see the *WhoamiCommand.php* for a full example.
246246

247-
#### Send message to all active chats
247+
### Send message to all active chats
248248
To do this you have to enable the Mysql connection.
249249
Here's an example of use:
250250

@@ -278,7 +278,7 @@ $telegram->enableMySQL($credentials, $BOT_NAME.'_');
278278
```
279279

280280
### Commands
281-
The bot is able to recognise commands in chat with multiple bot(/command@mybot ).
281+
The bot is able to recognise commands in chat with multiple bot (/command@mybot ).
282282
It can execute command triggering a chat event. Here's the list:
283283

284284
- Group chat created (**GroupchatcreatedCommand.php**)
@@ -326,7 +326,7 @@ $telegram->setCommandConfig('date',
326326
array('google_api_key'=>'your_google_api_key_here'));
327327
```
328328
### Upload and Download directory
329-
You can overwrite the default Upload and download directory with:
329+
You can overwrite the default Upload and Download directory with:
330330
```php
331331
$telegram->setDownloadPath("yourpath/Download");
332332
$telegram->setUploadPath("yourpath../Upload");

0 commit comments

Comments
 (0)