1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 22:07:19 +01:00
MadelineProto/old_docs/API_docs_v71/constructors/pageBlockPhoto.md
2017-10-14 09:50:46 +00:00

757 B

title description
pageBlockPhoto pageBlockPhoto attributes, type and example

Constructor: pageBlockPhoto

Back to constructors index

Attributes:

Name Type Required
photo_id long Yes
caption RichText Yes

Type: PageBlock

Example:

$pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => RichText];

PWRTelegram json-encoded version:

{"_": "pageBlockPhoto", "photo_id": long, "caption": RichText}

Or, if you're into Lua:

pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=RichText}