richblockmap

Raw MD
A block with a map, corresponding to the custom HTML tag <tg-map>

A block with a map, corresponding to the custom HTML tag <tg-map>.

Fields

FieldTypeRequiredDescription
typeStringAlwaysType of the block, always "map"
locationLocationAlwaysLocation of the center of the map
zoomIntegerAlwaysMap zoom level
widthIntegerAlwaysExpected width of the map
heightIntegerAlwaysExpected height of the map
captionRichBlockCaptionOptionalCaption of the block
Botlify Cloud Runtime
Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.