Closed jumatberkah closed 5 years ago
first, your bot will see every message (including other bots' commands) if it is group admin second, all commands are sent from telegram server as entites, the library doesnt parse commands itself. ref #39
first, your bot will see every message (including other bots' commands) if it is group admin second, all commands are sent from telegram server as entites, the library doesnt parse commands itself. ref #39
Hi there, please see this https://github.com/python-telegram-bot/python-telegram-bot/blob/984bea16d197df950c7a752a3888932b0ecb86ad/telegram/ext/commandhandler.py#L169
My bot username is @XCosmosBot. When i typed command with other bot username, my bot still respond. eg: "/start@XXXBot" it should only respond to XXXBot, but my bot still respond too. Second, command must be in the first order of a message instead of catching command in every message.