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

This object represents a service message about a video chat scheduled in the chat. https://core.telegram.org/bots/api#videochatscheduled. More...

#include <VideoChatScheduled.hpp>

Public Member Functions

 VideoChatScheduled ()=default
 
 VideoChatScheduled (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::time_t startDate {}
 Point in time (Unix timestamp) when the video chat is supposed to be started by a chat administrator. More...
 

Detailed Description

This object represents a service message about a video chat scheduled in the chat. https://core.telegram.org/bots/api#videochatscheduled.

Definition at line 7 of file VideoChatScheduled.hpp.

Constructor & Destructor Documentation

◆ VideoChatScheduled() [1/2]

tgbotxx::VideoChatScheduled::VideoChatScheduled ( )
default

◆ VideoChatScheduled() [2/2]

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

Definition at line 9 of file VideoChatScheduled.hpp.

Member Function Documentation

◆ fromJson()

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

Deserializes this object from JSON.

Definition at line 26 of file VideoChatScheduled.hpp.

◆ toJson()

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

Serializes this object to JSON.

Returns
JSON representation of this object

Definition at line 19 of file VideoChatScheduled.hpp.

Member Data Documentation

◆ startDate

std::time_t tgbotxx::VideoChatScheduled::startDate {}

Point in time (Unix timestamp) when the video chat is supposed to be started by a chat administrator.

Definition at line 14 of file VideoChatScheduled.hpp.


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