This commit is contained in:
shoopea 2019-12-12 11:18:56 +08:00
parent 0993dfbcdb
commit 08488e7a5c

2
td.go
View File

@ -76,7 +76,7 @@ func ListenTG(c *tdlib.Client) {
if updateMsg.Message.ReplyMarkup.GetReplyMarkupEnum() == tdlib.ReplyMarkupInlineKeyboardType { if updateMsg.Message.ReplyMarkup.GetReplyMarkupEnum() == tdlib.ReplyMarkupInlineKeyboardType {
rm := updateMsg.Message.ReplyMarkup.(*tdlib.ReplyMarkupInlineKeyboard) rm := updateMsg.Message.ReplyMarkup.(*tdlib.ReplyMarkupInlineKeyboard)
for k, v := range rm.Rows { for k, v := range rm.Rows {
fmt.Println("ReplyMarkupInlineKeyboard[%s][%s] : ", k, v.text) fmt.Println("ReplyMarkupInlineKeyboard[%s][%s] : ", k, v.Text)
} }
} }
} }