libtd-ktx / kotlinx.telegram.coroutines / unpinChatMessage
unpinChatMessage
suspend fun TelegramFlow.unpinChatMessage(chatId: Long): Unit
Suspend function, which removes the pinned message from a chat; requires canPinMessages rights in the group or channel.
Parameters
chatId - Identifier of the chat.