deleteChatMemberMessages

Delete all messages sent by a specific member of a chat. User-only.

Parameters

chatId: ID

The identifier of the chat. Must be a supergroup.

memberId: ID

The identifier of the member.

Result

void

Syntax

await client.deleteChatMemberMessages(chatId, memberId);