setPinnedChats - libtd-ktx

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


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.