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": ""
        }
    }
}

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