unbanChatMember

Unban a member from a chat.

Parameters

chatId: ID

The identifier of the chat. Must be a supergroup.

memberId: ID

The identifier of the member.

Result

void

Syntax

await client.unbanChatMember(chatId, memberId);