Closed seyfer closed 7 years ago
I have changed version to
"irazasyed/telegram-bot-sdk": "dev-develop"
and now it's here.
No, it's not.
New version works in very different way. So, please backport method leaveChat
to 3.*@dev
@irazasyed When do you publish version 3, please!?
@seyfer Why do you believe leavechat is not in the dev version?
https://github.com/irazasyed/telegram-bot-sdk/blob/develop/src/Methods/LeaveChat.php
@jonnywilliamson I use a version before Methos in their own directory were introduced. And there is no LeaveChat method.
Please refer this starter package I just released: https://github.com/irazasyed/telegram-bot-laravel-starter
It has a sample method usage. So you can get an idea on how to use other methods.
@irazasyed you demonstrate there how to use v3.0, but I have asked about port leaveChat back to 2.0.
@irazasyed , @jonnywilliamson so, what about version 2.2 and leaveChat method?
https://core.telegram.org/bots/api#leavechat
This method is very useful for commands like /off or /unsubscribe.