libtd-ktx / kotlinx.telegram.coroutines / setPinnedChats
setPinnedChats
suspend fun TelegramFlow.setPinnedChats(chatList: ChatList?, chatIds: LongArray?): Unit
Suspend function, which changes the order of pinned chats.
Parameters
chatList - Chat list in which to change the order of pinned chats.
chatIds - The new list of pinned chats.