tgbot-cpp
Loading...
Searching...
No Matches
Story.h
Go to the documentation of this file.
1#ifndef TGBOT_STORY_H
2#define TGBOT_STORY_H
3
4#include "tgbot/types/Chat.h"
5
6#include <cstdint>
7#include <memory>
8
9namespace TgBot {
10
16class Story {
17
18public:
19 typedef std::shared_ptr<Story> Ptr;
20
25
29 std::int32_t id;
30};
31}
32
33#endif //TGBOT_STORY_H
std::shared_ptr< Chat > Ptr
Definition Chat.h:31
This object represents a story.
Definition Story.h:16
std::int32_t id
Unique identifier for the story in the chat.
Definition Story.h:29
Chat::Ptr chat
Chat that posted the story.
Definition Story.h:24
std::shared_ptr< Story > Ptr
Definition Story.h:19
Definition Api.h:40