Layer 227
UpdateBotGuestChatQuery
Sent to guest bots when a user invokes the bot as a guest in a chat. The bot should reply by invoking messages. set Bot Guest Chat Result, see here for more info.
constructor
updateBotGuestChatQuery#cdd4093d flags:# query_id:long message:Message reference_messages:flags.0?Vector<Message> qts:int = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| QueryId | long | Query identifier, to be passed to messages. set Bot Guest Chat Result when replying |
| Message | Message | The message that triggered the query |
| ReferenceMessages | flags .0? Vector < Message > | Additional context messages referenced by the triggering message (for example replied-to messages) |
| Qts | int | Persistent timestamp ( qts ) of the update, used by bots to receive updates of this type |
Returns
UpdateGogram Example
// Creating UpdateBotGuestChatQuery constructor obj := &tg.UpdateBotGuestChatQuery{ QueryId: int64(1234567890), Message: &tg.Message{}, ReferenceMessages: nil, Qts: 42, }