atipugin / telegram-bot-ruby

Ruby wrapper for Telegram's Bot API
https://core.telegram.org/bots/api
Do What The F*ck You Want To Public License
1.35k stars 217 forks source link

How to read channel messages? #256

Closed kraken-soft closed 1 year ago

kraken-soft commented 2 years ago

There are API, but i can`t understand how to invoke this

https://core.telegram.org/method/channels.getMessages

i add my bot to channel, and i want to get all messages from the channel, and receive new messages from the channel

Any ideas how to do that?