PaulSonOfLars / gotgbot

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

Use update channel and dispather separately #78

Closed HamzaLiu closed 1 year ago

HamzaLiu commented 1 year ago

Is it possible to initialize a update channel by myself so that a certain api writes update messages to the channel?

The purpose is that dispathers which are run on mutilple instances can get messages from the update channel.

In python-telegram-bot, the update_queue can be accessed out of the updater class.