Package-level declarations

Types

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

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

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