libtd-ktx / kotlinx.telegram.coroutines / setChatChatList
setChatChatList
suspend fun TelegramFlow.setChatChatList(chatId: Long, chatList: ChatList?): Unit
Suspend function, which moves a chat to a different chat list. Current chat list of the chat must ne non-null.
Parameters
chatId - Chat identifier.
chatList - New chat list of the chat.