Closed SimuraEpona closed 1 year ago
Hi @SimuraEpona,
If you use multiple bots (in your example BotA and BotB) every bot should have it's own unique bot token - the bot identity in the telegram bot world.
bot_A_config = [token: token_A, max_bot_concurrency: 1_000]
bot_B_config = [token: token_B, max_bot_concurrency: 1_000]
children = [
{Telegram.Poller,
bots: [
{BotA, bot_A_config},
{BotB, bot_B_config}
]}
]
@visciang Thanks, I'll try it.
Hi,
thanks for creating this fantastic library.
currently, I'm having this problem.
first, I have two Bots
BotA
andBotB
,then, I add Poller to the Supervisor like this
after I start up my server, the error occurs.
am I using Poller the wrong way?