fix(types): messageId is optional

This commit is contained in:
ITOH
2021-05-02 00:35:16 +02:00
committed by GitHub
parent 9e6620a171
commit dfe822f4d2

View File

@@ -1,6 +1,6 @@
import { EditWebhookMessage } from "../webhooks/edit_webhook_message.ts";
export interface DiscordenoEditWebhookMessage extends EditWebhookMessage {
/** Id of the message you want to edit */
messageId: string;
/** Id of the message you want to edit if undefined the initial response message will be edited */
messageId?: string;
}