Package it.tdlight.jni
Class TdApi.MessageProximityAlertTriggered
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 user or chat, which triggered the proximity alert.The user or chat, which subscribed for the proximity alert. -
Constructor Summary
ConstructorDescriptionA user in the chat came within proximity alert range.MessageProximityAlertTriggered
(TdApi.MessageSender traveler, TdApi.MessageSender watcher, int distance) 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
-
traveler
The user or chat, which triggered the proximity alert. -
watcher
The user or chat, which 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 traveler, TdApi.MessageSender watcher, int distance) A user in the chat came within proximity alert range.- Parameters:
traveler
- MessageSender The user or chat, which triggered the proximity alert.watcher
- MessageSender The user or chat, which subscribed for the proximity alert.distance
- int The distance between the users.
-
MessageProximityAlertTriggered
- 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()
-