mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
894 B
894 B
title | description | nav_exclude | image |
---|---|---|---|
pageBlockDetails | A collapsible details block | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: pageBlockDetails
A collapsible details block
Attributes:
Name | Type | Required | Description |
---|---|---|---|
open | Bool | Optional | Whether the block is open by default |
blocks | Array of PageBlock | Yes | Block contents |
title | RichText | Yes | Always visible heading for the block |
Type: PageBlock
Example:
$pageBlockDetails = ['_' => 'pageBlockDetails', 'open' => Bool, 'blocks' => [PageBlock, PageBlock], 'title' => RichText];