Skip to main content
Version: 0.38.62

RPCCurrentUserUpdateDispatchData

Hierarchy

  • Pick<APIUser, avatar | discriminator | global_name | id | username>
  • Required<Pick<APIUser, avatar_decoration_data | bot | flags | premium_type>>
    • RPCCurrentUserUpdateDispatchData

Index

Properties

inheritedavatar

avatar: null | string

inheritedavatar_decoration_data

avatar_decoration_data: null | APIAvatarDecorationData

inheritedbot

bot: boolean

Whether the user belongs to an OAuth2 application

inheriteddiscriminator

discriminator: string

The user's Discord-tag

inheritedflags

flags: UserFlags

inheritedglobal_name

global_name: null | string

The user's display name, if it is set

inheritedid

id: string

The user's id

inheritedpremium_type

premium_type: UserPremiumType

The type of Nitro subscription on a user's account

@remarks

This field will return 0 for applications that have not been approved for the OAuth2Scopes.IdentifyPremium scope.

@see

inheritedusername

username: string

The user's username, not unique across the platform