bytesnake / telebot

Write Telegram bots in Rust with Tokio and Futures
Other
212 stars 33 forks source link

Added support for text/unknown-text msg handlers #80

Open sumeetchhetri opened 4 years ago

bytesnake commented 4 years ago

Can't you just use the bot.get_stream(None) function and filter for text? Don't want to over-complicate the API :sweat_smile:

bytesnake commented 4 years ago

or wait that exactly is a text based command in contrast to a normal command. I'm not super up-to-date to any updates of the Telegram API

sumeetchhetri commented 4 years ago

Yes, we could treat normal text as commands as well, so this PR would provide such functionality to the library