Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
41 lines (33 loc) · 1004 Bytes

create-direct-message.md

File metadata and controls

41 lines (33 loc) · 1004 Bytes

Create Direct Message

Create a direct message.

Name Requires Auth Permission Setting
createDirectMessage Yes

Payload Parameters

Argument Example Required Description
username testrc Required The usernames to be added to the direct message.

Example Call

{
    "msg": "method",
    "method": "createDirectMessage",
    "id": "472",
    "params": ["testrc"]
}

Example Response

{
    "msg": "result",
    "id": "472",
    "result": {
        "t": "d",
        "rid": "LFdhbcNHx5zsMA7T4ZoJM4tvohREwJbtAh",
        "usernames": [
            "test.rc",
            "testrc"
        ]
    }
}