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

Inherits Object.

Description

Contains information about original story that was reposted.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 storyRepostInfo ()
 storyRepostInfo (object_ptr< StoryOrigin > &&origin_, bool is_content_modified_)
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_content_modified_
 True, if story content was modified during reposting; otherwise, story wasn't modified.
object_ptr< StoryOrigin > origin_
 Origin of the story that was reposted.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ storyRepostInfo() [1/2]

storyRepostInfo ( )

Contains information about original story that was reposted.

◆ storyRepostInfo() [2/2]

storyRepostInfo ( object_ptr< StoryOrigin > && origin_,
bool is_content_modified_ )

Contains information about original story that was reposted.

Parameters
[in]origin_Origin of the story that was reposted.
[in]is_content_modified_True, if story content was modified during reposting; otherwise, story wasn't modified.

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: