2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-28 12:57:38 +00:00

635 Commits

Author SHA1 Message Date
Sp3rick
cceea22a93
feat: Add methods deleteMessages and copyMessages
* Added setMessageReaction method
* Added setMessageReaction method

* Added and implemented _fixReplyParameters

---------

Co-authored-by: Sp3rick <your_email@example.com>
2024-02-20 19:47:13 +01:00
許景欣
e81ec60377
feat: add copyMessages method 2024-02-16 23:40:17 +01:00
Daniel
4fa9a735bb fix: RegexExp in process messges updates 2023-11-01 12:31:54 +01:00
Daniel
5385d41f1f feat: update to v0.64.0 version 2023-10-25 12:41:41 +02:00
Daniel Pérez Fernández
12d4d25af4
deps: Change request to @cypress/request (#1145) 2023-10-25 12:31:46 +02:00
Daniel
f17e801b8a docs: revokeChatInviteLink 2023-10-24 11:25:43 +02:00
Daniel Pérez Fernández
595cdbd0c6
feat: Telegram Bot API 6.8 support (#1113)
* feat: Telegram Bot API 6.8 support

* chore: telegramWebHook file format
2023-08-23 01:07:17 +02:00
Ilya Khrustalev
dfe24a4d38
docs: update api.md for setWebHook (fix #1083) (#1084) 2023-08-23 00:57:17 +02:00
Daniel Pérez Fernández
542002ec0d
feat: Telegram Bot API Support 6.6 + 6.7 [WIP] (#1069)
* feat: Telegram Bot API Support

* refactor: uploadStickerFile

* feat: Support Telegram Bot API v6.7

* fix: tests

* feat: Test for deleteStickerSet
2023-08-23 00:49:09 +02:00
Yago
2885db0e31
Merge pull request #1094 from kaiserdj/patch-1
docs: Update group link
2023-06-19 11:45:07 +09:00
Kaiserdj™
ad2b8c2ce1
docs: Update group link 2023-06-09 21:37:52 +02:00
Daniel
4ec6a68840 docs: Update group link 2023-06-07 15:36:22 +02:00
Karl-Heinz Wind
ab0eb183ad
fix: Handle rejected when open a webhook in a port that was already in use
Co-authored-by: windka <karl-heinz.wind.external@trumpf.com>
2023-05-03 10:32:25 +02:00
Dmitry Vyazin
c4164a21ce
docs: Update README 2023-05-03 10:29:58 +02:00
agoudbg
6077f9ba10
docs: update api.md for createNewStickerSet (#1043)
* fix: createNewStickerSet description error

* docs: Update api.md
2023-01-31 01:17:55 +01:00
Dmitry Vyazin
41f493ba82
docs: update README.md (#1044) 2023-01-31 01:17:06 +01:00
Daniel
53b5565e8a fix: remove try catch in _fixAddFileThumb 2022-12-31 14:07:51 +01:00
Daniel Pérez Fernández
58261d1be3
feat: Telegram Bot API 6.4 Support (#1040)
* feat: Telegram Bot API 6.4

* fix: Add Thumb sendVideo/...

* docs: Regenerate

* fix: set/get mycommands and suggested tip amounts
2022-12-30 20:47:36 +01:00
Yurii Hrom
4ef4fe9ba9
Update incorrect link in tutorials.md (#1027) 2022-11-19 17:52:25 +03:00
Daniel Pérez Fernández
ab5928669b
feat: Telegram Bot API v6.3 (#1020)
* feat: Telegram Topics

* update docs

* fix: test

* update: docs
2022-11-06 02:54:23 +01:00
Antonio Hernández
0eb8b8032f
fix: Parse entities when sending request (#1013) 2022-11-06 00:15:24 +01:00
Daniel Pérez Fernández
ccdd14670b
docs: Fix readme with correct link to api docs 2022-09-26 19:44:05 +02:00
Daniel Pérez Fernández
d85370452a
fix: Changelog 2022-08-29 10:22:39 +02:00
SerKo
22d99fd91d
docs: update @types install note (#999) 2022-08-24 17:11:22 +03:00
Daniel Pérez Fernández
fe4afd6533
feat: Support Bot API v6.2 (#996)
* docs: Update readme and add Typescript types

* feat: getCustomEmojiStickers

* feat: Add getCustomEmojiStickers test + fix other test

* fix: docs

* docs: Update changelog + docs
2022-08-15 21:44:44 +02:00
Tinsae
c9b05e7996
feat: Support test enviroment (#994)
* Added a support for testing enviroment

* Added annotation for testing enviroment and run doc

Co-authored-by: Mohamed Sohail <sohailsameja@gmail.com>
2022-08-15 01:00:41 +02:00
Daniel Pérez Fernández
f50cf982c7
Hotfix: tests + modify order src/telegram + docs (#988)
* test: stopPoll

* test: setChatStickerSet and deleteChatStickerSet

* refactor: src/telegram.js

* Remove legacy methods:
 - getChatMembersCount
 - getChatMembersCount
 - kickChatMember

* Remove mandatory param  “start_parameter” from sendInvoice, because actually is a optional param

* docs: Update docs API

* docs: Update

* fix: addStickerToSet

* fix: stringify

* refactor: And add deleteStickerFromSet + setStickerPositionInSet

* fix: eslint

* docs: Update changelog
2022-07-19 12:43:39 +02:00
Daniel Pérez Fernández
449f03f786
feat: Remove bluebird + depd (#987)
* feat: Remove bluebird

* docs: Update

* remove depd ans use node native deprecate msg warnings

* fix: correct util import name

* remove: contributor dev dependencie and add list of contributors in the readme
2022-07-18 08:41:31 +02:00
Daniel Pérez Fernández
d28875154c
feat: Telegram Bot API 6.1 and bug fixes (#977)
## [0.58.0][0.58.0] - 2022-06-22

1. Support Bot API v6.1: (@danielperez9430)
   * Add method *createInvoiceLink()*

2. Support for setStickerSetThumb (@elihaidv)

3. Add new test (@danielperez9430)
   * createInvoiceLink

4. Test fixes (@danielperez9430)
   * sendVideoNote
   * createNewStickerSet
   * setStickerSetThumb
   * getChatMenuButton
   * setWebHook

5. Bug fixes (@danielperez9430)
   * answerWebAppQuery
   * Support for send thumb in sendAudio
v0.58.0
2022-06-22 21:11:16 +02:00
Lawrence Onah
f97cad7588
Update README.md (#978) 2022-06-21 21:29:24 +02:00
Daniel Pérez Fernández
6ad9115fb1
Merge pull request #846 from elihaidv/master
setStickerSetThumb function added
2022-06-03 23:28:43 +02:00
Yago
72feca3d02
Merge pull request #966 from danielperez9430/master
Support for Telegram Bot API 6.0
2022-04-24 22:19:44 +02:00
danielperez9430
280a58c0e2 Support for Telegram Bot API 6.0
* Add method *setChatMenuButton()*
   * Add method *getChatMenuButton()*
   * Add method *setMyDefaultAdministratorRights()*
   * Add method *getMyDefaultAdministratorRights()*
   * Add method *answerWebAppQuery()*
   * Renamed the fields voice_chat_scheduled, voice_chat_started, voice_chat_ended, and voice_chat_participants_invited to video_chat_scheduled, video_chat_started, video_chat_ended, and video_chat_participants_invited

   Tests:

   * answerWebAppQuery
   * setChatMenuButton
   * getChatMenuButton
   * setMyDefaultAdministratorRights
   * getMyDefaultAdministratorRights
2022-04-23 01:01:34 +02:00
Antonio Hernández
0f33cb5ab7
doc: added missing documentation related to events (#938) 2022-02-06 20:14:29 +03:00
Yago
e114682f2e
Merge pull request #922 from danielperez9430/master
Telegram Bot API 5.5 Support
v0.56.0
2021-12-10 02:13:56 +01:00
danielperez9430
1a7f41c930 docs: Generate new docs 2021-12-09 02:27:50 +01:00
danielperez9430
c6cb87ec12 fix: Bug with docs 2021-12-09 02:27:38 +01:00
danielperez9430
bbbc6cb8b8 feat: Support Telegram Bot API 5.5 2021-12-07 16:43:16 +01:00
danielperez9430
5ff22148d8 feat: banChatSenderChat and unbanChatSenderChat methods 2021-12-07 16:42:00 +01:00
danielperez9430
19b5fc5bd3 fix(Test): Update test for new chat invite link format 2021-12-07 16:41:35 +01:00
Yago
68ac69cf99
Merge pull request #912 from danielperez9430/master
Support for Telegram Bot API 5.4
v0.55.0
2021-11-07 20:33:48 +01:00
Daniel Pérez Fernández
e119612b5f docs(Changelog) 2021-11-07 18:56:42 +01:00
Daniel Pérez Fernández
b9e8675736 fix: editMessageMedia - Now you can send a local file 2021-11-07 18:55:14 +01:00
Daniel Pérez Fernández
d87e8d258d chore: Update package.json version to 0.55.0 2021-11-07 16:08:57 +01:00
Daniel Pérez Fernández
a1e73481db docs: Update changelod and readme 2021-11-07 16:08:22 +01:00
Daniel Pérez Fernández
6c0f2e73c0 feat: Add support for new event "chat_join_request" 2021-11-07 16:07:50 +01:00
Daniel Pérez Fernández
15c878ea89 docs: Update api.md 2021-11-07 16:07:21 +01:00
Daniel Pérez Fernández
b60f065a83 feat: Add new method "approveChatJoinRequest" and "declineChatJoinRequest" 2021-11-07 16:06:51 +01:00
Daniel Pérez Fernández
921cb65fce docs: Update api.md 2021-11-07 16:06:04 +01:00
Alexander Cerutti
5cc6629ca0
Removed deprecated node-telegram-operations-manager from list (#896)
* Removed deprecated node-telegram-operations-manager from list

* Fixed repeated words
2021-08-12 21:19:34 +03:00