ChatKtx.close - libtd-ktx

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


libtd-ktx / kotlinx.telegram.extensions / ChatKtx / close

close

open suspend fun Chat.close(): 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.