So the Telegram Bot can do different actions, depending on who activated the command. This concerns aiogram, a framework for Telegram Bot API Answer You could use a simple filtering system: Create a dict/database with user_id’s and their roles Get the role from that dict/db by id and do the action This solution in code:
Tag: aiogram
TraceBack Cannot connect to host api.telegram.org:443
I wrote a telegram bot on the aiogram framework. The bot worked fine for over a week, with no problems. The customer started complaining about the bot freezing. I downloaded the log file and saw a bunch of different TraceBacks. This situation has been happening for two days now. List of 3 TraceBacks, for example: First Second Third On my