Steps to Reproduce
- Create a chat.
- Ban the target bot
- Try to use inline mode of the bot.
Actual Result
We are able to use the bot in inline mode even if it is banned in the chat.
Since answerGuestQuery cannot be used by bots if they are banned in the chat, similarly answerInlineQuery should also not be allowed for banned bots.
Steps to Reproduce
Actual Result
We are able to use the bot in inline mode even if it is banned in the chat.
Since answerGuestQuery cannot be used by bots if they are banned in the chat, similarly answerInlineQuery should also not be allowed for banned bots.