Hide navigation sidebar
Hide table of contents sidebar
PTB has undergone significant changes in v20. Please read the documentation carefully and also check out the transition guide in the wiki.
Back to top
Toggle table of contents sidebar

# SentWebAppMessage

class telegram.SentWebAppMessage(inline_message_id=None, *, api_kwargs=None)

  Bases: `telegram.TelegramObject`

  Contains information about an inline message sent by a Web App on behalf of a user.

  Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their `inline_message_id` are equal.

  Returned In

  `telegram.Bot.answer_web_app_query()`

  New in version 20.0.

  Parameters:

    inline_message_id (`str`, optional) – Identifier of the sent inline message. Available only if there is an `inline keyboard` attached to the message.

  inline_message_id

    Optional. Identifier of the sent inline message. Available only if there is an `inline keyboard` attached to the message.

    Type:

      `str`