MadelineProto/docs/TD_docs/constructors/messageLocation.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

727 B

title description
messageLocation Message with location

Constructor: messageLocation

Back to constructors index

Message with location

Attributes:

Name Type Required Description
location location Yes Message content

Type: MessageContent

Example:

$messageLocation = ['_' => 'messageLocation', 'location' => location];

PWRTelegram json-encoded version:

{"_": "messageLocation", "location": location}

Or, if you're into Lua:

messageLocation={_='messageLocation', location=location}