InputMediaVenue

Raw MD
Represents a venue to be sent

Represents a venue to be sent.

Fields

FieldTypeRequiredDescription
typeStringAlwaysType of the media, must be venue
latitudeFloatAlwaysLatitude of the location
longitudeFloatAlwaysLongitude of the location
titleStringAlwaysName of the venue
addressStringAlwaysAddress of the venue
foursquare_idStringOptionalFoursquare identifier of the venue
foursquare_typeStringOptionalFoursquare type of the venue, if known. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)
google_place_idStringOptionalGoogle Places identifier of the venue
google_place_typeStringOptionalGoogle Places type of the venue. (See supported types.)
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.