We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca6ba78 commit e9ff044Copy full SHA for e9ff044
1 file changed
docs/api/buttons.rst
@@ -34,7 +34,7 @@ information about them.
34
btns = botogram.Buttons()
35
btns[0].url("Visit example.com", "http://www.example.com")
36
btns[1].url("example.net", "http://www.example.net")
37
- btns[2].url("example.org", "http://www.example.org")
+ btns[1].url("example.org", "http://www.example.org")
38
39
chat.send("Check out some example sites!", attach=btns)
40
@@ -71,7 +71,7 @@ information about them.
71
72
73
btns[0].callback("Commit changes", "commit")
74
- btns[1].callback("Checkout master", "checkout", "master")
+ btns[0].callback("Checkout master", "checkout", "master")
75
76
:param str label: The label of the button shown to the user
77
:param str callback: The internal name of the callback
0 commit comments