We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send a remote player a tells. This should be placed behind a tells support flag. Suggested you also support the players flag.
tells
players
To send a new message, use this event.
{ "event": "tells/send", "ref": "5c528fc3-cb9e-4867-98ea-6e235594241e", "payload": { "from": "Player", "game": "MidMUD", "player": "eric", "sent_at": "2018-07-17T13:12:28Z", "message": "hi" } }
from
game
player
sent_at
message
If the game and player is online on Gossip, then the message will be forwarded. A ref is required.
ref
{ "event": "tells/send", "ref": "5c528fc3-cb9e-4867-98ea-6e235594241e", "status": "success" }
{ "event": "tells/send", "ref": "5c528fc3-cb9e-4867-98ea-6e235594241e", "status": "failure", "error": "game offline" }
Possible errors:
When the game receives a new direct message from another game on the network, this event will be pushed.
{ "event": "tells/receive", "ref": "d4a08749-acbe-45ab-bc0f-51609fd6b95b", "payload": { "game": "AMud", "from": "Player", "player": "eric", "sent_at": "2018-07-17T13:12:28Z", "message": "hi" } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Send a remote player a tells. This should be placed behind a
tells
support flag. Suggested you also support theplayers
flag.tells/send
To send a new message, use this event.
from
- local playergame
- remote game, this is the short name of a gameplayer
- remote playersent_at
- ISO8601 formatted timestamp of when the message was sent, in the UTC timezonemessage
- the messageIf the game and player is online on Gossip, then the message will be forwarded. A
ref
is required.Possible errors:
tells/receive
When the game receives a new direct message from another game on the network, this event will be pushed.
from
- remove playergame
- remote game, this is the short name of a gameplayer
- local playersent_at
- ISO8601 formatted timestamp of when the message was sent, in the UTC timezonemessage
- the messageThe text was updated successfully, but these errors were encountered: