-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #250 from llnulldisk/master
Update to Bot API 6.4
- Loading branch information
Showing
16 changed files
with
455 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#ifndef TGBOT_FORUMTOPICEDITED_H | ||
#define TGBOT_FORUMTOPICEDITED_H | ||
|
||
#include <memory> | ||
#include <string> | ||
|
||
namespace TgBot { | ||
|
||
/** | ||
* @brief This object represents a service message about an edited forum topic. | ||
* | ||
* @ingroup types | ||
*/ | ||
class ForumTopicEdited { | ||
public: | ||
typedef std::shared_ptr<ForumTopicEdited> Ptr; | ||
|
||
/** | ||
* @brief Optional. New name of the topic, if it was edited | ||
*/ | ||
std::string name; | ||
|
||
/** | ||
* @brief Optional. New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed | ||
*/ | ||
std::string iconCustomEmojiId; | ||
}; | ||
} | ||
|
||
#endif //TGBOT_FORUMTOPICEDITED_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#ifndef TGBOT_GENERALFORUMTOPICHIDDEN_H | ||
#define TGBOT_GENERALFORUMTOPICHIDDEN_H | ||
|
||
#include <memory> | ||
|
||
namespace TgBot { | ||
|
||
/** | ||
* @brief This object represents a service message about General forum topic hidden in the chat. | ||
* | ||
* Currently holds no information. | ||
* | ||
* @ingroup types | ||
*/ | ||
class GeneralForumTopicHidden { | ||
public: | ||
typedef std::shared_ptr<GeneralForumTopicHidden> Ptr; | ||
}; | ||
} | ||
|
||
#endif //TGBOT_GENERALFORUMTOPICHIDDEN_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#ifndef TGBOT_GENERALFORUMTOPICUNHIDDEN_H | ||
#define TGBOT_GENERALFORUMTOPICUNHIDDEN_H | ||
|
||
#include <memory> | ||
|
||
namespace TgBot { | ||
|
||
/** | ||
* @brief This object represents a service message about General forum topic unhidden in the chat. | ||
* | ||
* Currently holds no information. | ||
* | ||
* @ingroup types | ||
*/ | ||
class GeneralForumTopicUnhidden { | ||
public: | ||
typedef std::shared_ptr<GeneralForumTopicUnhidden> Ptr; | ||
}; | ||
} | ||
|
||
#endif //TGBOT_GENERALFORUMTOPICUNHIDDEN_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.