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

Inherits InputPageBlock.

Description

A section heading.

Public Member Functions

 inputPageBlockSectionHeading ()
 inputPageBlockSectionHeading (object_ptr< RichText > &&text_, int32 size_)
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

int32 size_
 Relative size of the text font; 1-6, 1 is the largest, 6 is the smallest.
object_ptr< RichText > text_
 Text of the section heading.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ inputPageBlockSectionHeading() [1/2]

inputPageBlockSectionHeading ( )

A section heading.

◆ inputPageBlockSectionHeading() [2/2]

inputPageBlockSectionHeading ( object_ptr< RichText > && text_,
int32 size_ )

A section heading.

Parameters
[in]text_Text of the section heading.
[in]size_Relative size of the text font; 1-6, 1 is the largest, 6 is the smallest.

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: