chatOrderFlow - libtd-ktx

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


libtd-ktx / kotlinx.telegram.flows / chatOrderFlow

chatOrderFlow

fun TelegramFlow.chatOrderFlow(): Flow<UpdateChatOrder>

emits UpdateChatOrder if the order of the chat in the chat list has changed. Instead of this update updateChatLastMessage, updateChatIsPinned, updateChatDraftMessage, or updateChatIsSponsored might be sent.