1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 23:07:20 +01:00
MadelineProto/docs/API_docs/constructors/inputMediaGeoLive.md
2017-10-14 09:50:46 +00:00

803 B

title description
inputMediaGeoLive inputMediaGeoLive attributes, type and example

Constructor: inputMediaGeoLive

Back to constructors index

Attributes:

Name Type Required
geo_point InputGeoPoint Yes
period int Yes

Type: InputMedia

Example:

$inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, 'period' => int];

PWRTelegram json-encoded version:

{"_": "inputMediaGeoLive", "geo_point": InputGeoPoint, "period": int}

Or, if you're into Lua:

inputMediaGeoLive={_='inputMediaGeoLive', geo_point=InputGeoPoint, period=int}