mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-30 05:48:00 +00:00
src/telegram: Add missing event 'video_note'
References: * API Message type: https://core.telegram.org/bots/api#message * API v3 progress tracker: https://github.com/yagop/node-telegram-bot-api/issues/332
This commit is contained in:
parent
fe527957e0
commit
73269e79e2
@ -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]
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user