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

The background is a gradient fill. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<BackgroundFillGradient>

Public Attributes

std::string type { TYPE }
 Type of the background fill, always “gradient”
std::int32_t topColor { }
 Top color of the gradient in the RGB24 format.
std::int32_t bottomColor { }
 Bottom color of the gradient in the RGB24 format.
std::int32_t rotationAngle { }
 Clockwise rotation angle of the background fill in degrees; 0-359.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

The background is a gradient fill.

Definition at line 647 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 648 of file Types.h.

Member Data Documentation

◆ bottomColor

std::int32_t TgBot::BackgroundFillGradient::bottomColor { }

Bottom color of the gradient in the RGB24 format.

Definition at line 665 of file Types.h.

◆ rotationAngle

std::int32_t TgBot::BackgroundFillGradient::rotationAngle { }

Clockwise rotation angle of the background fill in degrees; 0-359.

Definition at line 670 of file Types.h.

◆ topColor

std::int32_t TgBot::BackgroundFillGradient::topColor { }

Top color of the gradient in the RGB24 format.

Definition at line 660 of file Types.h.

◆ TYPE

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

Definition at line 650 of file Types.h.

◆ type

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

Type of the background fill, always “gradient”

Definition at line 655 of file Types.h.


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