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

Inherits Function.

Description

Invites a user to an active group call; for group calls not bound to a chat only. Sends a service message of the type messageGroupCall. The group call can have at most getOption("group_call_participant_count_max") participants.

Returns object_ptr<InviteGroupCallParticipantResult>.

Public Types

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

Public Member Functions

 inviteGroupCallParticipant ()
 inviteGroupCallParticipant (int32 group_call_id_, int53 user_id_, bool is_video_)
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.
bool is_video_
 Pass true if the group call is a video call.
int53 user_id_
 User identifier.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ inviteGroupCallParticipant() [1/2]

inviteGroupCallParticipant ( )

Default constructor for a function, which invites a user to an active group call; for group calls not bound to a chat only. Sends a service message of the type messageGroupCall. The group call can have at most getOption("group_call_participant_count_max") participants.

Returns object_ptr<InviteGroupCallParticipantResult>.

◆ inviteGroupCallParticipant() [2/2]

inviteGroupCallParticipant ( int32 group_call_id_,
int53 user_id_,
bool is_video_ )

Creates a function, which invites a user to an active group call; for group calls not bound to a chat only. Sends a service message of the type messageGroupCall. The group call can have at most getOption("group_call_participant_count_max") participants.

Returns object_ptr<InviteGroupCallParticipantResult>.

Parameters
[in]group_call_id_Group call identifier.
[in]user_id_User identifier.
[in]is_video_Pass true if the group call is a video call.

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: