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

Describes the birthdate of a user. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<Birthdate>

Public Attributes

std::int32_t day { }
 Day of the user's birth; 1-31.
std::int32_t month { }
 Month of the user's birth; 1-12.
std::optional< std::int32_t > year { }
 Optional. Year of the user's birth.

Detailed Description

Describes the birthdate of a user.

Definition at line 855 of file Types.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 856 of file Types.h.

Member Data Documentation

◆ day

std::int32_t TgBot::Birthdate::day { }

Day of the user's birth; 1-31.

Definition at line 861 of file Types.h.

◆ month

std::int32_t TgBot::Birthdate::month { }

Month of the user's birth; 1-12.

Definition at line 866 of file Types.h.

◆ year

std::optional<std::int32_t> TgBot::Birthdate::year { }

Optional. Year of the user's birth.

Definition at line 871 of file Types.h.


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