libtd-ktx / kotlinx.telegram.extensions / MessageKtx / getLocally
getLocally
open suspend fun Message.getLocally(chatId: 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.
Return TdApi.Message Describes a message.