libtd-ktx / kotlinx.telegram.coroutines / getMessageLocally
getMessageLocally
suspend fun TelegramFlow.getMessageLocally(chatId: Long, messageId: Long): Message
Suspend function, which returns information about a message, if it is available locally without sending network request. This is an offline request.
Parameters
chatId - Identifier of the chat the message belongs to.
messageId - Identifier of the message to get.
Return Message Describes a message.