abeya-tg-api 0.0.1-security → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of abeya-tg-api might be problematic. Click here for more details.

@@ -0,0 +1,68 @@
1
+ <!--
2
+ This template includes three sections:
3
+ 1. Bug reporting
4
+ 2. Feature request
5
+ 3. Question
6
+
7
+ Please remove sections that do not apply to your issue
8
+ -->
9
+
10
+
11
+
12
+ <!--********************************************************************
13
+ Reporting a Bug.
14
+ *********************************************************************-->
15
+
16
+ > Bug Report
17
+
18
+ I have read:
19
+
20
+ * [Usage information](https://github.com/yagop/node-telegram-bot-api/tree/master/doc/usage.md)
21
+ * [Help information](https://github.com/yagop/node-telegram-bot-api/tree/master/doc/help.md)
22
+
23
+ I am using the latest version of the library.
24
+
25
+ ### Expected Behavior
26
+
27
+ <!-- Explain what you are trying to achieve -->
28
+
29
+ ### Actual Behavior
30
+
31
+ <!-- Explain what happens, contrary to what you expected -->
32
+
33
+ ### Steps to reproduce the Behavior
34
+
35
+ <!-- Explain how we can reproduce the bug -->
36
+
37
+
38
+
39
+ <!--********************************************************************
40
+ Feature Request.
41
+ *********************************************************************-->
42
+
43
+ > Feature Request
44
+
45
+ I have:
46
+
47
+ * searched for such a feature request (https://github.com/yagop/node-telegram-bot-api/labels/enhancement) and found none
48
+
49
+ ### Introduction
50
+
51
+ <!-- Describe what value this feature would add, and in which use case,
52
+ or scenario -->
53
+
54
+ ### Example
55
+
56
+ <!-- A code snippet of how this feature would work, were it already
57
+ implemented -->
58
+
59
+
60
+
61
+ <!--********************************************************************
62
+ Question.
63
+ *********************************************************************-->
64
+
65
+ > Question
66
+
67
+ <!-- Ask your question here. Please be precise, adding as much detail
68
+ as necessary. Also, add a code snippet(s) if possible. -->
@@ -0,0 +1,23 @@
1
+ <!--
2
+ Mark whichever option below applies to this PR.
3
+ For example, if your PR passes all tests, you would mark the option as so:
4
+ - [x] All tests pass
5
+ Note the 'x' in between the square brackets '[]'
6
+ -->
7
+ - [ ] All tests pass
8
+ - [ ] I have run `npm run doc`
9
+
10
+ ### Description
11
+
12
+ <!-- Explain what you are trying to achieve with this PR -->
13
+
14
+ ### References
15
+
16
+ <!--
17
+ Add references to other documents/pages that are relevant to this
18
+ PR, such as related issues, documentation, etc.
19
+
20
+ For example,
21
+ * Issue #1: https://github.com/yagop/node-telegram-bot-api/issues/1
22
+ * Telegram Bot API - Getting updates: https://core.telegram.org/bots/api#getting-updates
23
+ -->
package/CHANGELOG.md ADDED
@@ -0,0 +1,565 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ This project adheres to [Semantic Versioning](http://semver.org/).
5
+
6
+ ## [0.68.0][0.68.0] - UNRELEASE
7
+
8
+ 1. Support Telegram Bot API 9.1 (@danielperez9430)
9
+ * sendChecklist
10
+ * editMessageChecklist
11
+ * getMyStarBalance
12
+
13
+ 2. Support Telegram Bot API 9.0 (@danielperez9430)
14
+ * readBusinessMessage
15
+ * deleteBusinessMessages
16
+ * setBusinessAccountName
17
+ * setBusinessAccountUsername
18
+ * setBusinessAccountBio
19
+ * setBusinessAccountProfilePhoto
20
+ * removeBusinessAccountProfilePhoto
21
+ * setBusinessAccountGiftSettings
22
+ * getBusinessAccountStarBalance
23
+ * transferBusinessAccountStars
24
+ * getBusinessAccountGifts
25
+ * convertGiftToStars
26
+ * upgradeGift
27
+ * transferGift
28
+ * postStory
29
+ * editStory
30
+ * deleteStory
31
+ * giftPremiumSubscription
32
+
33
+ 3. Support Telegram Bot API 8.2 and 8.3 (@danielperez9430)
34
+ * verifyUser
35
+ * verifyChat
36
+ * removeUserVerification
37
+ * removeChatVerification
38
+
39
+ 4. Support Telegram Bot API 8.0 and 8.1
40
+ * savePreparedInlineMessage (@IsmailBinMujeeb & @danielperez9430)
41
+ * setUserEmojiStatus (@danielperez9430)
42
+ * editUserStarSubscription (@danielperez9430)
43
+ * getAvailableGifts (@danielperez9430)
44
+ * sendGift (@danielperez9430)
45
+
46
+ 5. Support Telegram Bot API 7.10 (@danielperez9430)
47
+ * Update: `purchased_paid_media`
48
+
49
+ 6. Support Telegram Bot API 7.6 (@danielperez9430)
50
+ * sendPaidMedia
51
+
52
+ ## [0.67.0][0.67.0] - 2024-05-30
53
+
54
+ 1. Support Telegram Bot API 7.4 (@danielperez9430)
55
+ * refundStarPayment
56
+
57
+ ## [0.66.0][0.66.0] - 2024-05-03
58
+
59
+ 1. Support Telegram Bot API 7.2 & 7.3 (@danielperez9430)
60
+ * getBusinessConnection
61
+ * replaceStickerInSet
62
+
63
+ 2. Support for updates: (@danielperez9430)
64
+ * business_connection
65
+ * business_message
66
+ * edited_business_message
67
+ * deleted_business_messages
68
+
69
+ 3. Minor fixes: (@danielperez9430)
70
+ * getUserChatBoosts
71
+
72
+ ## [0.65.1][0.65.1] - 2024-03-09
73
+
74
+ 1. Support for updates (@danielperez9430)
75
+ * message_reaction
76
+ * message_reaction_count
77
+ * chat_boost
78
+ * removed_chat_boost
79
+
80
+ ## [0.65.0][0.65.0] - 2024-02-20
81
+
82
+ 1. Support Telegram Bot API v7.1
83
+ * deleteMessages (@Sp3ricka)
84
+ * copyMessages (@xjx0106 & @Sp3ricka)
85
+ * setMessageReaction (@Sp3ricka)
86
+ * forwardMessages (@danielperez9430)
87
+ * getUserChatBoosts (@danielperez9430)
88
+
89
+ 2. Minor changes: (@danielperez9430)
90
+ * Refactor methods order
91
+ * Fix copyMessages & setMessageReaction methods
92
+ * Added missing tests
93
+ * Fix tests for methods copyMessages & getMyDefaulAdministratorRights
94
+
95
+ ## [0.64.0][0.64.0] - 2023-10-25
96
+
97
+ 1. Replace `request` with a maintained version (@danielperez9430)
98
+ * Change `request` to `@cypress/request`
99
+ * Change `request-promise` to `@cypress/request-promise`
100
+
101
+ ## [0.63.0][0.63.0] - 2023-08-23
102
+
103
+ 1. Support Telegram Bot API v6.8 (@danielperez9430)
104
+ * unpinAllGeneralForumTopicMessages
105
+
106
+ ## [0.62.0][0.62.0] - 2023-03-19
107
+
108
+ 1. Support Telegram Bot API v6.6 & v6.7 (@danielperez9430)
109
+ * setMyDescription
110
+ * getMyDescription
111
+ * setMyShortDescription
112
+ * getMyShortDescription
113
+ * setCustomEmojiStickerSetThumbnail
114
+ * setStickerSetTitle
115
+ * deleteStickerSet
116
+ * setStickerEmojiList
117
+ * setStickerKeywords
118
+ * setStickerMaskPosition
119
+
120
+ ## [0.61.0][0.61.0] - 2022-12-30
121
+
122
+ 1. Support Telegram Bot API v6.4 (@danielperez9430)
123
+ * editGeneralForumTopic
124
+ * closeGeneralForumTopic
125
+ * reopenGeneralForumTopic
126
+ * hideGeneralForumTopic
127
+ * unhideGeneralForumTopic
128
+
129
+ 2. Minor changes: (@danielperez9430)
130
+ * The parameters `name` and `icon_custom_emoji_id` of the method `editForumTopic` are now optional.
131
+ * Fix add thumb in sendAudio, sendVideo and sendVideoNote
132
+ * Fix getMyCommands and setMyCommands
133
+ * Suggested tip amounts stringify in sendInvoice
134
+
135
+ ## [0.60.0][0.60.0] - 2022-10-06
136
+
137
+ 1. Support Telegram Bot API v6.3 (@danielperez9430)
138
+ * createForumTopic
139
+ * closeForumTopic
140
+ * reopenForumTopic
141
+ * deleteForumTopic
142
+ * unpinAllForumTopicMessages
143
+ * getForumTopicIconStickers
144
+
145
+ 2. Fix test getMyDefaultAdministratorRights (@danielperez9430)
146
+
147
+ 3. Fix parse entities - (@toniop99)
148
+
149
+ ## [0.59.0][0.59.0] - 2022-08-15
150
+
151
+ 1. Support Telegram Bot API v6.2 (@danielperez9430)
152
+ * getCustomEmojiStickers
153
+
154
+ 2. Support test enviroment (@tinsaeDev & @kamikazechaser)
155
+
156
+ 3. Remove dependencies: (@danielperez9430)
157
+ * Remove *bluebird* => Use NodeJS Native Promises
158
+ * Remove *depd* => Use node native deprecate util for warnings
159
+ * Remove contributor dev dependency and add list of contributors in the readme
160
+
161
+ 4. Remove legacy methods: (@danielperez9430)
162
+ * getChatMembersCount
163
+ * kickChatMember
164
+
165
+ 5. Docs: (@danielperez9430)
166
+ * Update the docs of the methods
167
+ * Order methods follow the Telegram bot API docs in src/telegram.js
168
+ * Update README
169
+
170
+ 6. Fix: (@danielperez9430)
171
+ * addStickerToSet() -> Allow to send tgs_sticker + webm_sticker
172
+ * Remove mandatory param “start_parameter” from sendInvoice, because in the docs is a optional param
173
+ * getStickerSet test fix deprecated response value "contains_masks" change to "sticker_type"
174
+ * Fix some other tests
175
+
176
+ 7. New Test: (@danielperez9430)
177
+ * deleteStickerFromSet
178
+ * setStickerPositionInSet
179
+ * getCustomEmojiStickers
180
+
181
+ ## [0.58.0][0.58.0] - 2022-06-22
182
+
183
+ 1. Support Bot API v6.1: (@danielperez9430)
184
+ * Add method *createInvoiceLink()*
185
+
186
+ 2. Support for setStickerSetThumb (@elihaidv)
187
+
188
+ 3. Add new test (@danielperez9430)
189
+ * createInvoiceLink
190
+
191
+ 4. Test fixes (@danielperez9430)
192
+ * sendVideoNote
193
+ * createNewStickerSet
194
+ * setStickerSetThumb
195
+ * getChatMenuButton
196
+ * setWebHook
197
+
198
+ 5. Bug fixes (@danielperez9430)
199
+ * answerWebAppQuery
200
+ * Support for send thumb in sendAudio
201
+
202
+ ## [0.57.0][0.57.0] - 2022-04-23
203
+
204
+ Added:
205
+
206
+ 1. Support Bot API v6: (@danielperez9430)
207
+
208
+ * Add method *setChatMenuButton()*
209
+ * Add method *getChatMenuButton()*
210
+ * Add method *setMyDefaultAdministratorRights()*
211
+ * Add method *getMyDefaultAdministratorRights()*
212
+ * Add method *answerWebAppQuery()*
213
+ * 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
214
+
215
+
216
+ Tests:
217
+
218
+ * answerWebAppQuery
219
+ * setChatMenuButton
220
+ * getChatMenuButton
221
+ * setMyDefaultAdministratorRights
222
+ * getMyDefaultAdministratorRights
223
+
224
+ ## [0.56.0][0.56.0] - 2021-12-07
225
+
226
+ Added:
227
+
228
+ 1. Support Bot API v5.5: (@danielperez9430)
229
+
230
+ * Add method *banChatSenderChat()*
231
+ * Add method *unbanChatSenderChat()*
232
+
233
+ Fixes:
234
+
235
+ * Tests for support with new invite link format
236
+
237
+ ## [0.55.0][0.55.0] - 2021-11-06
238
+
239
+ Added:
240
+
241
+ 1. Support Bot API v5.4: (@danielperez9430)
242
+
243
+ * Add method *approveChatJoinRequest()*
244
+ * Add method *declineChatJoinRequest()*
245
+ * Add support for new updates:
246
+ * *chat_join_request*
247
+
248
+ Fixes:
249
+
250
+ * Method *editMessageMedia*: Now you can send a local file (`"attach://" + filePatch`)
251
+
252
+ ## [0.54.0][0.54.0] - 2021-06-29
253
+
254
+ Added:
255
+
256
+ 1. Support Bot API v5.3: (@danielperez9430)
257
+
258
+ * Add method *deleteMyCommands()*
259
+ * Add method *banChatMember()*
260
+ * Add method *getChatMemberCount()*
261
+
262
+ New Test:
263
+
264
+ * deleteMyCommands
265
+ * banChatMember
266
+ * getChatMemberCount
267
+
268
+ Deprecated:
269
+ * Method *kickChatMember()*
270
+ * Method *getChatMembersCount()*
271
+
272
+ ## [0.53.0][0.53.0] - 2021-04-26
273
+
274
+ Added:
275
+
276
+ 1. Support Bot API v5.2:(@danielperez9430)
277
+
278
+ * Add support for new messageTypes:
279
+ * *voice_chat_scheduled*
280
+
281
+ ## [0.52.0][0.52.0] - 2021-03-20
282
+
283
+ Added:
284
+
285
+ 1. Support Bot API v5.1: (by @danielperez9430)
286
+
287
+ * Add method *createChatInviteLink()*
288
+ * Add method *editChatInviteLink()*
289
+ * Add method *revokeChatInviteLink()*
290
+ * Add support for new messageTypes:
291
+ * *voice_chat_started*
292
+ * *voice_chat_ended*
293
+ * *voice_chat_participants_invited*
294
+ * *message_auto_delete_timer_changed*
295
+ * *chat_invite_link*
296
+ * *chat_member_updated*
297
+ * Add support for new updates:
298
+ * *my_chat_member*
299
+ * *chat_member*
300
+
301
+ New Test: (by @danielperez9430)
302
+
303
+ * createChatInviteLink
304
+ * editChatInviteLink
305
+ * revokeChatInviteLink
306
+
307
+ ## [0.51.0][0.51.0] - 2020-11-04
308
+
309
+ Added:
310
+
311
+ 1. Support Bot API v5.0: (by @danielperez9430)
312
+
313
+ * Add method *copyMessage()*
314
+ * Add method *unpinAllChatMessages()*
315
+ * Add method *close()*
316
+ * Add method *logOut()*
317
+
318
+ Changed: (by @danielperez9430)
319
+
320
+ * Remove trailing-spaces
321
+ * Fix Bugs in Test
322
+
323
+ New Test: (by @danielperez9430)
324
+
325
+ * copyMessage
326
+ * unpinAllChatMessages
327
+
328
+ ## [0.50.0][0.50.0] - 2020-05-2020
329
+
330
+ Added:
331
+
332
+ 1. Support Bot API v4.8: (by @danielperez9430)
333
+ * Add methods: *sendDice()*
334
+ 2. Support Bot API v4.7: (by @danielperez9430)
335
+ * Add methods: *getMyCommands()*,*setMyCommands()*
336
+ 3. Support Bot API v4.5: (by @danielperez9430)
337
+ * Add methods: *setChatAdministratorCustomTitle()*
338
+ 4. Support Bot API v4.4: (by @danielperez9430)
339
+ * Add methods: *setChatPermissions()*
340
+ 5. Support for poll_answer (by @JieJiSS)
341
+ 6. Add request options in file stream (by @zhangpanyi )
342
+
343
+ Changed: (by @danielperez9430)
344
+
345
+ * New message type: *dice*
346
+ * Fix Bugs in tests
347
+ * Fix regex compare (by @ledamint)
348
+ * Fix listening for error events when downloading files (by @Kraigo)
349
+
350
+ New Test: (by @danielperez9430)
351
+
352
+ * sendDice
353
+ * getMyCommands
354
+ * setMyCommands
355
+ * setChatAdministratorCustomTitle
356
+ * setChatPermissions
357
+
358
+ ## [0.40.0][0.40.0] - 2019-05-04
359
+
360
+ Added:
361
+
362
+ 1. Support Bot API v4.2: (by @kamikazechaser)
363
+ * Add methods: *TelegramBot#sendPoll()*, *TelegramBot#stopPoll()*
364
+ * Support events: *poll*
365
+ 2. Support Bot API v4.0: (by @kamikazechaser)
366
+ * Add methods: *TelegramBot#editMessageMedia()*, *TelegramBot#sendAnimation()*
367
+ * Support new message types: *passport_data*, *animation*
368
+
369
+ * * *
370
+
371
+ ## [0.30.0][0.30.0] - 2017-12-21
372
+
373
+ Added:
374
+
375
+ 1. Support Bot API v3.5: (by @GochoMugo)
376
+ * Allow `provider_data` parameter in *TelegramBot#sendInvoice*
377
+ * Add method *TelegramBot#sendMediaGroup()*
378
+ 2. Support Bot API v3.4: (by @kamikazechaser)
379
+ * Add methods *TelegramBot#editMessageLiveLocation*, *TelegramBot#stopMessageLiveLocation* (#439)
380
+ * Add methods *TelegramBot#setChatStickerSet*, *TelegramBot#deleteChatStickerSet* (#440)
381
+ 3. Add methods:
382
+ * *TelegramBot#getFileStream* (#442) (by @GochoMugo, requested-by @Xaqron)
383
+ 4. Add options to *TelegramBot#stopPolling()* (by @GochoMugo)
384
+ 5. Add `metadata` argument in `message` event (and friends e.g. `text`, `audio`, etc.) (#409) (by @jlsjonas, @GochoMugo)
385
+ 6. Add forward-compatibility i.e. support future additional Telegram options (by @GochoMugo)
386
+ 7. Add support for Node.js v9 (by @GochoMugo)
387
+ 8. Document *TelegramBot.errors*, *TelegramBot.messageTypes* (by @GochoMugo)
388
+
389
+ Changed:
390
+
391
+ 1. Update *TelegramBot#answerCallbackQuery()* signature (by @GochoMugo)
392
+ 2. Improve default error logging of `polling_error` and `webhook_error` (#377)
393
+ 3. Update dependencies
394
+
395
+ Deprecated:
396
+
397
+ 1. Sending files: *(See [usage guide][usage-sending-files])* (by @hufan-akari, @GochoMugo)
398
+ * Error will **not** be thrown if `Buffer` is used and file-type could **not** be detected.
399
+ * Filename will **not** be set to `data.${ext}` if `Buffer` is used
400
+ * Content type will **not** default to `null` or `undefined`
401
+
402
+ Fixed:
403
+
404
+ 1. Fix the offset infinite loop bug (#265, #36) (by @GochoMugo)
405
+ 2. Fix game example (#449, #418) (by @MCSH)
406
+
407
+ * * *
408
+
409
+ ## [0.29.0][0.29.0] - 2017-10-22
410
+
411
+ Added:
412
+
413
+ 1. Add Bot API v3.2 methods:
414
+ * (#429) *TelegramBot#getStickerSet* (by @CapacitorSet, @LibertyLocked)
415
+ * (#430) *TelegramBot#uploadStickerFile* (by @CapacitorSet)
416
+ * *TelegramBot#createNewStickerSet*, *TelegramBot#addStickerToSet*, *TelegramBot#setStickerPositionInSet*, *TelegramBot#deleteStickerFromSet* (by @GochoMugo)
417
+ 2. Supports API v3.3
418
+
419
+ Deprecated:
420
+
421
+ 1. Auto-enabling Promise cancellation (#319) (by @GochoMugo)
422
+
423
+ * * *
424
+
425
+ ## [0.28.0][0.28.0] - 2017-08-06
426
+
427
+ Added:
428
+
429
+ 1. (#361) Support Bot API v3.1 (by @Lord-Protector, @kamikazechaser)
430
+ 2. (#332) Support Bot API v3.0 (by @kamikazechaser, @GochoMugo)
431
+ 3. Add *TelegramBot#removeTextListener()* (by @GochoMugo)
432
+ 4. (#342) Add game example (by @MCSH)
433
+ 5. (#315) List 'bot-brother' project in community section in README (by @saeedhei)
434
+
435
+ Changed:
436
+
437
+ 1. (#367) Update *TelegramBot#answerCallbackQuery()* signature (by @mnb3000)
438
+
439
+ Fixed:
440
+
441
+ 1. (#325) Fix global regexp state reset (by @Sirius-A)
442
+ 2. (#363) Fix download file path on windows (by @kucherenkovova)
443
+ 3. (#346) Fix anchor webhook link in docs (by @Coac)
444
+
445
+ * * *
446
+
447
+ ## [0.27.1][0.27.1] - 2017-04-07
448
+
449
+ Added:
450
+
451
+ 1. (#287) Add Express WebHook example (by @kamikazechaser)
452
+
453
+ Fixed:
454
+
455
+ 1. (#291) Improve docs (by @preco21)
456
+ 2. (#298) Fix running on Node v5 (by @jehy)
457
+ 3. (#307) Fix badge links in README (by @JaakkoLipsanen)
458
+ 4. Fix defaulting value of `options.polling.params.timeout` (by @GochoMugo)
459
+ 5. Fix typos in Github issue template (by @GochoMugo, requested-by @GingerPlusPlus)
460
+
461
+ * * *
462
+
463
+ ## [0.27.0][0.27.0] - 2017-02-10
464
+
465
+ Added:
466
+
467
+ 1. Add constructor options:
468
+ * (#243) `options.polling.params` (by @GochoMugo, requested-by @sidelux)
469
+ 2. Add methods:
470
+ * (#74) *TelegramBot#removeReplyListener()* (by @githugger)
471
+ 3. (#283) Add proper error handling (by @GochoMugo)
472
+ 4. (#272) Add health-check endpoint (by @mironov)
473
+ * `options.webHook.healthEndpoint`
474
+ 5. (#152) Add test for TelegramBot#sendDocument() using 'fileOpts'
475
+ param (by @evolun)
476
+ 6. Document `options.webHook.host` (by @GochoMugo)
477
+ 7. (#264) Add Bot API version to README (by @kamikazechaser)
478
+ 8. Add examples:
479
+ - (#271) WebHook on Heroku (by @TheBeastOfCaerbannog)
480
+ - (#274) WebHook on Zeit Now (by @Ferrari)
481
+
482
+ Changed:
483
+
484
+ 1. (#147) Use *String#indexOf()*, instead of *RegExp#test()*, to
485
+ find token in webhook request (by @AVVS)
486
+
487
+ Fixed:
488
+
489
+ * Fix bug:
490
+ - (#275, #280) fix es6 syntax error on Node.js v4.x (by @crazyabdul)
491
+ - (#276) promise.warning from `request-promise` (by @GochoMugo,
492
+ reported-by @preco21)
493
+ - (#281) fix handling error during polling (by @GochoMugo,
494
+ reported-by @dimawebmaker)
495
+ - (#284) fix error during deletion of already-set webhook, during
496
+ polling (by @GochoMugo, reported-by @dcparga)
497
+ 1. Fix links in documentation (by @Ni2c2k)
498
+
499
+ * * *
500
+
501
+ ## [0.26.0][0.26.0] - 2017-01-20
502
+
503
+ Added:
504
+
505
+ 1. Add *TelegramBot* constructor options:
506
+ * `options.https`
507
+ * `options.baseApiUrl`
508
+ * `options.filepath`
509
+ 2. Add methods:
510
+ * *TelegramBot#stopPolling()*
511
+ * *TelegramBot#isPolling()*
512
+ * *TelegramBot#openWebHook()*
513
+ * *TelegramBot#closeWebHook()*
514
+ * *TelegramBot#hasOpenWebHook()*
515
+ * *TelegramBot#deleteWebHook()*
516
+ * *TelegramBot#getWebHookInfo()*
517
+
518
+ Changed:
519
+
520
+ 1. Use POST requests by default
521
+ 2. Ensure all relevant methods return Promises
522
+ 3. Document auto-deletion of webhook during polling
523
+ 4. Deprecate support for Node.js v0.12
524
+ 5. Fix consistency of methods signatures
525
+ 6. Rename *TelegramBot#initPolling()* to *TelegramBot#startPolling()*
526
+ * Deprecate *TelegramBot#initPolling()*
527
+
528
+ Fixed:
529
+
530
+ 1. Handle error during formatting `formData`
531
+ 2. Fix ES6 syntax
532
+
533
+ *Credits/Blames: Unless explicitly stated otherwise, above work was
534
+ done by @GochoMugo*
535
+
536
+ * * *
537
+
538
+ ## [0.25.0][0.25.0] - 2016-12-21
539
+
540
+ Added:
541
+
542
+ 1. Supports the API v2.3 updates (by @kamikazechaser)
543
+ 2. Add *TelegramBot* constructor option:
544
+ * `options.request`: proxy extra request options (by @tarmolov)
545
+ * `options.onlyFirstMatch` (by @GingerPlusPlus)
546
+ 3. Add methods:
547
+ * *TelegramBot#sendVenue()* (by Tketa)
548
+ * *TelegramBot#sendContact()* (by @GochoMugo)
549
+ * *TelegramBot#getGameHighScores()* (by @jishnu7)
550
+
551
+ Fixed:
552
+
553
+ 1. Fix request performance issue (by @preco21)
554
+ 2. Fix typos (by oflisback)
555
+
556
+ [usage-sending-files]:https://github.com/yagop/node-telegram-bot-api/blob/master/doc/usage.md#sending-files-options
557
+
558
+ [0.25.0]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.25.0
559
+ [0.26.0]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.26.0
560
+ [0.27.0]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.27.0
561
+ [0.27.1]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.27.1
562
+ [0.28.0]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.28.0
563
+ [0.29.0]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.29.0
564
+ [0.30.0]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.30.0
565
+ [Unreleased]:https://github.com/yagop/node-telegram-bot-api/compare/v0.30.0...master