Skip to content

Docs: Payload Text/Media is missing the Message key #15

Description

@PromiseFru

In the Payload Text/Media section of the documentation, the payload schema is missing a Message key.

Current Payload Schema

{
    "IsContact": true|false,
    "Type": "",
    "From": "",
    "To": "",
    "Media": {
        "Content": bytes,
        "Info": {
            "Size": 0,
            "MimeType": "",
            "Width": 0,
            "Height": 0,
            "BlurHash": ""
        }
    }
}

Expected Payload Schema

The payload should include a Message key, e.g.:

{
    "IsContact": true|false,
    "Type": "",
    "From": "",
    "To": "",
    "Message": "",
    "Media": {
        "Content": bytes,
        "Info": {
            "Size": 0,
            "MimeType": "",
            "Width": 0,
            "Height": 0,
            "BlurHash": ""
        }
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions