Class SetChatPermissionsMethod.
Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members admin rights. Returns True on success.
| see | |
|---|---|
| package | Default | 
create(integer|string $chatId, \TgBotApi\BotApiBase\Type\ChatPermissionsType $permissions) : \TgBotApi\BotApiBase\Method\SetChatPermissionsMethod
integerstring
\TgBotApi\BotApiBase\Type\ChatPermissionsType
\TgBotApi\BotApiBase\Method\SetChatPermissionsMethod$chatId : integer | string