mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-29 13:27:44 +00:00
docs: Update api.md
This commit is contained in:
parent
b60f065a83
commit
15c878ea89
@ -54,6 +54,8 @@ TelegramBot
|
||||
* [.createChatInviteLink(chatId, [options])](#TelegramBot+createChatInviteLink) ⇒ <code>Object</code>
|
||||
* [.editChatInviteLink(chatId, inviteLink, [options])](#TelegramBot+editChatInviteLink) ⇒ <code>Object</code>
|
||||
* [.revokeChatInviteLink(chatId, [options])](#TelegramBot+revokeChatInviteLink) ⇒ <code>Object</code>
|
||||
* [.approveChatJoinRequest(chatId, userId, [options])](#TelegramBot+approveChatJoinRequest) ⇒ <code>Boolean</code>
|
||||
* [.declineChatJoinRequest(chatId, userId, [options])](#TelegramBot+declineChatJoinRequest) ⇒ <code>Boolean</code>
|
||||
* [.setChatPhoto(chatId, photo, [options], [fileOptions])](#TelegramBot+setChatPhoto) ⇒ <code>Promise</code>
|
||||
* [.deleteChatPhoto(chatId, [options])](#TelegramBot+deleteChatPhoto) ⇒ <code>Promise</code>
|
||||
* [.setChatTitle(chatId, title, [options])](#TelegramBot+setChatTitle) ⇒ <code>Promise</code>
|
||||
@ -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 [<code>TelegramBot</code>](#TelegramBot)
|
||||
**See**: https://core.telegram.org/bots/api#sendchataction
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user