Get all recent live locations sent to a specific chat: returns up to 1 location message (messageMediaGeoLive) per chat participant.
messages.messages#8c718e87 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.messagesSlice#3a54685e flags:# inexact:flags.1?true count:int next_rate:flags.0?int offset_id_offset:flags.2?int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.channelMessages#64479808 flags:# inexact:flags.1?true pts:int count:int offset_id_offset:flags.2?int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.messagesNotModified#74535f21 count:int = messages.Messages;
---functions---
messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages.Messages;
| Name | Type | Description |
|---|---|---|
| peer | InputPeer | Target group or private chat. |
| limit | int | Maximum number of results to return, see pagination |
| hash | long | Hash used for caching, for more info click here |
How to fetch results from large lists of objects.
Telegram allows sending the live geolocation of a user in a chat, optionally setting a proximity alert.
Indicates a live geolocation