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

This object represents a service message about General forum topic hidden in the chat. Currently holds no information. https://core.telegram.org/bots/api#generalforumtopichidden. More...

#include <GeneralForumTopicHidden.hpp>

Public Member Functions

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

Detailed Description

This object represents a service message about General forum topic hidden in the chat. Currently holds no information. https://core.telegram.org/bots/api#generalforumtopichidden.

Definition at line 8 of file GeneralForumTopicHidden.hpp.

Constructor & Destructor Documentation

◆ GeneralForumTopicHidden() [1/2]

tgbotxx::GeneralForumTopicHidden::GeneralForumTopicHidden ( )
default

◆ GeneralForumTopicHidden() [2/2]

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

Definition at line 10 of file GeneralForumTopicHidden.hpp.

Member Function Documentation

◆ fromJson()

void tgbotxx::GeneralForumTopicHidden::fromJson ( [[maybe_unused] ] const nl::json &  json)
inline

Deserializes this object from JSON.

Definition at line 22 of file GeneralForumTopicHidden.hpp.

◆ toJson()

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

Serializes this object to JSON.

Returns
JSON representation of this object

Definition at line 16 of file GeneralForumTopicHidden.hpp.


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