Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[DOCS] Wrong documentation forswitch_inline_query #4446

Closed
Labels
@hethon

Description

@hethon

Steps to Reproduce

  1. Doc forswitch_inline_query

Expected behaviour

switch_inline_query (:obj:`str`, optional): If set, pressing the button will            prompt the user to select one of their chats of the specified type, open that chat and            insert the bot's username and the specified inline query in the input field. Not            supported for messages sent on behalf of a Telegram Business account.                        Tip:                This is similar to the new parameter :paramref:`switch_inline_query_chosen_chat`,                but gives no control over which chats can be selected.

Actual behaviour

switch_inline_query (:obj:`str`, optional): If set, pressing the button will insert the            bot's username and the specified inline query in the current chat's input field. May be            empty, in which case only the bot's username will be inserted.            This offers a quick way for the user to open your bot in inline mode in the same chat -            good for selecting something from multiple options. Not supported in channels and for            messages sent on behalf of a Telegram Business account.            Tip:                This is similar to the new parameter :paramref:`switch_inline_query_chosen_chat`,                but gives no control over which chats can be selected.

Version of Python, python-telegram-bot & dependencies

python-telegram-bot 21.4Bot API 7.7Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp