Skip to content

danog\MadelineProto\EventHandler\Message\Rich\TableCell: A cell of a table block of a rich message.

Back to index

Author: Daniil Gentili daniil@daniil.it

A cell of a table block of a rich message.

Properties

  • $text: ?danog\MadelineProto\EventHandler\Message\Rich\RichText Text of the cell, null for an empty cell
  • $align: danog\MadelineProto\EventHandler\Message\Rich\Alignment Horizontal alignment of the cell
  • $header: bool Whether this is a header cell
  • $colspan: int Number of columns the cell spans
  • $rowspan: int Number of rows the cell spans
  • $valign: danog\MadelineProto\EventHandler\Message\Rich\VerticalAlignment Vertical alignment of the cell

Method list:

Methods:

__construct(\danog\MadelineProto\EventHandler\Message\Rich\RichText|string|null $text = NULL, bool $header = false, int $colspan = 1, int $rowspan = 1, ?\danog\MadelineProto\EventHandler\Message\Rich\Alignment $align = NULL, \danog\MadelineProto\EventHandler\Message\Rich\VerticalAlignment $valign = \danog\MadelineProto\EventHandler\Message\Rich\VerticalAlignment::MIDDLE)

Parameters:

  • $text: \danog\MadelineProto\EventHandler\Message\Rich\RichText|string|null
  • $header: bool
  • $colspan: int
  • $rowspan: int
  • $align: ?\danog\MadelineProto\EventHandler\Message\Rich\Alignment Horizontal alignment of the cell, by default centered for header cells and left-aligned for the others
  • $valign: \danog\MadelineProto\EventHandler\Message\Rich\VerticalAlignment

See also:


Generated by danog/phpdoc