Type alias APIMessageOptions

APIMessageOptions: {
    content?: string;
    embeds?: APIEmbedOptions[];
    isPrivate?: boolean;
    isSilent?: boolean;
    replyMessageIds?: string[];

Types for message options.

Type declaration

  • Optional content?: string

    The content of the message (min length 1; max length 4000)

  • Optional embeds?: APIEmbedOptions[]


  • Optional isPrivate?: boolean

    If set, this message will only be seen by those mentioned or replied to

  • Optional isSilent?: boolean

    If set, this message will not notify any mentioned users or roles (default false)

  • Optional replyMessageIds?: string[]

    Message IDs to reply to (min items 1; max items 5)