From 0f611bfd17ccd4ece59a04051309b99cc9e2ab32 Mon Sep 17 00:00:00 2001 From: Victor Date: Tue, 6 Nov 2018 14:33:50 +0200 Subject: [PATCH] Add record/upload video note to ActionType --- .../telegram/telegrambots/meta/api/methods/ActionType.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/telegrambots-meta/src/main/java/org/telegram/telegrambots/meta/api/methods/ActionType.java b/telegrambots-meta/src/main/java/org/telegram/telegrambots/meta/api/methods/ActionType.java index 56c4f994..6b16949c 100644 --- a/telegrambots-meta/src/main/java/org/telegram/telegrambots/meta/api/methods/ActionType.java +++ b/telegrambots-meta/src/main/java/org/telegram/telegrambots/meta/api/methods/ActionType.java @@ -9,9 +9,11 @@ package org.telegram.telegrambots.meta.api.methods; public enum ActionType { TYPING("typing"), RECORDVIDEO("record_video"), + RECORDVIDEONOTE("record_video_note"), RECORDAUDIO("record_audio"), UPLOADPHOTO("upload_photo"), UPLOADVIDEO("upload_video"), + UPLOADVIDEONOTE("upload_video_note"), UPLOADAUDIO("upload_audio"), UPLOADDOCUMENT("upload_document"), FINDLOCATION("find_location"); @@ -36,12 +38,16 @@ public enum ActionType { return TYPING; case "record_video": return RECORDVIDEO; + case "record_video_note": + return RECORDVIDEONOTE; case "record_audio": return RECORDAUDIO; case "upload_photo": return UPLOADPHOTO; case "upload_video": return UPLOADVIDEO; + case "upload_video_note": + return UPLOADVIDEONOTE; case "upload_audio": return UPLOADAUDIO; case "upload_document":