# dev.inmo.tgbotapi.types.location

docs

# Package dev.inmo.tgbotapi.types.location

## Types

LiveLocation
Link copied to clipboard
data class LiveLocation ( val longitude: Double , val latitude: Double , val horizontalAccuracy: Meters ? = null, val livePeriod: Seconds , val heading: Degrees ? = null, val proximityAlertRadius: Meters ? = null) : Location, Livable, ProximityAlertable, Headed
Content copied to clipboard
Location
Link copied to clipboard
interface Location : Locationed, HorizontallyAccured
Content copied to clipboard

Common interface for any known telegram location. Use LocationSerializer in case you wish to serialize/deserialize Location

LocationSerializer
Link copied to clipboard
object LocationSerializer : KSerializer< Location >
Content copied to clipboard
StaticLocation
Link copied to clipboard
data class StaticLocation ( val longitude: Double , val latitude: Double , val horizontalAccuracy: Meters ? = null) : Location
Content copied to clipboard