tock / ai.tock.bot.engine.action / SendLocation

# SendLocation

`class SendLocation : Action` (source)

A user location transmission.

### Constructors

#### <init> | A user location transmission. `SendLocation(playerId: PlayerId, applicationId: String, recipientId: PlayerId, location: UserLocation?, id: Id<Action> = newId(), date: Instant = Instant.now(), state: EventState = EventState(), metadata: ActionMetadata = ActionMetadata())`

### Properties

#### location | `val location: UserLocation?`

### Functions

#### toMessage | `fun toMessage(): Message`