Package it.tdlight.jni
Class TdApi.ChatNearby
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatNearby
- Enclosing class:
- TdApi
public static class TdApi.ChatNearby extends TdApi.Object
Describes a chat located nearby.
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Chat identifier.static int
CONSTRUCTOR
int
distance
Distance to the chat location, in meters. -
Constructor Summary
Constructors Constructor Description ChatNearby()
Describes a chat located nearby.ChatNearby(long chatId, int distance)
Describes a chat located nearby.ChatNearby(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
distance
public int distanceDistance to the chat location, in meters. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChatNearby
public ChatNearby()Describes a chat located nearby. -
ChatNearby
public ChatNearby(long chatId, int distance)Describes a chat located nearby.- Parameters:
chatId
- long Chat identifier.distance
- int Distance to the chat location, in meters.
-
ChatNearby
- 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()
-