MadelineProtoDocs/docs/API_docs/constructors/pageBlockPhoto.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

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

Constructor: pageBlockPhoto

Back to constructors index

Page block photo

Attributes:

Name Type Required Description
photo_id long Yes Photo ID
caption PageCaption Yes Caption
url string Optional URL
webpage_id long Optional Webpage ID

Type: PageBlock

Example:

$pageBlockPhoto = ['_' => 'pageBlockPhoto', 'photo_id' => long, 'caption' => PageCaption, 'url' => 'string', 'webpage_id' => long];

PWRTelegram json-encoded version:

{"_": "pageBlockPhoto", "photo_id": long, "caption": PageCaption, "url": "string", "webpage_id": long}

Or, if you're into Lua:

pageBlockPhoto={_='pageBlockPhoto', photo_id=long, caption=PageCaption, url='string', webpage_id=long}