test
This commit is contained in:
parent
470f44eae0
commit
0993dfbcdb
2
td.go
2
td.go
@ -74,7 +74,7 @@ func ListenTG(c *tdlib.Client) {
|
|||||||
|
|
||||||
if updateMsg.Message.ReplyMarkup != nil {
|
if updateMsg.Message.ReplyMarkup != nil {
|
||||||
if updateMsg.Message.ReplyMarkup.GetReplyMarkupEnum() == tdlib.ReplyMarkupInlineKeyboardType {
|
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 {
|
for k, v := range rm.Rows {
|
||||||
fmt.Println("ReplyMarkupInlineKeyboard[%s][%s] : ", k, v.text)
|
fmt.Println("ReplyMarkupInlineKeyboard[%s][%s] : ", k, v.text)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user