mtx::events::msc2545::ImagePack::PackDescription struct

Information about an image pack.

Public functions

auto is_emoji() const -> bool
If this can be used as an emoji/emojicon.
auto is_sticker() const -> bool
If this can be used as a sticker.

Public variables

std::string display_name
The name of this pack to be presented to the user.
std::string avatar_url
An optional avatar/preview of the pack.
std::string attribution
Attribution for this pack, i.e. where it is from originally.
std::bitset<2> usage
What the images are used for. Indexed by PackUsage.