diff --git a/doc/api.md b/doc/api.md index b863fb7..1da6c16 100644 --- a/doc/api.md +++ b/doc/api.md @@ -54,6 +54,8 @@ TelegramBot * [.createChatInviteLink(chatId, [options])](#TelegramBot+createChatInviteLink) ⇒ Object * [.editChatInviteLink(chatId, inviteLink, [options])](#TelegramBot+editChatInviteLink) ⇒ Object * [.revokeChatInviteLink(chatId, [options])](#TelegramBot+revokeChatInviteLink) ⇒ Object + * [.approveChatJoinRequest(chatId, userId, [options])](#TelegramBot+approveChatJoinRequest) ⇒ Boolean + * [.declineChatJoinRequest(chatId, userId, [options])](#TelegramBot+declineChatJoinRequest) ⇒ Boolean * [.setChatPhoto(chatId, photo, [options], [fileOptions])](#TelegramBot+setChatPhoto) ⇒ Promise * [.deleteChatPhoto(chatId, [options])](#TelegramBot+deleteChatPhoto) ⇒ Promise * [.setChatTitle(chatId, title, [options])](#TelegramBot+setChatTitle) ⇒ Promise @@ -584,7 +586,8 @@ Send chat action. `typing` for text messages, `upload_photo` for photos, `record_video` or `upload_video` for videos, `record_voice` or `upload_voice` for audio files, `upload_document` for general files, -`find_location` for location data. +`choose_sticker` for stickers, `find_location` for location data, +`record_video_note` or `upload_video_note` for video notes. **Kind**: instance method of [TelegramBot](#TelegramBot) **See**: https://core.telegram.org/bots/api#sendchataction diff --git a/src/telegram.js b/src/telegram.js index 330b67f..e4b7b2c 100644 --- a/src/telegram.js +++ b/src/telegram.js @@ -1017,7 +1017,8 @@ class TelegramBot extends EventEmitter { * `typing` for text messages, * `upload_photo` for photos, `record_video` or `upload_video` for videos, * `record_voice` or `upload_voice` for audio files, `upload_document` for general files, - * `find_location` for location data. + * `choose_sticker` for stickers, `find_location` for location data, + * `record_video_note` or `upload_video_note` for video notes. * * @param {Number|String} chatId Unique identifier for the message recipient * @param {String} action Type of action to broadcast.