mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-10 20:12:25 +01:00
fix self_info
example
This commit is contained in:
parent
5b328105fa
commit
bfef7f3c5d
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
|
||||
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?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue