Skip to content

Add content field to TextDisplay component #3460

@KiloOscarSix

Description

@KiloOscarSix

Although the Discord documentation omits the content field from the documented response structure, it is present in the actual HTTP response. This field contains meaningful data directly associated with the TextDisplay component, and excluding it results in a loss of relevant information.

Including content would improve completeness and better reflect both actual and expected API behaviour, even if it is currently undocumented.

Adding it as Option<String> would make the most sense, allowing Serenity to handle its removal from the HTTP response gracefully without requiring a breaking change to the struct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions