Skip to content

Commit

Permalink
docs(readme): fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Dec 15, 2020
1 parent a0e1718 commit 7b1a399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if err != nil {
panic(err)
}
// Grab token from @BotFather.
if err := client.BotLogin(ctx, "token:12345"); err != nil {
if err := client.AuthBot(ctx, "token:12345"); err != nil {
panic(err)
}
// updates.getState#edd4882a
Expand Down

0 comments on commit 7b1a399

Please sign in to comment.