haskell-tdlib-2.1.21.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.LiveLocation

Documentation

data LiveLocation Source #

Constructors

LiveLocation

A live location

Fields

  • location :: Maybe Location

    The current location

  • live_period :: Maybe Int

    Time relative to the message send date, for which the location can be updated, in seconds; if 0x7FFFFFFF, then location can be updated forever

  • heading :: Maybe Int

    The direction in which the location moves, in degrees; 1-360; 0 if unknown

  • proximity_alert_radius :: Maybe Int

    The maximum distance to another chat member for proximity alerts, in meters (0-100000). 0 if the notification is disabled. Can't be enabled in direct messages chats, channels and Saved Messages. Available only to the message sender