tgbot-cpp
Loading...
Searching...
No Matches
Birthdate.h
Go to the documentation of this file.
1#ifndef TGBOT_BIRTHDATE_H
2#define TGBOT_BIRTHDATE_H
3
4#include <cstdint>
5#include <memory>
6
7namespace TgBot {
8
12class Birthdate {
13
14public:
15 typedef std::shared_ptr<Birthdate> Ptr;
16
20 std::uint8_t day;
21
25 std::uint8_t month;
26
30 std::uint16_t year;
31};
32}
33
34#endif //TGBOT_BIRTHDATE_H
std::shared_ptr< Birthdate > Ptr
Definition Birthdate.h:15
std::uint8_t month
Month of the user's birth; 1-12.
Definition Birthdate.h:25
std::uint16_t year
Optional. Year of the user's birth.
Definition Birthdate.h:30
std::uint8_t day
Day of the user's birth; 1-31.
Definition Birthdate.h:20
Definition Api.h:40