GramIO API Reference / gramio/dist / TelegramInputRichBlockMap
Interface: TelegramInputRichBlockMap
Defined in: @gramio/types/out/objects.d.ts:8758
A block with a map, corresponding to the custom HTML tag <tg-map>. The map's width and height must not exceed 10000 in total. The width and height ratio must be at most 20.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
caption? | TelegramRichBlockCaption | Optional. Caption of the block | @gramio/types/out/objects.d.ts:8782 |
height? | number | Optional. Map height; 0-10000 | @gramio/types/out/objects.d.ts:8778 |
location | TelegramLocation | Location of the center of the map | @gramio/types/out/objects.d.ts:8766 |
type | "map" | Type of the block, always “map” | @gramio/types/out/objects.d.ts:8762 |
width? | number | Optional. Map width; 0-10000 | @gramio/types/out/objects.d.ts:8774 |
zoom? | number | Optional. Map zoom level; 0-24 | @gramio/types/out/objects.d.ts:8770 |