This commit is contained in:
Waffle 2021-01-21 10:15:02 +03:00
parent cc9e3a56e6
commit 3aec4e5070

View file

@ -24,7 +24,7 @@
//! //!
//! let me = bot.get_me().await?; //! 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)) //! bot.send_message(chat_id, format!("Hi, my name is **{}** 👋", me.first_name))
//! .await?; //! .await?;
//! # Ok::<_, Box<dyn std::error::Error>>(()) }; //! # Ok::<_, Box<dyn std::error::Error>>(()) };