MessageMediaGeoLive#

class pyrogram.raw.types.MessageMediaGeoLive#

Indicates a live geolocation.

Constructor of MessageMedia.

Details:
  • Layer: 158

  • ID: B940C666

Parameters:
  • geo (GeoPoint) – Geolocation.

  • period (int 32-bit) – Validity period of provided geolocation.

  • heading (int 32-bit, optional) – For live locations, a direction in which the location moves, in degrees; 1-360.

  • proximity_notification_radius (int 32-bit, optional) – For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000).

Functions:

This object can be returned by 3 functions.

messages.GetWebPagePreview

Get preview of webpage.

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.