Layer 220
constructor
updateBotInlineSend#12f12a07 flags:# user_id:long query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
UserId long The user that chose the result
Query string The query that was used to obtain the result
Geo flags.0?GeoPoint Optional. Sender location, only for bots that require user location
Id string The unique identifier for the result that was chosen
MsgId flags.1?InputBotInlineMessageID Identifier of the sent inline message. Available only if there is an inline keyboard attached to the message. Will be also received in callback queries and can be used to edit the message.

Returns

Update

Gogram Example

// Creating UpdateBotInlineSend constructor
obj := &tg.UpdateBotInlineSend{
    UserId: int64(0),
    Query: "...",
    Id: "...",

    // Optional fields:
    // Geo: &tg.GeoPoint{},
    // MsgId: &tg.InputBotInlineMessageId{},
}