Skip to content

danog\MadelineProto\EventHandler\Message\Rich\Block\Details: A details block: a summary that can be expanded to show its content.

Back to index

Author: Daniil Gentili daniil@daniil.it

A details block: a summary that can be expanded to show its content.

Properties

  • $summary: danog\MadelineProto\EventHandler\Message\Rich\RichText Summary of the block, always shown
  • $blocks: list<Block> Content of the block, shown when expanded.
  • $open: bool Whether the block is expanded by default

Method list:

Methods:

__construct(\danog\MadelineProto\EventHandler\Message\Rich\RichText|string $summary, list<\danog\MadelineProto\EventHandler\Message\Rich\Block> $blocks, bool $open = false)

Parameters:

  • $summary: \danog\MadelineProto\EventHandler\Message\Rich\RichText|string
  • $blocks: list<\danog\MadelineProto\EventHandler\Message\Rich\Block> Content of the block, shown when expanded
  • $open: bool

See also:

  • [\danog\MadelineProto\EventHandler\Message\Rich\RichText: Styled text of a rich message: a tree of plain texts, styles, links and so on.](../../../../../../danog/MadelineProto/EventHandler/Message/Rich/RichText.html)
  • [\danog\MadelineProto\EventHandler\Message\Rich\Block: A block of a rich message: a heading, a paragraph, a list, a table, a media and so on.](../../../../../../danog/MadelineProto/EventHandler/Message/Rich/Block.html)

Generated by danog/phpdoc