summaryrefslogtreecommitdiff
path: root/include/tgbot/types/MessageAutoDeleteTimerChanged.h
blob: 87adcd5dcfc4ad736bdad0f78056b678602494a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef TGBOT_CPP_MESSAGEAUTODELETETIMERCHANGED_H
#define TGBOT_CPP_MESSAGEAUTODELETETIMERCHANGED_H

#include <cstdint>
#include <memory>

namespace TgBot {

/**
 * @brief This object represents a service message about a change in auto-delete timer settings.
 *
 * @ingroup types
 */
class MessageAutoDeleteTimerChanged {

public:
    typedef std::shared_ptr<MessageAutoDeleteTimerChanged> Ptr;

    /**
     * @brief New auto-delete time for messages in the chat
     */
    std::int32_t messageAutoDeleteTime;
};
}

#endif //TGBOT_CPP_MESSAGEAUTODELETETIMERCHANGED_H