API Reference

unbanChatMember

Use this method to unban a Chat Member from accessing Chat. On success, ChatMember is returned with the status "Active". If Unban is removed from the blacklist, the user will be able to join Chat once again.

FieldTypeRequiredDescription
methodStringYes"unbanChatMember"
chat_idStringYesUnique identifier for Group or Channel where member used to belong to.
user_idStringYesUnique identifier for the banned user.
Body Params
string
required
Defaults to unbanChatMember
string
required
Defaults to 48774123855526985
string
required
Defaults to 97841144102365478
Response

Language
Request
Choose an example:
text/plain