getChatPinnedMessage - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / getChatPinnedMessage

getChatPinnedMessage

suspend fun TelegramFlow.getChatPinnedMessage(chatId: Long): Message

Suspend function, which returns information about a pinned chat message.

Parameters

chatId - Identifier of the chat the message belongs to.

Return Message Describes a message.