joinChat - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / joinChat

joinChat

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

Suspend function, which adds current user as a new member to a chat. Private and secret chats can’t be joined using this method.

Parameters

chatId - Chat identifier.