MessageKtx.getReplied - libtd-ktx

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


libtd-ktx / kotlinx.telegram.extensions / MessageKtx / getReplied

getReplied

open suspend fun Message.getReplied(chatId: 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.

Return TdApi.Message Describes a message.