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

Inherits Function.

Description

Joins an active video chat. Returns join response payload for tgcalls.

Returns object_ptr<Text>.

Public Fields

int32 group_call_id_
 Group call identifier.
 
object_ptr< MessageSenderparticipant_id_
 Identifier of a group call participant, which will be used to join the call; pass null to join as self; video chats only.
 
object_ptr< groupCallJoinParametersjoin_parameters_
 Parameters to join the call.
 
string invite_hash_
 Invite hash as received from internalLinkTypeVideoChat.
 

Public Types

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

Public Instance Methods

 joinVideoChat ()
 
 joinVideoChat (int32 group_call_id_, object_ptr< MessageSender > &&participant_id_, object_ptr< groupCallJoinParameters > &&join_parameters_, string const &invite_hash_)
 
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 = 1322989999
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ joinVideoChat() [1/2]

Default constructor for a function, which joins an active video chat. Returns join response payload for tgcalls.

Returns object_ptr<Text>.

◆ joinVideoChat() [2/2]

joinVideoChat ( int32  group_call_id_,
object_ptr< MessageSender > &&  participant_id_,
object_ptr< groupCallJoinParameters > &&  join_parameters_,
string const &  invite_hash_ 
)

Creates a function, which joins an active video chat. Returns join response payload for tgcalls.

Returns object_ptr<Text>.

Parameters
[in]group_call_id_Group call identifier.
[in]participant_id_Identifier of a group call participant, which will be used to join the call; pass null to join as self; video chats only.
[in]join_parameters_Parameters to join the call.
[in]invite_hash_Invite hash as received from internalLinkTypeVideoChat.

Method Documentation

◆ 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: