Package dev.inmo.tgbotapi.types.location

Types

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

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