Ban Chat Member

Use this method to ban a Chat Member from accessing Chat. On success, ChatMember is returned with status “banned”. Ban is a black list, user will not be able to join Chat again.

Field TypeRequiredDescription
methodStringYes“banChatMember”
chat_idStringYesUnique identifier for Group or Channel where member belongs to.
user_idStringYesUnique identifier for this user member.

 

 

JSON Example:

{

    method: “banChatMember”,

    chat_id: “4522291356145774”,

    user_id: “90089584758972053”

}

 

Was this helpful to you?