PaulSonOfLars / gotgbot

Autogenerated Go wrapper for the telegram API. Inspired by the python-telegram-bot library.
MIT License
509 stars 114 forks source link

Conversation handlers #55

Closed PaulSonOfLars closed 1 year ago

PaulSonOfLars commented 2 years ago

What

Implement a new type of Handler, the conversation handler, which allows for storing the state of each user and emulate a "conversation" with them.

This does not add support for conversation timeouts or forced linear processing of conversation events; those can be added in the future, when needed.

Impact