Package dev.inmo.tgbotapi.types.location

Types

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

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>
StaticLocation
Link copied to clipboard
data class StaticLocation(longitude: Double, latitude: Double, horizontalAccuracy: Meters?) : Location