Class TdApi.ChatNearby
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ChatNearby
- Enclosing class:
- TdApi
Describes a chat located nearby.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
Identifier uniquely determining type of the object.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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
distance
public int distanceDistance to the chat location, in meters. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- 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
- Chat identifier.distance
- Distance to the chat location, in meters.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-