tock / ai.tock.bot.engine.message / Location

# Location

`data class Location : Message` (source)

User location data.

### Constructors

#### <init> | User location data. `Location(location: UserLocation?, delay: Long = 0)`

### Properties

#### delay | `val delay: Long`
#### eventType | `val eventType: EventType`
#### location | `val location: UserLocation?`

### Functions

#### isSimpleMessage | `fun isSimpleMessage(): Boolean`
#### toAction | `fun toAction(playerId: PlayerId, applicationId: String, recipientId: PlayerId): Action`
#### toPrettyString | Returns a human readable string representation of the message. `fun toPrettyString(): String`