dpp::partial_emoji
message.h
bool bool dpp::partial_emoji::animated animated dpp::partial_emoji::animated {false}

Is the emoji animated?

Only applies to custom emojis.

dpp::snowflake dpp::snowflake dpp::partial_emoji::id id dpp::partial_emoji::id {0}

The emoji ID value for emojis that are custom ones belonging to a guild.

The same rules apply as with other emojis, that the bot must be on the guild where the emoji resides and it must be available for use (e.g. not disabled due to lack of boosts, etc)

std::string std::string dpp::partial_emoji::name name dpp::partial_emoji::name {}

The name of the emoji.

For built in unicode emojis, set this to the actual unicode value of the emoji e.g. "😄" and not for example ":smile:"

An emoji reference for a component (select menus included) or a poll.

To set an emoji on your button or poll answer, you must set one of either the name or id fields. The easiest way for buttons is to use the dpp::component::set_emoji method.

This is a very scaled down version of dpp::emoji, we advise that you refrain from using this.

bool
dpp::partial_emoji
name
id
animated
dpp::snowflake
value
std::basic_string< Char >
std::string
uint64_t
- dpp::partial_emoji
  animated
- dpp::partial_emoji
  id
- dpp::partial_emoji
  name