Ban Telegram Chat Member
Category: Action
Description: Ban a user from a Telegram chat, preventing them from rejoining until they are unbanned.
warning
The bot must be an administrator in the chat and have the appropriate administrator rights.
Related Modules
Default
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| Chat ID | number | true | The chat ID to ban the user from |
| User ID | number | true | The user ID to ban |
| Ban Until Date | number | false | An optional date and time when the user will be unbanned |
| Revoke Messages? | boolean | false | whether all message from this user will be deleted from the chat |
Output Event Triggers
| Name |
|---|
| Success |
| Error |