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

Inherits LinkPreviewType.

Description

The link is a link to a video chat.

Public Member Functions

 linkPreviewTypeVideoChat ()
 linkPreviewTypeVideoChat (object_ptr< chatPhoto > &&photo_, bool is_live_stream_, bool joins_as_speaker_)
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

bool is_live_stream_
 True, if the video chat is expected to be a live stream in a channel or a broadcast group.
bool joins_as_speaker_
 True, if the user can use the link to join the video chat without being muted by administrators.
object_ptr< chatPhoto > photo_
 Photo of the chat with the video chat; may be null if none.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ linkPreviewTypeVideoChat() [1/2]

linkPreviewTypeVideoChat ( )

The link is a link to a video chat.

◆ linkPreviewTypeVideoChat() [2/2]

linkPreviewTypeVideoChat ( object_ptr< chatPhoto > && photo_,
bool is_live_stream_,
bool joins_as_speaker_ )

The link is a link to a video chat.

Parameters
[in]photo_Photo of the chat with the video chat; may be null if none.
[in]is_live_stream_True, if the video chat is expected to be a live stream in a channel or a broadcast group.
[in]joins_as_speaker_True, if the user can use the link to join the video chat without being muted by administrators.

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: