1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 13:39:38 +01:00
MadelineProto/docs/API_docs/constructors/inputBotInlineMessageMediaGeo.md
2017-10-14 09:50:46 +00:00

1.1 KiB

title description
inputBotInlineMessageMediaGeo inputBotInlineMessageMediaGeo attributes, type and example

Constructor: inputBotInlineMessageMediaGeo

Back to constructors index

Attributes:

Name Type Required
geo_point InputGeoPoint Yes
period int Yes
reply_markup ReplyMarkup Optional

Type: InputBotInlineMessage

Example:

$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup];

PWRTelegram json-encoded version:

{"_": "inputBotInlineMessageMediaGeo", "geo_point": InputGeoPoint, "period": int, "reply_markup": ReplyMarkup}

Or, if you're into Lua:

inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, period=int, reply_markup=ReplyMarkup}

Usage of reply_markup

You can provide bot API reply_markup objects here.