ChatKtx.searchRecentLocationMessages - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.extensions / ChatKtx / searchRecentLocationMessages

searchRecentLocationMessages

open suspend fun Chat.searchRecentLocationMessages(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

limit - The maximum number of messages to be returned.

Return TdApi.Messages Contains a list of messages.