Skip to content

[DOCS] switch_inline_query_current_chat documentation discrepancy #4301

Closed
@robelasefa

Description

@robelasefa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions