removeProfilePhoto

Remove the profile video of the current user or a bot managed by the current user.

Parameters

botId?: ID

The identifier of a bot managed by the current user. If specified, the profile photo of the bot will be removed. User-only.

Result

void

Syntax

// Optional parameters.
// Any of the optional parameters can be omitted.
await client.removeProfilePhoto( { botId });