diff --git a/doc/usage.md b/doc/usage.md index 6d76ad3..64a6a0a 100644 --- a/doc/usage.md +++ b/doc/usage.md @@ -18,7 +18,7 @@ `new_chat_photo`, `delete_chat_photo`, `group_chat_created`, `game`, `pinned_message`, `migrate_from_chat_id`, `migrate_to_chat_id`, `channel_chat_created`, `supergroup_chat_created`, - `successful_payment`, `invoice` + `successful_payment`, `invoice`, `video_note` 1. `new_chat_participant`, `left_chat_participant` are **deprecated** 1. `callback_query`: Received a new incoming [Callback Query][callback-query] 1. `inline_query`: Received a new incoming [Inline Query][inline-query] diff --git a/src/telegram.js b/src/telegram.js index e9095d5..8ccae19 100644 --- a/src/telegram.js +++ b/src/telegram.js @@ -24,7 +24,7 @@ const _messageTypes = [ 'location', 'new_chat_members', 'left_chat_member', 'new_chat_title', 'new_chat_photo', 'delete_chat_photo', 'group_chat_created', 'game', 'pinned_message', 'migrate_from_chat_id', 'migrate_to_chat_id', 'channel_chat_created', 'supergroup_chat_created', - 'successful_payment', 'invoice' + 'successful_payment', 'invoice', 'video_note' ]; const _deprecatedMessageTypes = [ 'new_chat_participant', 'left_chat_participant'