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

Inherits InternalLinkType.

Description

The link is a link to a video chat. Call searchPublicChat with the given chat username, and then joinGoupCall with the given invite hash to process the link.

Public Fields

string chat_username_
 Username of the chat with the video chat.
 
string invite_hash_
 If non-empty, invite hash to be used to join the video chat without being muted by administrators.
 
bool is_live_stream_
 True, if the video chat is expected to be a live stream in a channel or a broadcast group.
 

Public Instance Methods

 internalLinkTypeVideoChat ()
 
 internalLinkTypeVideoChat (string const &chat_username_, string const &invite_hash_, bool is_live_stream_)
 
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 = -2020149068
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ internalLinkTypeVideoChat() [1/2]

The link is a link to a video chat. Call searchPublicChat with the given chat username, and then joinGoupCall with the given invite hash to process the link.

◆ internalLinkTypeVideoChat() [2/2]

internalLinkTypeVideoChat ( string const &  chat_username_,
string const &  invite_hash_,
bool  is_live_stream_ 
)

The link is a link to a video chat. Call searchPublicChat with the given chat username, and then joinGoupCall with the given invite hash to process the link.

Parameters
[in]chat_username_Username of the chat with the video chat.
[in]invite_hash_If non-empty, invite hash to be used to join the video chat without being muted by administrators.
[in]is_live_stream_True, if the video chat is expected to be a live stream in a channel or a broadcast group.

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: