getMessage - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / getMessage

getMessage

suspend fun TelegramFlow.getMessage(chatId: Long, messageId: Long): Message

Suspend function, which returns information about a message.

Parameters

chatId - Identifier of the chat the message belongs to.

messageId - Identifier of the message to get.

Return Message Describes a message.