Skip to content

Commit

Permalink
types: also support attachment titles
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Sep 19, 2024
1 parent 2993c9b commit d03fb4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/structures/interfaces/messageInteraction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,8 @@ export interface MessageAttachmentOptions {
name?: string;
/** The ID of the attachment. For existing attachments, this must be the ID snowflake of the attachment, otherwise, this will be the index of the files being sent to Discord. */
id: string | number;
/** The title of the attachment. */
title?: string;
/** The description of the attachment. */
description?: string;
/** The duration, in seconds, of the voice message. */
Expand Down

0 comments on commit d03fb4b

Please sign in to comment.