DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
DiscordCoreAPI::User Class Reference

A single User. More...

#include <UserEntities.hpp>

Inheritance diagram for DiscordCoreAPI::User:
[legend]

Public Data Members

int32_t accentColor { 0 }
 The user 's banner color encoded as an integer representation of hexadecimal color code.
 
IconHash banner {}
 The user's banner hash.
 
std::string email {}
 The user's email.
 
std::string locale {}
 The user' s chosen language option.
 
PremiumType premiumType {}
 The type of Nitro subscription on a user ' s account.
 
- Public Data Members inherited from DiscordCoreAPI::UserData
IconHash avatar {}
 The user's avatar hash.
 
StringWrapper discriminator {}
 The user's 4-digit discord-tag identify.
 
int32_t flags {}
 The public flags on a user' s account.
 
StringWrapper userName {}
 The user's userName, not unique across the platform identify.
 
- Public Data Members inherited from DiscordCoreAPI::DiscordEntity
Snowflake id {}
 

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::DiscordEntity
std::string getCreatedAtTimestamp (TimeFormat timeFormat)
 Converts the snowflake-id into a time and date stamp. More...
 

The documentation for this class was generated from the following files: