whisper
Send a private message.
Addressed by in-game name rather than by account id — the name a player shows in the channel roster.
In Trading.
Request
POST /api/v1/sessions/{accountKey}/actions/whisper
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
nickname | string | yes | Who to send it to. |
text | string | yes | The message. |
Example request
{ "nickname": "Eve", "text": "Still have the boots?" }
Response
`{ ok, target, text }`.
| Field | Type | Meaning |
|---|---|---|
target | string | The `nickname` the message was addressed to, echoed back. |
Example response
{ "ok": true, "target": "Eve", "text": "Still have the boots?" }
Errors
| Code | When |
|---|---|
action_failed | Not in a channel. |
plan_limit | Not on the free plan. |
See also
DarkerAPI is an independent project. It is not affiliated with, endorsed by or associated with IRONMACE Co., Ltd. or Valve Corporation. “Dark and Darker” and related marks belong to their respective owners.