test
This commit is contained in:
parent
5944664b5b
commit
8c1cb7713a
2
td.go
2
td.go
@ -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[%d][%d] : %s\n", k1, k2, v2.Text)
|
fmt.Printf("ReplyMarkupInlineKeyboard[%d][%d][%s] : %s\n", k1, k2, v2.Type.GetInlineKeyboardButtonTypeEnum(), v2.Text)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user