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

Inherits InternalLinkType.

Description

The link is a link to a live story. Call searchPublicChat with the given chat username, then getChatActiveStories to get active stories in the chat, then find a live story among active stories of the chat, and then joinLiveStory to join the live story.

Public Member Functions

 internalLinkTypeLiveStory ()
 internalLinkTypeLiveStory (string const &story_poster_username_)
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

string story_poster_username_
 Username of the poster of the story.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ internalLinkTypeLiveStory() [1/2]

internalLinkTypeLiveStory ( )

The link is a link to a live story. Call searchPublicChat with the given chat username, then getChatActiveStories to get active stories in the chat, then find a live story among active stories of the chat, and then joinLiveStory to join the live story.

◆ internalLinkTypeLiveStory() [2/2]

internalLinkTypeLiveStory ( string const & story_poster_username_)
explicit

The link is a link to a live story. Call searchPublicChat with the given chat username, then getChatActiveStories to get active stories in the chat, then find a live story among active stories of the chat, and then joinLiveStory to join the live story.

Parameters
[in]story_poster_username_Username of the poster of the story.

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: