Layer 220
UpdateBotInlineQuery
An incoming inline query
constructor
updateBotInlineQuery#496f379c flags:# query_id:long user_id:long query:string geo:flags.0?GeoPoint peer_type:flags.1?InlineQueryPeerType offset:string = Update;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| QueryId | long | Query ID |
| UserId | long | User that sent the query |
| Query | string | Text of query |
| Geo | flags.0?GeoPoint | Attached geolocation |
| PeerType | flags.1?InlineQueryPeerType | Type of the chat from which the inline query was sent. |
| Offset | string | Offset to navigate through results |
Returns
UpdateGogram Example
// Creating UpdateBotInlineQuery constructor obj := &tg.UpdateBotInlineQuery{ QueryId: int64(0), UserId: int64(0), Query: "...", Offset: "...", // Optional fields: // Geo: &tg.GeoPoint{}, // PeerType: &tg.InlineQueryPeerType{}, }