telegram_ban_user
Ban users from Telegram groups or channels by specifying chat ID, user ID, and optional ban duration. Requires bot administrator permissions to enforce moderation.
Instructions
그룹/채널에서 특정 사용자를 차단합니다. (봇이 관리자 권한 필요)
Args: params (BanUserInput): - chat_id (int): 그룹/채널 ID - user_id (int): 차단할 사용자 ID - until_date (int): 차단 해제 Unix 타임스탬프 (None=영구 차단)
Returns: str: 차단 성공 메시지 또는 에러
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"params": "<params>"
},
"name": "telegram_ban_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |