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

This object describes the way a background is filled based on the selected colors. Currently, it can be one of BackgroundFillSolid BackgroundFillGradient BackgroundFillFreeformGradient. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<BackgroundFill>

Public Attributes

std::variant< std::shared_ptr< BackgroundFillSolid >, std::shared_ptr< BackgroundFillGradient >, std::shared_ptr< BackgroundFillFreeformGradient > > value

Detailed Description

This object describes the way a background is filled based on the selected colors. Currently, it can be one of BackgroundFillSolid BackgroundFillGradient BackgroundFillFreeformGradient.

Definition at line 608 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::BackgroundFill::Ptr = std::shared_ptr<BackgroundFill>

Definition at line 609 of file Types.h.

Member Data Documentation

◆ value

std::variant<std::shared_ptr<BackgroundFillSolid>, std::shared_ptr<BackgroundFillGradient>, std::shared_ptr<BackgroundFillFreeformGradient> > TgBot::BackgroundFill::value

Definition at line 613 of file Types.h.


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