Create a direct message.
Name | Requires Auth | Permission | Setting |
---|---|---|---|
createDirectMessage |
Yes |
Argument | Example | Required | Description |
---|---|---|---|
username |
testrc |
Required | The usernames to be added to the direct message. |
{
"msg": "method",
"method": "createDirectMessage",
"id": "472",
"params": ["testrc"]
}
{
"msg": "result",
"id": "472",
"result": {
"t": "d",
"rid": "LFdhbcNHx5zsMA7T4ZoJM4tvohREwJbtAh",
"usernames": [
"test.rc",
"testrc"
]
}
}