UserLocation

@Serializable
data class UserLocation(val type: String = "approximate", val approximate: ApproximateLocation? = null)

Location hint used by web search.

Constructors

Link copied to clipboard
constructor(type: String = "approximate", approximate: ApproximateLocation? = null)

Properties

Link copied to clipboard
@SerialName(value = "approximate")
val approximate: ApproximateLocation? = null

Approximate location details.

Link copied to clipboard
@SerialName(value = "type")
val type: String

Location type. Defaults to "approximate".