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

Inherits Object.

Description

Contains a caption of another block.

Public Member Functions

 pageBlockCaption ()
 pageBlockCaption (object_ptr< RichText > &&text_, object_ptr< RichText > &&credit_)
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

object_ptr< RichText > credit_
 Block credit (like HTML tag <cite>); may be null if none.
object_ptr< RichText > text_
 Content of the caption.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ pageBlockCaption() [1/2]

pageBlockCaption ( )

Contains a caption of another block.

◆ pageBlockCaption() [2/2]

pageBlockCaption ( object_ptr< RichText > && text_,
object_ptr< RichText > && credit_ )

Contains a caption of another block.

Parameters
[in]text_Content of the caption.
[in]credit_Block credit (like HTML tag <cite>); may be null if none.

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: