export inline keyboard callbacks
This commit is contained in:
parent
e615d0ca7b
commit
5b7d7afd79
3
td.go
3
td.go
@ -82,7 +82,8 @@ func ListenTG(c *tdlib.Client) {
|
||||
Name: v2.Text,
|
||||
Data: v2.Type.(*tdlib.InlineKeyboardButtonTypeCallback).Data,
|
||||
}
|
||||
fmt.Printf("ReplyMarkupInlineKeyboard : %s => %s\n", cwcb.Name, string(cwcb.Data))
|
||||
m.Callbacks = append(m.Callbacks, cwcb)
|
||||
// fmt.Printf("ReplyMarkupInlineKeyboard : %s => %s\n", cwcb.Name, string(cwcb.Data))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user