Skip to content

Commit

Permalink
Update src/builder/edit_interaction_response.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Krasnitski <42564254+mkrasnitski@users.noreply.github.com>
  • Loading branch information
kangalio and mkrasnitski authored Oct 31, 2023
1 parent 3b5ecdd commit 18a22b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/builder/edit_interaction_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,8 @@ impl EditInteractionResponse {

/// Adds a new attachment to the message.
///
/// Resets existing attachments. See [`Self::keep_existing_attachment`] or read
/// [`EditAttachments`] for explanation.
/// Resets existing attachments. See the documentation for [`EditAttachments`] for details.
pub fn new_attachment(self, attachment: CreateAttachment) -> Self {
#[allow(deprecated)]
Self(self.0.new_attachment(attachment))
}

Expand Down

0 comments on commit 18a22b6

Please sign in to comment.