mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-11 11:39:37 +01:00
1.0 KiB
1.0 KiB
title | description |
---|---|
inputBotInlineMessageMediaGeo | inputBotInlineMessageMediaGeo attributes, type and example |
Constructor: inputBotInlineMessageMediaGeo
Attributes:
Name | Type | Required |
---|---|---|
geo_point | InputGeoPoint | Yes |
reply_markup | ReplyMarkup | Optional |
Type: InputBotInlineMessage
Example:
$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup];
PWRTelegram json-encoded version:
{"_": "inputBotInlineMessageMediaGeo", "geo_point": InputGeoPoint, "reply_markup": ReplyMarkup}
Or, if you're into Lua:
inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup}
Usage of reply_markup
You can provide bot API reply_markup objects here.