From 8c1cb7713ad4a53b84db330b85432a079fad194c Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 12 Dec 2019 11:27:11 +0800 Subject: [PATCH] test --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index 923e730..3f02f1c 100644 --- a/td.go +++ b/td.go @@ -77,7 +77,7 @@ func ListenTG(c *tdlib.Client) { rm := updateMsg.Message.ReplyMarkup.(*tdlib.ReplyMarkupInlineKeyboard) for k1, v1 := range rm.Rows { for k2, v2 := range v1 { - fmt.Printf("ReplyMarkupInlineKeyboard[%d][%d] : %s\n", k1, k2, v2.Text) + fmt.Printf("ReplyMarkupInlineKeyboard[%d][%d][%s] : %s\n", k1, k2, v2.Type.GetInlineKeyboardButtonTypeEnum(), v2.Text) } } }