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

This object describes the type of a background. Currently, it can be one of BackgroundTypeFill BackgroundTypeWallpaper BackgroundTypePattern BackgroundTypeChatTheme. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<BackgroundType>

Public Attributes

std::variant< std::shared_ptr< BackgroundTypeFill >, std::shared_ptr< BackgroundTypeWallpaper >, std::shared_ptr< BackgroundTypePattern >, std::shared_ptr< BackgroundTypeChatTheme > > value

Detailed Description

This object describes the type of a background. Currently, it can be one of BackgroundTypeFill BackgroundTypeWallpaper BackgroundTypePattern BackgroundTypeChatTheme.

Definition at line 704 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 705 of file Types.h.

Member Data Documentation

◆ value

std::variant<std::shared_ptr<BackgroundTypeFill>, std::shared_ptr<BackgroundTypeWallpaper>, std::shared_ptr<BackgroundTypePattern>, std::shared_ptr<BackgroundTypeChatTheme> > TgBot::BackgroundType::value

Definition at line 709 of file Types.h.


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