Struct discord::EditProfile [] [src]

pub struct EditProfile(_);

Patch content for the edit_profile call.

Methods

impl EditProfile
[src]

Edit the user's username. Must be between 2 and 32 characters long.

Edit the user's avatar. Use None to remove the avatar.

Provide the user's current password for authentication. Does not apply to bot accounts, and must be supplied for user accounts.

Edit the user's email address. Does not apply to bot accounts.

Edit the user's password. Does not apply to bot accounts.