Skip to content

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>.

Documentation

Properties

PropertyTypeDescriptionDefined in
caption?TelegramRichBlockCaptionOptional. Caption of the block@gramio/types/out/objects.d.ts:8206
heightnumberExpected height of the map@gramio/types/out/objects.d.ts:8202
locationTelegramLocationLocation 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
widthnumberExpected width of the map@gramio/types/out/objects.d.ts:8198
zoomnumberMap zoom level@gramio/types/out/objects.d.ts:8194