diff --git a/src/lib.rs b/src/lib.rs index 797c36a7..cca00141 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,7 +24,7 @@ //! //! let me = bot.get_me().await?; //! -//! bot.send_dice(chat_id, DiceEmoji::Dice).await?; +//! bot.send_dice(chat_id).emoji(DiceEmoji::Dice).await?; //! bot.send_message(chat_id, format!("Hi, my name is **{}** 👋", me.first_name)) //! .await?; //! # Ok::<_, Box>(()) };