Package dev.inmo.tgbotapi.types.location

Types

LiveLocation
Link copied to clipboard
common
data class LiveLocation(longitude: Double, latitude: Double, horizontalAccuracy: Meters?, livePeriod: Seconds, heading: Degrees?, proximityAlertRadius: Meters?) : Location, Livable, ProximityAlertable, Headed
Location
Link copied to clipboard
common
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
common
object LocationSerializer : KSerializer<Location>
StaticLocation
Link copied to clipboard
common
data class StaticLocation(longitude: Double, latitude: Double, horizontalAccuracy: Meters?) : Location