getChatScheduledMessages - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / getChatScheduledMessages

getChatScheduledMessages

suspend fun TelegramFlow.getChatScheduledMessages(chatId: Long): Messages

Suspend function, which returns all scheduled messages in a chat. The messages are returned in a reverse chronological order (i.e., in order of decreasing messageId).

Parameters

chatId - Chat identifier.

Return Messages Contains a list of messages.