getRepliedMessage - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / getRepliedMessage

getRepliedMessage

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

Suspend function, which returns information about a message that is replied by given message.

Parameters

chatId - Identifier of the chat the message belongs to.

messageId - Identifier of the message reply to which get.

Return Message Describes a message.