Restrict a user with a custom rights mask
restrict_userSet restrictions on a Telegram user in a chat, specifying actions they cannot perform like sending messages, media, gifs, or inviting users.
Instructions
Set specific restrictions. true for a field means the user CANNOT do that action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | ||
| user | Yes | ||
| rights | Yes | ||
| accountId | No |