v1

latestOpenAPI 3.0.02026-07-1374103805.5 KB

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.

post/setChatPermissions

Request body

Response

okboolean required
resultboolean required