From df88d83cfdbd6b0466d78d5e9fc28e6f6df240fe Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Thu, 13 Jan 2022 20:43:33 +0300 Subject: [PATCH] Fix documentation --- src/types/input_sticker.rs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/types/input_sticker.rs b/src/types/input_sticker.rs index 3ef26694..8da456f6 100644 --- a/src/types/input_sticker.rs +++ b/src/types/input_sticker.rs @@ -9,14 +9,17 @@ pub enum InputSticker { /// dimensions must not exceed 512px, and either width or height must be /// exactly 512px. /// - /// Pass [`InputFile::File`] to send a file that exists on - /// the Telegram servers (recommended), pass an [`InputFile::Url`] for + /// Pass [`InputFile::file_id`] to send a file that exists on + /// the Telegram servers (recommended), pass an [`InputFile::url`] for /// Telegram to get a .webp file from the Internet, or upload a new one - /// using [`InputFile::FileId`]. [More info on Sending Files »]. + /// using [`InputFile::file`], [`InputFile::memory`] or [`InputFile::read`]. + /// [More info on Sending Files »]. /// - /// [`InputFile::File`]: crate::types::InputFile::File - /// [`InputFile::Url`]: crate::types::InputFile::Url - /// [`InputFile::FileId`]: crate::types::InputFile::FileId + /// [`InputFile::file_id`]: InputFile::file_id + /// [`InputFile::url`]: InputFile::url + /// [`InputFile::file`]: InputFile::file + /// [`InputFile::memory`]: InputFile::memory + /// [`InputFile::read`]: InputFile::read /// /// [More info on Sending Files »]: https://core.telegram.org/bots/api#sending-files #[serde(rename = "png_sticker")]