From 9ed7ded967ec57bc693a3d652df4d125f955887b Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 8 Nov 2021 19:07:02 +0600 Subject: [PATCH] fix texts of bot actions --- .../kotlin/dev/inmo/tgbotapi/types/BotActionTests.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tgbotapi.core/src/commonTest/kotlin/dev/inmo/tgbotapi/types/BotActionTests.kt b/tgbotapi.core/src/commonTest/kotlin/dev/inmo/tgbotapi/types/BotActionTests.kt index 451b36d9a1..2f4e9cd6e7 100644 --- a/tgbotapi.core/src/commonTest/kotlin/dev/inmo/tgbotapi/types/BotActionTests.kt +++ b/tgbotapi.core/src/commonTest/kotlin/dev/inmo/tgbotapi/types/BotActionTests.kt @@ -27,6 +27,7 @@ class BotActionTests { FindLocationAction -> example.botAction.actionName RecordVideoNoteAction -> example.botAction.actionName UploadVideoNoteAction -> example.botAction.actionName + ChooseStickerAction -> example.botAction.actionName is CustomBotAction -> example.botAction.actionName } ) @@ -56,7 +57,8 @@ class BotActionTests { UploadDocumentAction.example(), FindLocationAction.example(), RecordVideoNoteAction.example(), - UploadVideoNoteAction.example() + UploadVideoNoteAction.example(), + ChooseStickerAction.example(), ).forEach { checkBotActionSerializeDeserialize(it) }