closeChat - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / closeChat

closeChat

suspend fun TelegramFlow.closeChat(chatId: Long): Unit

Suspend function, which informs TDLib that the chat is closed by the user. Many useful activities depend on the chat being opened or closed.

Parameters

chatId - Chat identifier.