Package org.drinkless.tdlib
Class TdApi.MessageLiveLocation
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageContent
org.drinkless.tdlib.TdApi.MessageLiveLocation
- Enclosing class:
- TdApi
A message with a live location.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intLeft time for which the location can be updated, in seconds.The current location. -
Constructor Summary
ConstructorsConstructorDescriptionA message with a live location.MessageLiveLocation(TdApi.LiveLocation location, int expiresIn) A message with a live location. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
location
The current location. -
expiresIn
public int expiresInLeft 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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageLiveLocation
public MessageLiveLocation()A message with a live location. -
MessageLiveLocation
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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-