Skip to content

Commit

Permalink
Merge pull request #293 from palehin/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
MyZik authored Nov 9, 2020
2 parents 283b86e + f20c086 commit 3d75d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ try {
});

//Handle text messages
$bot->on(function (\TelegramBot\Api\Types\Update $ update) use ($bot) {
$bot->on(function (\TelegramBot\Api\Types\Update $update) use ($bot) {
$message = $update->getMessage();
$id = $message->getChat()->getId();
$bot->sendMessage($id, 'Your message: ' . $message->getText());
Expand Down

0 comments on commit 3d75d0c

Please sign in to comment.