mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 00:26:57 +01:00
1.4 KiB
1.4 KiB
title | description |
---|---|
inlineQueryResultLocation | Represents a point on the map |
Constructor: inlineQueryResultLocation
Represents a point on the map
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | Unique identifier of this result |
location | location | Yes | The result |
title | string | Yes | Title of the result |
thumb_url | string | Yes | Url of the result thumb, if exists |
thumb_width | int | Yes | Thumb width, if known |
thumb_height | int | Yes | Thumb height, if known |
Type: InlineQueryResult
Example:
$inlineQueryResultLocation = ['_' => 'inlineQueryResultLocation', 'id' => string, 'location' => location, 'title' => string, 'thumb_url' => string, 'thumb_width' => int, 'thumb_height' => int, ];
PWRTelegram json-encoded version:
{"_":"inlineQueryResultLocation","id":"string","location":"location","title":"string","thumb_url":"string","thumb_width":"int","thumb_height":"int"}
Or, if you're into Lua:
inlineQueryResultLocation={_='inlineQueryResultLocation', id=string, location=location, title=string, thumb_url=string, thumb_width=int, thumb_height=int, }