UpdateBotGuestChatQuery#

class pyrogram.raw.types.UpdateBotGuestChatQuery#

Sent to guest bots when a user invokes the bot as a guest in a chat. The bot should reply by invoking messages.setBotGuestChatResult, see here for more info.

Constructor of Update.

Details:
  • Layer: 227

  • ID: CDD4093D

Parameters:
  • query_id (int 64-bit) – Query identifier, to be passed to messages.setBotGuestChatResult when replying

  • message (Message) – The message that triggered the query

  • qts (int 32-bit) – Persistent timestamp (qts) of the update, used by bots to receive updates of this type

  • reference_messages (List of Message, optional) – Additional context messages referenced by the triggering message (for example replied-to messages)