Skip to content

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.

Documentation

Properties

PropertyTypeDescriptionDefined in
caption?TelegramRichBlockCaptionOptional. Caption of the block@gramio/types/out/objects.d.ts:8782
height?numberOptional. Map height; 0-10000@gramio/types/out/objects.d.ts:8778
locationTelegramLocationLocation 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?numberOptional. Map width; 0-10000@gramio/types/out/objects.d.ts:8774
zoom?numberOptional. Map zoom level; 0-24@gramio/types/out/objects.d.ts:8770