Package org.drinkless.tdlib
Class TdApi.PushMessageContentProximityAlertTriggered
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PushMessageContent
org.drinkless.tdlib.TdApi.PushMessageContentProximityAlertTriggered
- Enclosing class:
- TdApi
public static class TdApi.PushMessageContentProximityAlertTriggered
extends TdApi.PushMessageContent
A user in the chat came within proximity alert range from the current user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intThe distance to the user. -
Constructor Summary
ConstructorsConstructorDescriptionA user in the chat came within proximity alert range from the current user.PushMessageContentProximityAlertTriggered(int distance) A user in the chat came within proximity alert range from the current user. -
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
-
distance
public int distanceThe distance to the user. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PushMessageContentProximityAlertTriggered
public PushMessageContentProximityAlertTriggered()A user in the chat came within proximity alert range from the current user. -
PushMessageContentProximityAlertTriggered
public PushMessageContentProximityAlertTriggered(int distance) A user in the chat came within proximity alert range from the current user.- Parameters:
distance- The distance to the user.
-
-
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
-