Get Single Message
    • Dark
      Light
    • PDF

    Get Single Message

    • Dark
      Light
    • PDF

    Article summary

    Get a single message by the message ID.

    Method

    Requires Auth

    getSingleMessage

    Yes

    Payload parameters

    Argument

    Example

    Required

    Description

    message_id

    8gMsLe9ApZjo2D2iB

    Required

    The message ID.

    Example call

    {
        "msg": "method",
        "method": "getSingleMessage",
        "id": "23",
        "params": [
            "8gMsLe9ApZjo2D2iB"
          
        ]
    }

    Example response

    {
        "msg": "result",
        "id": "23",
        "result": {
            "_id": "8gMsLe9ApZjo2D2iB",
            "rid": "64a1f373376181965ab77f54",
            "msg": "Hello World!",
            "ts": {
                "$date": 1688421173424
            },
            "u": {
                "_id": "LFdhbcNHx5zsMA7T4",
                "username": "test.rc",
                "name": "Test RC"
            },
            "_updatedAt": {
                "$date": 1688421428832
            },
            "urls": [],
            "mentions": [],
            "channels": [],
            "md": [
                {
                    "type": "PARAGRAPH",
                    "value": [
                        {
                            "type": "PLAIN_TEXT",
                            "value": "Hello World!"
                        }
                    ]
                }
            ],
            "starred": []
        }
    }


    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence