Skip to content

Commit

Permalink
corrected button-handler example mentioned in tucnak#66
Browse files Browse the repository at this point in the history
  • Loading branch information
irgendwr authored Dec 13, 2017
1 parent 62ac17d commit 3c44abd
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 @@ -359,7 +359,7 @@ func main() {
// on inline button pressed (callback!)

// always respond!
c.Respond(&tb.CallbackResponse{...})
b.Respond(c, &tb.CallbackResponse{...})
})

// Command: /start <PAYLOAD>
Expand Down

0 comments on commit 3c44abd

Please sign in to comment.