This commit is contained in:
shoopea 2019-12-12 11:23:12 +08:00
parent 73153cf725
commit 649372c63e

2
td.go
View File

@ -77,7 +77,7 @@ func ListenTG(c *tdlib.Client) {
rm := updateMsg.Message.ReplyMarkup.(*tdlib.ReplyMarkupInlineKeyboard) rm := updateMsg.Message.ReplyMarkup.(*tdlib.ReplyMarkupInlineKeyboard)
for k1, v1 := range rm.Rows { for k1, v1 := range rm.Rows {
for k2, v2 := range v1 { for k2, v2 := range v1 {
fmt.Printf("ReplyMarkupInlineKeyboard[%s][%s][%s] : \n", k1, k2, v2.Text) fmt.Printf("ReplyMarkupInlineKeyboard[%i][%i] : %s\n", k1, k2, v2.Text)
} }
} }
} }