MadelineProtoDocs/old_docs/API_docs_v75/constructors/updateBotInlineQuery.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

1.1 KiB

title description image
updateBotInlineQuery updateBotInlineQuery attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateBotInlineQuery

Back to constructors index

Attributes:

Name Type Required
query_id long Yes
user_id int Yes
query string Yes
geo GeoPoint Optional
offset string Yes

Type: Update

Example:

$updateBotInlineQuery = ['_' => 'updateBotInlineQuery', 'query_id' => long, 'user_id' => int, 'query' => 'string', 'geo' => GeoPoint, 'offset' => 'string'];

PWRTelegram json-encoded version:

{"_": "updateBotInlineQuery", "query_id": long, "user_id": int, "query": "string", "geo": GeoPoint, "offset": "string"}

Or, if you're into Lua:

updateBotInlineQuery={_='updateBotInlineQuery', query_id=long, user_id=int, query='string', geo=GeoPoint, offset='string'}