test
This commit is contained in:
parent
470291f764
commit
b3ba33c863
2
td.go
2
td.go
@ -80,7 +80,7 @@ func ListenTG(c *tdlib.Client) {
|
|||||||
if v2.Type.GetInlineKeyboardButtonTypeEnum() == tdlib.InlineKeyboardButtonTypeCallbackType {
|
if v2.Type.GetInlineKeyboardButtonTypeEnum() == tdlib.InlineKeyboardButtonTypeCallbackType {
|
||||||
cwcb := ChatWarsCallback{
|
cwcb := ChatWarsCallback{
|
||||||
Name: v2.Text,
|
Name: v2.Text,
|
||||||
Data: v2.(*tdlib.InlineKeyboardButtonTypeCallback).Data,
|
Data: v2.Type.(*tdlib.InlineKeyboardButtonTypeCallback).Data,
|
||||||
}
|
}
|
||||||
fmt.Printf("ReplyMarkupInlineKeyboard : %s => %s\n", cwcb.Name, string(cwcb.Data))
|
fmt.Printf("ReplyMarkupInlineKeyboard : %s => %s\n", cwcb.Name, string(cwcb.Data))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user