From 0993dfbcdb42b248c14790780f549b3f9a595cac Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 12 Dec 2019 11:18:11 +0800 Subject: [PATCH] test --- td.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td.go b/td.go index 08ba74c..49f2082 100644 --- a/td.go +++ b/td.go @@ -74,7 +74,7 @@ func ListenTG(c *tdlib.Client) { if updateMsg.Message.ReplyMarkup != nil { if updateMsg.Message.ReplyMarkup.GetReplyMarkupEnum() == tdlib.ReplyMarkupInlineKeyboardType { - rm := updateMsg.Message.ReplayMarkup.(*tdlib.ReplyMarkupInlineKeyboard) + rm := updateMsg.Message.ReplyMarkup.(*tdlib.ReplyMarkupInlineKeyboard) for k, v := range rm.Rows { fmt.Println("ReplyMarkupInlineKeyboard[%s][%s] : ", k, v.text) }