createSecretChat - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / createSecretChat

createSecretChat

suspend fun TelegramFlow.createSecretChat(secretChatId: Int): Chat

Suspend function, which returns an existing chat corresponding to a known secret chat.

Parameters

secretChatId - Secret chat identifier.

Return Chat A chat. (Can be a private chat, basic group, supergroup, or secret chat.)