libtd-ktx / kotlinx.telegram.flows / chatLastMessageFlow
chatLastMessageFlow
fun TelegramFlow.chatLastMessageFlow(): Flow<UpdateChatLastMessage>
emits UpdateChatLastMessage if the last message of a chat was changed. If lastMessage is null, then the last message in the chat became unknown. Some new unknown messages might be added to the chat in this case.