Type Alias APIMessageOptions

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

Types for message options.

Type declaration

  • Optionalcontent?: string

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

  • Optionalembeds?: APIEmbedOptions[]

    Embeds

  • OptionalhiddenLinkPreviewUrls?: string[]

    Links in content to prevent unfurling as a link preview when displaying in Guilded (min items 1; must have unique items true)

  • OptionalisPrivate?: boolean

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

  • OptionalisSilent?: boolean

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

  • OptionalreplyMessageIds?: string[]

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