MessageMediaGeoLive

class pyrogram.raw.types.MessageMediaGeoLive

Indicates a live geolocation.

Constructor type of MessageMedia.

Details
  • Layer: 126

  • ID: 0xb940c666

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

Methods

This object can be returned by 3 methods:

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

Telegram API method.