Class TdApi.InputMessageLocation

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int livePeriod
      Period for which the location can be updated, in seconds; should bebetween 60 and 86400 for a live location and 0 otherwise.
      TdApi.Location location
      Location to be sent.
    • Field Detail

      • livePeriod

        public int livePeriod
        Period for which the location can be updated, in seconds; should bebetween 60 and 86400 for a live location and 0 otherwise.
      • CONSTRUCTOR

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

      • InputMessageLocation

        public InputMessageLocation()
        Default constructor.
      • InputMessageLocation

        public InputMessageLocation​(TdApi.Location location,
                                    int livePeriod)
        Constructor for initialization of all fields.
        Parameters:
        location - Location to be sent.
        livePeriod - Period for which the location can be updated, in seconds; should bebetween 60 and 86400 for a live location and 0 otherwise.