Layer 227
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 |
|---|---|---|
| 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(1234567890), UserId: int64(1234567890), Query: "Hello, World!", Geo: nil, PeerType: nil, Offset: "Hello, World!", }