elbekD / kt-telegram-bot

Telegram Bot Library for Kotlin language
MIT License
103 stars 19 forks source link

Suspendable chains #44

Closed nothingelsematters closed 2 years ago

nothingelsematters commented 2 years ago

Since all the requests (such as Bot.sendMessage and so on) are suspend fun, all the chain function should be suspendable as well in order to have the ability to write Bot using code there.