openMessageContent - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / openMessageContent

openMessageContent

suspend fun TelegramFlow.openMessageContent(chatId: Long, messageId: Long): Unit

Suspend function, which informs TDLib that the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message). An updateMessageContentOpened update will be generated if something has changed.

Parameters

chatId - Chat identifier of the message.

messageId - Identifier of the message with the opened content.