Skip to content

set permissions

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

libtd-ktx / kotlinx.telegram.extensions / ChatKtx / setPermissions

setPermissions

open suspend fun Chat.setPermissions(permissions: ChatPermissions?): Unit

Suspend function, which changes the chat members permissions. Supported only for basic groups and supergroups. Requires canRestrictMembers administrator right.

Parameters

permissions - New non-administrator members permissions in the chat.

Clone this wiki locally