MadelineProtoDocs/docs/API_docs/constructors/pageTableCell.md

37 lines
1.4 KiB
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "pageTableCell"
description: "Table cell"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: pageTableCell
[Back to constructors index](/API_docs/constructors/index.html)
Table cell
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|header|[Bool](/API_docs/types/Bool.html) | Optional|Is this element part of the column header|
|align\_center|[Bool](/API_docs/types/Bool.html) | Optional|Horizontally centered block|
|align\_right|[Bool](/API_docs/types/Bool.html) | Optional|Right-aligned block|
|valign\_middle|[Bool](/API_docs/types/Bool.html) | Optional|Vertically centered block|
|valign\_bottom|[Bool](/API_docs/types/Bool.html) | Optional|Block vertically-aligned to the bottom|
|text|[RichText](/API_docs/types/RichText.html) | Optional|Content|
|colspan|[int](/API_docs/types/int.html) | Optional|For how many columns should this cell extend|
|rowspan|[int](/API_docs/types/int.html) | Optional|For how many rows should this cell extend|
### Type: [PageTableCell](/API_docs/types/PageTableCell.html)
### Example:
```
$pageTableCell = ['_' => 'pageTableCell', 'header' => Bool, 'align_center' => Bool, 'align_right' => Bool, 'valign_middle' => Bool, 'valign_bottom' => Bool, 'text' => RichText, 'colspan' => int, 'rowspan' => int];
```