-
Notifications
You must be signed in to change notification settings - Fork 11
toggle is pinned
Alexey Kravtsov edited this page May 19, 2020
·
1 revision
libtd-ktx / kotlinx.telegram.extensions / ChatKtx / toggleIsPinned
open suspend fun
Chat
.toggleIsPinned(isPinned:
Boolean
):
Unit
Suspend function, which changes the pinned state of a chat. You can pin up to GetOption("pinned_chat_count_max")/GetOption("pinned_archived_chat_count_max") non-secret chats and the same number of secret chats in the main/archive chat list.
isPinned
- New value of isPinned.