You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
N/A (This is a documentation issue, not a code issue)
Expected behaviour
The library documentation should accurately reflect the behavior described in the official Telegram Bot API documentation. The switch_inline_query_current_chat parameter should be documented as inserting the bot's username and inline query into the current chat's input field
Actual behaviour
The documentation for InlineKeyboardButton.switch_inline_query_current_chat currently describes behavior that differs from the official Telegram Bot API documentation.
The library documentation currently states that the parameter prompts the user to select a chat of a specific type and then inserts the bot's username and inline query.
Operating System
Windows
Version of Python, python-telegram-bot & dependencies
Not applicable, this is a documentation issue.
Relevant log output
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Bibo-Joshi
changed the title
[BUG] switch_inline_query_current_chat documentation discrepancy
[DOCS] switch_inline_query_current_chat documentation discrepancy
Jun 17, 2024
Hi there! Thanks for the offer! I'm really happy to help improve the documentation, but unfortunately I'm currently away from my computer and unable to send a pull request at the moment.
I've already drafted the changes I'd like to make, but since I'm not able to commit them right now, I think it would be best if either you or another someone could make the updates directly and send a PR.
Steps to Reproduce
N/A (This is a documentation issue, not a code issue)
Expected behaviour
The library documentation should accurately reflect the behavior described in the official Telegram Bot API documentation. The switch_inline_query_current_chat parameter should be documented as inserting the bot's username and inline query into the current chat's input field
Actual behaviour
The documentation for InlineKeyboardButton.switch_inline_query_current_chat currently describes behavior that differs from the official Telegram Bot API documentation.
The library documentation currently states that the parameter prompts the user to select a chat of a specific type and then inserts the bot's username and inline query.
Operating System
Windows
Version of Python, python-telegram-bot & dependencies
Relevant log output
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: