Class TdApi.MessageLocation

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int expiresIn
      Left time for which the location can be updated, in seconds. updateMessageContent is not sent when this field changes.
      int livePeriod
      Time relative to the message sent date until which the location can be updated, in seconds.
      TdApi.Location location
      Message content.
    • Field Detail

      • livePeriod

        public int livePeriod
        Time relative to the message sent date until which the location can be updated, in seconds.
      • expiresIn

        public int expiresIn
        Left time for which the location can be updated, in seconds. updateMessageContent is not sent when this field changes.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MessageLocation

        public MessageLocation()
        Default constructor.
      • MessageLocation

        public MessageLocation​(TdApi.Location location,
                               int livePeriod,
                               int expiresIn)
        Constructor for initialization of all fields.
        Parameters:
        location - Message content.
        livePeriod - Time relative to the message sent date until which the location can be updated, in seconds.
        expiresIn - Left time for which the location can be updated, in seconds. updateMessageContent is not sent when this field changes.