Skip to content

Commit 2993c9b

Browse files
committed
feat(types): support sending voice messages
1 parent 684ad62 commit 2993c9b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/structures/interfaces/messageInteraction.ts

+4
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,10 @@ export interface MessageAttachmentOptions {
432432
id: string | number;
433433
/** The description of the attachment. */
434434
description?: string;
435+
/** The duration, in seconds, of the voice message. */
436+
duration_secs?: number;
437+
/** A base64-encoded bytearray that represents a sampled waveform. */
438+
waveform?: string;
435439
}
436440

437441
/** The options for {@link MessageInteractionContext#send} and {@link MessageInteractionContext#sendFollowUp}. */

0 commit comments

Comments
 (0)