tgbot-cpp
Loading...
Searching...
No Matches
TgBot::UniqueGiftColors Struct Reference

This object contains information about the color scheme for a user's name, message replies and link previews based on a unique gift. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<UniqueGiftColors>

Public Attributes

std::string modelCustomEmojiId { }
 Custom emoji identifier of the unique gift's model.
std::string symbolCustomEmojiId { }
 Custom emoji identifier of the unique gift's symbol.
std::int32_t lightThemeMainColor { }
 Main color used in light themes; RGB format.
std::vector< std::int32_t > lightThemeOtherColors { }
 List of 1-3 additional colors used in light themes; RGB format.
std::int32_t darkThemeMainColor { }
 Main color used in dark themes; RGB format.
std::vector< std::int32_t > darkThemeOtherColors { }
 List of 1-3 additional colors used in dark themes; RGB format.

Detailed Description

This object contains information about the color scheme for a user's name, message replies and link previews based on a unique gift.

Definition at line 14456 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 14457 of file Types.h.

Member Data Documentation

◆ darkThemeMainColor

std::int32_t TgBot::UniqueGiftColors::darkThemeMainColor { }

Main color used in dark themes; RGB format.

Definition at line 14482 of file Types.h.

◆ darkThemeOtherColors

std::vector<std::int32_t> TgBot::UniqueGiftColors::darkThemeOtherColors { }

List of 1-3 additional colors used in dark themes; RGB format.

Definition at line 14487 of file Types.h.

◆ lightThemeMainColor

std::int32_t TgBot::UniqueGiftColors::lightThemeMainColor { }

Main color used in light themes; RGB format.

Definition at line 14472 of file Types.h.

◆ lightThemeOtherColors

std::vector<std::int32_t> TgBot::UniqueGiftColors::lightThemeOtherColors { }

List of 1-3 additional colors used in light themes; RGB format.

Definition at line 14477 of file Types.h.

◆ modelCustomEmojiId

std::string TgBot::UniqueGiftColors::modelCustomEmojiId { }

Custom emoji identifier of the unique gift's model.

Definition at line 14462 of file Types.h.

◆ symbolCustomEmojiId

std::string TgBot::UniqueGiftColors::symbolCustomEmojiId { }

Custom emoji identifier of the unique gift's symbol.

Definition at line 14467 of file Types.h.


The documentation for this struct was generated from the following file: