diff --git a/src/bot/api.rs b/src/bot/api.rs index bfb85e92..45bbf091 100644 --- a/src/bot/api.rs +++ b/src/bot/api.rs @@ -589,7 +589,7 @@ impl Bot { /// # Params /// - `file_id`: File identifier to get info about. /// - /// [`File`]: crate::types::file + /// [`File`]: crate::types::File /// [`GetFile`]: self::GetFile pub fn get_file(&self, file_id: F) -> GetFile where diff --git a/src/requests/all/get_file.rs b/src/requests/all/get_file.rs index 7017f420..d2d0556c 100644 --- a/src/requests/all/get_file.rs +++ b/src/requests/all/get_file.rs @@ -24,7 +24,7 @@ use crate::{ /// /// [The official docs](https://core.telegram.org/bots/api#getfile). /// -/// [`File`]: crate::types::file +/// [`File`]: crate::types::File /// [`GetFile`]: self::GetFile #[serde_with_macros::skip_serializing_none] #[derive(Debug, Clone, Serialize)]