Skip to content

changeAccountAvatar

api.changeAccountAvatar(avatarSource)

Parameters

  • avatarSource AttachmentSource

Return

Promise<ChangeAccountAvatarResponse>

Types

ts
export type ChangeAccountAvatarResponse = "";

Examples

ts
api
    .changeAccountAvatar("./newAvatar.jpg")
    .then(console.log).catch(console.error);