tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::createVideoChat Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::createVideoChat:
td::td_api::Function td::TlObject

Public Types

using ReturnType = object_ptr< groupCallId >
 Typedef for the type returned by the function.
 

Public Member Functions

 createVideoChat ()
 
 createVideoChat (int53 chat_id_, string const &title_, int32 start_date_, bool is_rtmp_stream_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

int53 chat_id_
 Identifier of a chat in which the video chat will be created.
 
string title_
 Group call title; if empty, chat title will be used.
 
int32 start_date_
 Point in time (Unix timestamp) when the group call is expected to be started by an administrator; 0 to start the video chat immediately. The date must be at least 10 seconds and at most 8 days in the future.
 
bool is_rtmp_stream_
 Pass true to create an RTMP stream instead of an ordinary video chat.
 

Static Public Attributes

static const std::int32_t ID = 2124715405
 Identifier uniquely determining a type of the object.
 

Detailed Description

Creates a video chat (a group call bound to a chat); for basic groups, supergroups and channels only; requires can_manage_video_chats administrator right.

Returns object_ptr<GroupCallId>.

Definition at line 94454 of file td_api.h.

Member Typedef Documentation

◆ ReturnType

Typedef for the type returned by the function.

Definition at line 94496 of file td_api.h.

Constructor & Destructor Documentation

◆ createVideoChat() [1/2]

td::td_api::createVideoChat::createVideoChat ( )

Default constructor for a function, which creates a video chat (a group call bound to a chat); for basic groups, supergroups and channels only; requires can_manage_video_chats administrator right.

Returns object_ptr<GroupCallId>.

◆ createVideoChat() [2/2]

td::td_api::createVideoChat::createVideoChat ( int53  chat_id_,
string const &  title_,
int32  start_date_,
bool  is_rtmp_stream_ 
)

Creates a function, which creates a video chat (a group call bound to a chat); for basic groups, supergroups and channels only; requires can_manage_video_chats administrator right.

Returns object_ptr<GroupCallId>.

Parameters
[in]chat_id_Identifier of a chat in which the video chat will be created.
[in]title_Group call title; if empty, chat title will be used.
[in]start_date_Point in time (Unix timestamp) when the group call is expected to be started by an administrator; 0 to start the video chat immediately. The date must be at least 10 seconds and at most 8 days in the future.
[in]is_rtmp_stream_Pass true to create an RTMP stream instead of an ordinary video chat.

Member Function Documentation

◆ store()

void td::td_api::createVideoChat::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ chat_id_

int53 td::td_api::createVideoChat::chat_id_

Identifier of a chat in which the video chat will be created.

Definition at line 94465 of file td_api.h.

◆ ID

const std::int32_t td::td_api::createVideoChat::ID = 2124715405
static

Identifier uniquely determining a type of the object.

Definition at line 94493 of file td_api.h.

◆ is_rtmp_stream_

bool td::td_api::createVideoChat::is_rtmp_stream_

Pass true to create an RTMP stream instead of an ordinary video chat.

Definition at line 94471 of file td_api.h.

◆ start_date_

int32 td::td_api::createVideoChat::start_date_

Point in time (Unix timestamp) when the group call is expected to be started by an administrator; 0 to start the video chat immediately. The date must be at least 10 seconds and at most 8 days in the future.

Definition at line 94469 of file td_api.h.

◆ title_

string td::td_api::createVideoChat::title_

Group call title; if empty, chat title will be used.

Definition at line 94467 of file td_api.h.


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