java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessageProximityAlertTriggered
- Enclosing class:
- TdApi
A user in the chat came within proximity alert range.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
The distance between the users.The identifier of a user or chat that triggered the proximity alert.The identifier of a user or chat that subscribed for the proximity alert. -
Constructor Summary
ConstructorDescriptionA user in the chat came within proximity alert range.MessageProximityAlertTriggered
(TdApi.MessageSender travelerId, TdApi.MessageSender watcherId, int distance) A user in the chat came within proximity alert range.A user in the chat came within proximity alert range. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
travelerId
The identifier of a user or chat that triggered the proximity alert. -
watcherId
The identifier of a user or chat that subscribed for the proximity alert. -
distance
public int distanceThe distance between the users. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
MessageProximityAlertTriggered
public MessageProximityAlertTriggered()A user in the chat came within proximity alert range. -
MessageProximityAlertTriggered
public MessageProximityAlertTriggered(TdApi.MessageSender travelerId, TdApi.MessageSender watcherId, int distance) A user in the chat came within proximity alert range.- Parameters:
travelerId
- MessageSender The identifier of a user or chat that triggered the proximity alert.watcherId
- MessageSender The identifier of a user or chat that subscribed for the proximity alert.distance
- int The distance between the users.
-
MessageProximityAlertTriggered
A user in the chat came within proximity alert range.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-