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

1.1 KiB

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

Constructor: pageBlockMap

Back to constructors index

Page block map

Attributes:

Name Type Required Description
geo GeoPoint Optional Geo
zoom int Yes Zoom
w int Yes Width
h int Yes Height
caption PageCaption Yes Caption

Type: PageBlock

Example:

$pageBlockMap = ['_' => 'pageBlockMap', 'geo' => GeoPoint, 'zoom' => int, 'w' => int, 'h' => int, 'caption' => PageCaption];

PWRTelegram json-encoded version:

{"_": "pageBlockMap", "geo": GeoPoint, "zoom": int, "w": int, "h": int, "caption": PageCaption}

Or, if you're into Lua:

pageBlockMap={_='pageBlockMap', geo=GeoPoint, zoom=int, w=int, h=int, caption=PageCaption}