export inline keyboard callbacks

This commit is contained in:
shoopea 2019-12-12 11:40:25 +08:00
parent e615d0ca7b
commit 5b7d7afd79

3
td.go
View File

@ -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))
}
}
}