libtd-ktx / kotlinx.telegram.coroutines / leaveChat
leaveChat
suspend fun
TelegramFlow
.leaveChat(chatId:
Long
):
Unit
Suspend function, which removes current user from chat members. Private and secret chats can’t be left using this method.
Parameters
chatId
- Chat identifier.