MessageMediaGeo

class pyrogram.raw.types.MessageMediaGeo

Attached map.

Constructor of MessageMedia.

Details:
  • Layer: 223

  • ID: 56E0D474

Parameters:

geo (GeoPoint) – GeoPoint

Functions:

This object can be returned by 2 functions.

messages.UploadMedia

Upload a file and associate it to a chat (without actually sending it to the chat)

messages.UploadImportedMedia

Upload a media file associated with an imported chat, click here for more info ».

TL Schema

messageMediaGeo#56e0d474
geo:GeoPoint

= MessageMedia

Parameter Tree

MessageMediaGeo
└── geoGeoPoint
├── GeoPointEmpty
└── GeoPoint
├── longdouble
├── latdouble
├── access_hashlong
└── accuracy_radiusint (optional)

Example

MessageMediaGeo(
    geo=GeoPointEmpty(),
)