Skip to content

open content

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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

openContent

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

Clone this wiki locally