Class ChatLocation
java.lang.Object
io.micronaut.chatbots.telegram.api.ChatLocation
Represents a location to which a chat is connected.
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
@NonNull Location
void
setAddress
(@NonNull String address) void
setLocation
(@NonNull Location location)
-
Constructor Details
-
ChatLocation
public ChatLocation()
-
-
Method Details
-
getLocation
- Returns:
- The location to which the supergroup is connected. Can't be a live location.
-
setLocation
- Parameters:
location
- The location to which the supergroup is connected. Can't be a live location.
-
getAddress
- Returns:
- Location address; 1-64 characters, as defined by the chat owner.
-
setAddress
- Parameters:
address
- Location address; 1-64 characters, as defined by the chat owner.
-