mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
949 B
949 B
title | description | nav_exclude | image |
---|---|---|---|
pageBlockPhoto | A photo | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: pageBlockPhoto
A photo
Attributes:
Name | Type | Required | Description |
---|---|---|---|
photo_id | long | Yes | Photo ID |
caption | PageCaption | Yes | Caption |
url | string | Optional | HTTP URL of page the photo leads to when clicked |
webpage_id | long | Optional | ID of preview of the page the photo leads to when clicked |
Type: PageBlock
Example:
$pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => PageCaption, 'url' => 'string', 'webpage_id' => long];