robelasefa · GitHub

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

Not applicable, this is a documentation issue.

Relevant log output

No response

Additional Context

No response

Read the original on github.com ↗