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

The background is a freeform gradient that rotates after every message in the chat. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<BackgroundFillFreeformGradient>

Public Attributes

std::string type { TYPE }
 Type of the background fill, always “freeform_gradient”
std::vector< std::int32_t > colors { }
 A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

The background is a freeform gradient that rotates after every message in the chat.

Definition at line 623 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 624 of file Types.h.

Member Data Documentation

◆ colors

std::vector<std::int32_t> TgBot::BackgroundFillFreeformGradient::colors { }

A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format.

Definition at line 637 of file Types.h.

◆ TYPE

TGBOT_API const std::string TgBot::BackgroundFillFreeformGradient::TYPE
static

Definition at line 626 of file Types.h.

◆ type

std::string TgBot::BackgroundFillFreeformGradient::type { TYPE }

Type of the background fill, always “freeform_gradient”

Definition at line 631 of file Types.h.


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