List of all members | Public Fields | Public Types | Public Instance Methods | Static Public Attributes
createVideoChat Class Referencefinal

Inherits Function.

Description

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

Returns object_ptr<GroupCallId>.

Public Fields

int53 chat_id_
 Chat identifier, 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 supposed 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.
 

Public Types

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

Public Instance Methods

 createVideoChat ()
 
 createVideoChat (int53 chat_id_, string const &title_, int32 start_date_)
 
std::int32_t get_id () const final
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ createVideoChat() [1/2]

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

Returns object_ptr<GroupCallId>.

◆ createVideoChat() [2/2]

createVideoChat ( int53  chat_id_,
string const &  title_,
int32  start_date_ 
)

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

Returns object_ptr<GroupCallId>.

Parameters
[in]chat_id_Chat identifier, 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 supposed 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.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

◆ store()

void 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 TlObject.


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