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

Formatted date and time. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<RichTextDateTime>

Public Attributes

std::string type { TYPE }
 Type of the rich text, always “date_time”
std::shared_ptr< RichTexttext { }
 The text.
std::int32_t unixTime { }
 The Unix time associated with the entity.
std::string dateTimeFormat { }
 The string that defines the formatting of the date and time. See date-time entity formatting for more details.

Static Public Attributes

static TGBOT_API const std::string TYPE

Detailed Description

Formatted date and time.

Definition at line 12648 of file Types.h.

Member Typedef Documentation

◆ Ptr

Definition at line 12649 of file Types.h.

Member Data Documentation

◆ dateTimeFormat

std::string TgBot::RichTextDateTime::dateTimeFormat { }

The string that defines the formatting of the date and time. See date-time entity formatting for more details.

Definition at line 12672 of file Types.h.

◆ text

std::shared_ptr<RichText> TgBot::RichTextDateTime::text { }

The text.

Definition at line 12661 of file Types.h.

◆ TYPE

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

Definition at line 12651 of file Types.h.

◆ type

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

Type of the rich text, always “date_time”

Definition at line 12656 of file Types.h.

◆ unixTime

std::int32_t TgBot::RichTextDateTime::unixTime { }

The Unix time associated with the entity.

Definition at line 12666 of file Types.h.


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