closeSecretChat - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / closeSecretChat

closeSecretChat

suspend fun TelegramFlow.closeSecretChat(secretChatId: Int): Unit

Suspend function, which closes a secret chat, effectively transferring its state to secretChatStateClosed.

Parameters

secretChatId - Secret chat identifier.