I want to create multiple bots in the same python script, these bots are similar, the only difference between them is the tokens.
the first idea that comes to my mind is to create a class contains the bot script, then I create new instance of this class each time I want to create a new bot, and pass the bot token to the init function.
I'm not sure if I can create a bot inside a class using telethon, all examples that I saw are using functions and decorations. Then does telethon (MTProto) supports multiple instances running together ?
Or do I need to run them concurrently ?
code examples will be very helpful for me.
Thanks.