Skip to content

Commit

Permalink
feat(types): support sending voice messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Sep 19, 2024
1 parent 684ad62 commit 2993c9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/structures/interfaces/messageInteraction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,10 @@ export interface MessageAttachmentOptions {
id: string | number;
/** The description of the attachment. */
description?: string;
/** The duration, in seconds, of the voice message. */
duration_secs?: number;
/** A base64-encoded bytearray that represents a sampled waveform. */
waveform?: string;
}

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

0 comments on commit 2993c9b

Please sign in to comment.