optns https://w1.nandbox.net/ban-chat-member
Use this method to ban a Chat Member from accessing Chat. On success, ChatMember is returned with the status "banned". A ban is a blacklist; the user will not be able to join Chat again.
Field | Type | Required | Description |
---|---|---|---|
method | String | Yes | "banChatMember" |
chat_id | String | Yes | Unique identifier for Group or Channel where member belongs to. |
user_id | String | Yes | Unique identifier for this user member. |