MadelineProto/old_docs/API_docs_v62/constructors/pageBlockPhoto.md

626 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, ];

Or, if you're into Lua:

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