Prechádzať zdrojové kódy

[tgbot] Fix reply keyboard height

Masoud Hidden 1 rok pred
rodič
commit
a21bdc9396
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      web/service/tgbot.go

+ 1 - 1
web/service/tgbot.go

@@ -707,7 +707,7 @@ func (t *Tgbot) clientTelegramUserInfo(chatId int64, email string, messageID ...
 			tu.KeyboardRow(
 				tu.KeyboardButton("❌ Close Keyboard"),
 			),
-		).WithIsPersistent()
+		).WithIsPersistent().WithResizeKeyboard()
 		t.SendMsgToTgbot(chatId, "👤 Select a telegram user:", keyboard)
 	}
 }