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
public static class TdApi.MessageProximityAlertTriggered extends TdApi.MessageContent
A user in the chat came within proximity alert range.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
distance
The distance between the users.TdApi.MessageSender
traveler
The user or chat, which triggered the proximity alert.TdApi.MessageSender
watcher
The user or chat, which subscribed for the proximity alert. -
Constructor Summary
Constructors Constructor Description MessageProximityAlertTriggered()
A 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.MessageProximityAlertTriggered(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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:
- Constant Field Values
-
-
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()
-