tgbotxx  1.1.6.9
Telegram Bot C++ Library
tgbotxx::ForumTopicEdited Struct Reference

This object represents a service message about an edited forum topic. https://core.telegram.org/bots/api#forumtopicedited. More...

#include <ForumTopicEdited.hpp>

Public Member Functions

 ForumTopicEdited ()=default
 
 ForumTopicEdited (const nl::json &json)
 
nl::json toJson () const
 Serializes this object to JSON. More...
 
void fromJson (const nl::json &json)
 Deserializes this object from JSON. More...
 

Public Attributes

std::string name
 Optional. New name of the topic, if it was edited. More...
 
std::string iconCustomEmojiId
 Optional. New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed. More...
 

Detailed Description

This object represents a service message about an edited forum topic. https://core.telegram.org/bots/api#forumtopicedited.

Definition at line 7 of file ForumTopicEdited.hpp.

Constructor & Destructor Documentation

◆ ForumTopicEdited() [1/2]

tgbotxx::ForumTopicEdited::ForumTopicEdited ( )
default

◆ ForumTopicEdited() [2/2]

tgbotxx::ForumTopicEdited::ForumTopicEdited ( const nl::json &  json)
inlineexplicit

Definition at line 9 of file ForumTopicEdited.hpp.

Member Function Documentation

◆ fromJson()

void tgbotxx::ForumTopicEdited::fromJson ( const nl::json &  json)
inline

Deserializes this object from JSON.

Definition at line 30 of file ForumTopicEdited.hpp.

◆ toJson()

nl::json tgbotxx::ForumTopicEdited::toJson ( ) const
inline

Serializes this object to JSON.

Returns
JSON representation of this object

Definition at line 22 of file ForumTopicEdited.hpp.

Member Data Documentation

◆ iconCustomEmojiId

std::string tgbotxx::ForumTopicEdited::iconCustomEmojiId

Optional. New identifier of the custom emoji shown as the topic icon, if it was edited; an empty string if the icon was removed.

Definition at line 17 of file ForumTopicEdited.hpp.

◆ name

std::string tgbotxx::ForumTopicEdited::name

Optional. New name of the topic, if it was edited.

Definition at line 14 of file ForumTopicEdited.hpp.


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