diff --git a/td.go b/td.go index 7a4d085..cb98715 100644 --- a/td.go +++ b/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)) } } }