GramIO API Reference / gramio/dist / TelegramRichBlockMap
Interface: TelegramRichBlockMap
Defined in: @gramio/types/out/objects.d.ts:8182
A block with a map, corresponding to the custom HTML tag <tg-map>.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
caption? | TelegramRichBlockCaption | Optional. Caption of the block | @gramio/types/out/objects.d.ts:8206 |
height | number | Expected height of the map | @gramio/types/out/objects.d.ts:8202 |
location | TelegramLocation | Location of the center of the map | @gramio/types/out/objects.d.ts:8190 |
type | "map" | Type of the block, always “map” | @gramio/types/out/objects.d.ts:8186 |
width | number | Expected width of the map | @gramio/types/out/objects.d.ts:8198 |
zoom | number | Map zoom level | @gramio/types/out/objects.d.ts:8194 |