Merge pull request #10 from aaomidi/master

Update README.md
This commit is contained in:
llya Kowalewski 2015-10-04 13:10:39 +03:00
commit 1492f3688f

View File

@ -39,9 +39,11 @@ if err != nil {
return err return err
} }
// Next time you send &boom, telebot won't issue audio := telebot.Audio{File: boom}
// Next time you send &audio, telebot won't issue
// an upload, but would re-use existing file. // an upload, but would re-use existing file.
err = bot.SendAudio(recipient, &boom, nil) err = bot.SendAudio(recipient, &audio, nil)
``` ```
Sometimes you might want to send a little bit complicated messages, with some optional parameters: Sometimes you might want to send a little bit complicated messages, with some optional parameters: