Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/0.x.x' into 0.x.x
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirHkrg committed Sep 6, 2024
2 parents 97f29b7 + 7c1f0ce commit f38b3f5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,15 @@ class MyBotClass {
$bot = new MyBotClass();
$bot->sendMessage($bot->message->chat->id, 'hello!');
```


### Long Polling
```php
Laraquest::polling(function(){
// ...
});

Laraquest::polling(function(Laraquest $request){
// ...
});
```

0 comments on commit f38b3f5

Please sign in to comment.