Skip to content

search chat recent location messages

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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.

Clone this wiki locally