diff --git a/src/bot/download.rs b/src/bot/download.rs index 7035cfe7..3890d79e 100644 --- a/src/bot/download.rs +++ b/src/bot/download.rs @@ -17,10 +17,10 @@ impl Bot { /// ## Examples /// /// ```no_run - /// use teloxide::types::File as TgFile; + /// use teloxide_core::types::File as TgFile; /// use tokio::fs::File; - /// # use teloxide::RequestError; - /// use teloxide::{requests::Request, Bot}; + /// # use teloxide_core::RequestError; + /// use teloxide_core::{requests::Request, Bot}; /// /// # async fn run() -> Result<(), Box> { /// let bot = Bot::new("TOKEN"); diff --git a/src/types/inline_keyboard_button.rs b/src/types/inline_keyboard_button.rs index 12497463..fd108692 100644 --- a/src/types/inline_keyboard_button.rs +++ b/src/types/inline_keyboard_button.rs @@ -101,7 +101,7 @@ pub enum InlineKeyboardButtonKind { /// /// # Examples /// ``` -/// use teloxide::types::InlineKeyboardButton; +/// use teloxide_core::types::InlineKeyboardButton; /// /// let url_button = InlineKeyboardButton::url("Text".to_string(), "http://url.com".to_string()); /// ``` diff --git a/src/types/inline_keyboard_markup.rs b/src/types/inline_keyboard_markup.rs index b6884a96..06893959 100644 --- a/src/types/inline_keyboard_markup.rs +++ b/src/types/inline_keyboard_markup.rs @@ -25,7 +25,7 @@ pub struct InlineKeyboardMarkup { /// /// # Examples /// ``` -/// use teloxide::types::{InlineKeyboardButton, InlineKeyboardMarkup}; +/// use teloxide_core::types::{InlineKeyboardButton, InlineKeyboardMarkup}; /// /// let url_button = InlineKeyboardButton::url("text".to_string(), "http://url.com".to_string()); /// let keyboard = InlineKeyboardMarkup::default().append_row(vec![url_button]);