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) }