mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-07-01 13:57:48 +00:00
14 lines
401 B
Kotlin
14 lines
401 B
Kotlin
|
package com.github.insanusmokrassar.TelegramBotAPI.types
|
||
|
|
||
|
import com.github.insanusmokrassar.TelegramBotAPI.types.abstracts.Locationed
|
||
|
import kotlinx.serialization.SerialName
|
||
|
import kotlinx.serialization.Serializable
|
||
|
|
||
|
@Serializable
|
||
|
data class Location(
|
||
|
@SerialName(longitudeField)
|
||
|
override val longitude: Double,
|
||
|
@SerialName(latitudeField)
|
||
|
override val latitude: Double
|
||
|
) : Locationed
|