banChatMember

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.

FieldTypeRequiredDescription
methodStringYes"banChatMember"
chat_idStringYesUnique identifier for Group or Channel where member belongs to.
user_idStringYesUnique identifier for this user member.
Language