libtd-ktx / kotlinx.telegram.coroutines / searchChatRecentLocationMessages
searchChatRecentLocationMessages
suspend fun
TelegramFlow
.searchChatRecentLocationMessages(chatId:
Long
, limit:
Int
):
Messages
Suspend function, which returns information about the recent locations of chat members that were sent to the chat. Returns up to 1 location message per user.
Parameters
chatId
- Chat identifier.
limit
- The maximum number of messages to be returned.
Return Messages Contains a list of messages.