SetChatPermissionsRequest

fun SetChatPermissionsRequest(chatId: Int, permissions: ChatPermissions)

Parameters

chatId

Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)

permissions

New default chat permissions