Inherits Function.
Joins an active group call. Returns join response payload for tgcalls.
Returns object_ptr<Text>.
Public Fields | |
int32 | group_call_id_ |
Group call identifier. | |
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; video chats only. | |
int32 | audio_source_id_ |
Caller audio channel synchronization source identifier; received from tgcalls. | |
string | payload_ |
Group call join payload; received from tgcalls. | |
bool | is_muted_ |
Pass true to join the call with muted microphone. | |
bool | is_my_video_enabled_ |
Pass true if the user's video is enabled. | |
string | invite_hash_ |
If non-empty, invite hash to be used to join the group call without being muted by administrators. | |
Public Types | |
using | ReturnType = object_ptr< text > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
joinGroupCall () | |
joinGroupCall (int32 group_call_id_, object_ptr< MessageSender > &&participant_id_, int32 audio_source_id_, string const &payload_, bool is_muted_, bool is_my_video_enabled_, 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 | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -1043773467 |
Identifier uniquely determining a type of the object. | |
joinGroupCall | ( | ) |
Default constructor for a function, which joins an active group call. Returns join response payload for tgcalls.
Returns object_ptr<Text>.
joinGroupCall | ( | int32 | group_call_id_, |
object_ptr< MessageSender > && | participant_id_, | ||
int32 | audio_source_id_, | ||
string const & | payload_, | ||
bool | is_muted_, | ||
bool | is_my_video_enabled_, | ||
string const & | invite_hash_ | ||
) |
Creates a function, which joins an active group call. Returns join response payload for tgcalls.
Returns object_ptr<Text>.
[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] | audio_source_id_ | Caller audio channel synchronization source identifier; received from tgcalls. |
[in] | payload_ | Group call join payload; received from tgcalls. |
[in] | is_muted_ | Pass true to join the call with muted microphone. |
[in] | is_my_video_enabled_ | Pass true if the user's video is enabled. |
[in] | invite_hash_ | If non-empty, invite hash to be used to join the group call without being muted by administrators. |
|
finalvirtual |