Class TdApi.MessageLiveLocation

Enclosing class:
TdApi

public static class TdApi.MessageLiveLocation extends TdApi.MessageContent
A message with a live location.
  • Field Details

    • location

      public TdApi.LiveLocation location
      The current location.
    • expiresIn

      public int expiresIn
      Left time for which the location can be updated, in seconds. If 0, then the location can't be updated anymore. The update updateMessageContent is not sent when this field changes.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • MessageLiveLocation

      public MessageLiveLocation()
      A message with a live location.
    • MessageLiveLocation

      public MessageLiveLocation(TdApi.LiveLocation location, int expiresIn)
      A message with a live location.
      Parameters:
      location - The current location.
      expiresIn - Left time for which the location can be updated, in seconds. If 0, then the location can't be updated anymore. The update updateMessageContent is not sent when this field changes.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR