Get Snippeted Message By Id
    • Dark
      Light
    • PDF

    Get Snippeted Message By Id

    • Dark
      Light
    • PDF

    Article summary

    Get
    /api/v1/chat.getSnippetedMessageById

    Retrieve snippeted message by Id.

    Changelog

    VersionDescription
    2.3.0Added
    Header parameters
    X-Auth-Token
    stringRequired

    The authToken of the authenticated user.

    ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
    X-User-Id
    stringRequired

    The userId of the authenticated user.

    ExamplerbAXPnMktTFbNpwtJ
    Query parameters
    messageId
    stringRequired

    The message id

    ExampleByehQjC44FwMeiLbX
    Responses
    200

    OK

    Example
    {
      "message": {
        "_id": "48sifqi7ezh4ifKaK",
        "rid": "GENERAL",
        "msg": "```dsfsdfsdf```",
        "ts": "2019-10-25T23:26:31.550Z",
        "u": {
          "_id": "CaevAPDbXN252kyXa",
          "username": "marc.dei",
          "name": "Marc Dei"
        },
        "_updatedAt": "2019-10-25T23:27:51.300Z",
        "mentions": [],
        "channels": [],
        "snippetName": "rr",
        "snippeted": true,
        "snippetedBy": {
          "_id": "CaevAPDbXN252kyXa",
          "username": "marc.dei"
        }
      },
      "success": true
    }
    Expand All
    object
    message
    object
    _id
    string
    rid
    string
    msg
    string
    ts
    string
    u
    object
    _id
    string
    username
    string
    name
    string
    _updatedAt
    string
    mentions
    Array of object
    object
    channels
    Array of object
    object
    snippetName
    string
    snippeted
    boolean
    snippetedBy
    object
    _id
    string
    username
    string
    success
    boolean

    Was this article helpful?

    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.