java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatNearby
- Enclosing class:
- TdApi
Describes a chat located nearby.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
int
Distance to the chat location, in meters. -
Constructor Summary
ConstructorDescriptionDescribes a chat located nearby.ChatNearby
(long chatId, int distance) Describes a chat located nearby.ChatNearby
(DataInput input) Describes a chat located nearby. -
Method Summary
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:
-
-
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
Describes a chat located nearby.- 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()
-