TDLib
Loading...
Searching...
No Matches
td::td_api::pageBlockTableCell Class Referencefinal

Inherits td::td_api::Object.

Public Member Functions

 pageBlockTableCell ()
 
 pageBlockTableCell (object_ptr< RichText > &&text_, bool is_header_, int32 colspan_, int32 rowspan_, object_ptr< PageBlockHorizontalAlignment > &&align_, object_ptr< PageBlockVerticalAlignment > &&valign_)
 
std::int32_t get_id () const final
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

object_ptr< RichTexttext_
 Cell text; may be null. If the text is null, then the cell must be invisible.
 
bool is_header_
 True, if it is a header cell.
 
int32 colspan_
 The number of columns the cell spans.
 
int32 rowspan_
 The number of rows the cell spans.
 
object_ptr< PageBlockHorizontalAlignmentalign_
 Horizontal cell content alignment.
 
object_ptr< PageBlockVerticalAlignmentvalign_
 Vertical cell content alignment.
 

Static Public Attributes

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

Detailed Description

Represents a cell of a table.

Constructor & Destructor Documentation

◆ pageBlockTableCell() [1/2]

td::td_api::pageBlockTableCell::pageBlockTableCell ( )

Represents a cell of a table.

◆ pageBlockTableCell() [2/2]

td::td_api::pageBlockTableCell::pageBlockTableCell ( object_ptr< RichText > &&  text_,
bool  is_header_,
int32  colspan_,
int32  rowspan_,
object_ptr< PageBlockHorizontalAlignment > &&  align_,
object_ptr< PageBlockVerticalAlignment > &&  valign_ 
)

Represents a cell of a table.

Parameters
[in]text_Cell text; may be null. If the text is null, then the cell must be invisible.
[in]is_header_True, if it is a header cell.
[in]colspan_The number of columns the cell spans.
[in]rowspan_The number of rows the cell spans.
[in]align_Horizontal cell content alignment.
[in]valign_Vertical cell content alignment.

Member Function Documentation

◆ get_id()

std::int32_t td::td_api::pageBlockTableCell::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

void td::td_api::pageBlockTableCell::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 td::TlObject.


The documentation for this class was generated from the following file: