Layer 227
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

Update

Gogram Example

// Creating UpdateBotGuestChatQuery constructor
obj := &tg.UpdateBotGuestChatQuery{
    QueryId: int64(1234567890),
    Message: &tg.Message{},
    ReferenceMessages: nil,
    Qts: 42,
}