mirror of
https://github.com/tucnak/telebot
synced 2024-11-05 06:00:58 +00:00
commit
f834b6703e
@ -338,8 +338,8 @@ func main() {
|
||||
|
||||
var (
|
||||
// Universal markup builders.
|
||||
menu = &ReplyMarkup{ResizeReplyKeyboard: true}
|
||||
selector = &ReplyMarkup{}
|
||||
menu = &tele.ReplyMarkup{ResizeKeyboard: true}
|
||||
selector = &tele.ReplyMarkup{}
|
||||
|
||||
// Reply buttons.
|
||||
btnHelp = menu.Text("ℹ Help")
|
||||
@ -390,7 +390,7 @@ func main() {
|
||||
|
||||
You can use markup constructor for every type of possible buttons:
|
||||
```go
|
||||
r := &ReplyMarkup{}
|
||||
r := &tele.ReplyMarkup{}
|
||||
|
||||
// Reply buttons:
|
||||
r.Text("Hello!")
|
||||
|
Loading…
Reference in New Issue
Block a user