diff --git a/src/requests/requester.rs b/src/requests/requester.rs index c940eb80..09ff0641 100644 --- a/src/requests/requester.rs +++ b/src/requests/requester.rs @@ -20,7 +20,7 @@ use crate::{ pub trait Requester { type Err: std::error::Error + Send; - // This block is auto generated by `cg` (9a82143). + // This block is auto generated by `cg` (de3765b). // **DO NOT EDIT THIS BLOCK**, // edit `cg` instead. @@ -75,42 +75,42 @@ pub trait Requester { type SendPhoto: Request; - /// For telegram documentation see [`SendPhoto`] + /// For Telegram documentation see [`SendPhoto`]. fn send_photo(&self, chat_id: C, photo: InputFile) -> Self::SendPhoto where C: Into; type SendAudio: Request; - /// For telegram documentation see [`SendAudio`] + /// For Telegram documentation see [`SendAudio`]. fn send_audio(&self, chat_id: C, audio: InputFile) -> Self::SendAudio where C: Into; type SendDocument: Request; - /// For telegram documentation see [`SendDocument`] + /// For Telegram documentation see [`SendDocument`]. fn send_document(&self, chat_id: C, document: InputFile) -> Self::SendDocument where C: Into; type SendVideo: Request; - /// For telegram documentation see [`SendVideo`] + /// For Telegram documentation see [`SendVideo`]. fn send_video(&self, chat_id: C, video: InputFile) -> Self::SendVideo where C: Into; type SendAnimation: Request; - /// For telegram documentation see [`SendAnimation`] + /// For Telegram documentation see [`SendAnimation`]. fn send_animation(&self, chat_id: C, animation: InputFile) -> Self::SendAnimation where C: Into; type SendVoice: Request; - /// For telegram documentation see [`SendVoice`] + /// For Telegram documentation see [`SendVoice`]. fn send_voice(&self, chat_id: C, voice: InputFile) -> Self::SendVoice where C: Into; @@ -481,14 +481,14 @@ pub trait Requester { type EditMessageCaption: Request; - /// For telegram documentation see [`EditMessageCaption`] + /// For Telegram documentation see [`EditMessageCaption`]. fn edit_message_caption(&self, chat_id: C, message_id: i32) -> Self::EditMessageCaption where C: Into; type EditMessageCaptionInline: Request; - /// For telegram documentation see [`EditMessageCaptionInline`] + /// For Telegram documentation see [`EditMessageCaptionInline`]. fn edit_message_caption_inline( &self, inline_message_id: I, @@ -632,7 +632,7 @@ pub trait Requester { type SendInvoice: Request; - /// For telegram documentation see [`SendInvoice`] + /// For Telegram documentation see [`SendInvoice`]. fn send_invoice( &self, chat_id: i32, @@ -680,14 +680,14 @@ pub trait Requester { type SendGame: Request; - /// For telegram documentation see [`SendGame`] + /// For Telegram documentation see [`SendGame`]. fn send_game(&self, chat_id: u32, game_short_name: G) -> Self::SendGame where G: Into; type SetGameScore: Request; - /// For telegram documentation see [`SetGameScore`] + /// For Telegram documentation see [`SetGameScore`]. fn set_game_score( &self, user_id: u32, @@ -698,7 +698,7 @@ pub trait Requester { type SetGameScoreInline: Request; - /// For telegram documentation see [`SetGameScoreInline`] + /// For Telegram documentation see [`SetGameScoreInline`]. fn set_game_score_inline( &self, user_id: u32, @@ -710,7 +710,7 @@ pub trait Requester { type GetGameHighScores: Request; - /// For telegram documentation see [`GetGameHighScores`] + /// For Telegram documentation see [`GetGameHighScores`]. fn get_game_high_scores(&self, user_id: u32, target: T) -> Self::GetGameHighScores where T: Into;