TDLib
Loading...
Searching...
No Matches
joinVideoChat Class Referencefinal

Inherits Function.

Description

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

Returns object_ptr<Text>.

Public Types

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

Public Member Functions

 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 Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

int32 group_call_id_
 Group call identifier.
string invite_hash_
 Invite hash as received from internalLinkTypeVideoChat.
object_ptr< groupCallJoinParameters > join_parameters_
 Parameters to join the call.
object_ptr< MessageSender > participant_id_
 Identifier of a group call participant, which will be used to join the call; pass null to join as self.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ joinVideoChat() [1/2]

joinVideoChat ( )

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.
[in]join_parameters_Parameters to join the call.
[in]invite_hash_Invite hash as received from internalLinkTypeVideoChat.

Member Function 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: