MadelineProtoDocs/old_docs/API_docs_v71/constructors/pageBlockPhoto.md
2019-12-27 17:48:04 +01:00

717 B

title description image
pageBlockPhoto A photo https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pageBlockPhoto

Back to constructors index

A photo

Attributes:

Name Type Required Description
photo_id long Yes Photo ID
caption RichText Yes Caption

Type: PageBlock

Example:

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

Or, if you're into Lua:

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