Type alias RESTPostWebhookBody

RESTPostWebhookBody: {
    avatar_url?: string;
    content?: string;
    embeds?: APIEmbed[];
    payload_json?: Pick<RESTPostWebhookBody, "avatar_url" | "content" | "embeds" | "username">;
    username?: string;
}

POST /webhooks/:webhookId/:webhookToken

Type declaration

  • Optional avatar_url?: string
  • Optional content?: string
  • Optional embeds?: APIEmbed[]
  • Optional payload_json?: Pick<RESTPostWebhookBody, "avatar_url" | "content" | "embeds" | "username">
  • Optional username?: string

Generated using TypeDoc