Star payments, FilterBotCommand, layer 195
What's Changed
- Add full support for star payments with the new object-based DialogGiftStars, DialogStarGift updates by @mtalaeii in #1582
- Add support fo commands (automatically and optionally postfixed with the current bot's username) with FilterBotCommand by @mtalaeii in #1587
- Added the
getWaitTimeLeft
method andexpires
property to all RateLimitErrors, to obtain the exact time when the rate limit will expire by @danog - Update to layer 195
Fixes:
- Fix handling of rate limiting and other errors during file uploads, fixing upload hangs by @danog
- Now
wait()
ing a RateLimitError will only wait until the exact expiration date of the rate limit by @danog - Fix GOAWAY errors by bumping amphp/http-client
New Methods:
- messages.searchStickers
- bots.getAdminedBots
- bots.updateStarRefProgram
- payments.getConnectedStarRefBots
- payments.getConnectedStarRefBot
- payments.getSuggestedStarRefBots
- payments.connectStarRefBot
- payments.editConnectedStarRefBot
Changed Methods:
- Added referer param to contacts.resolveUsername
- Removed invoice_slug param from payments.botCancelStarsSubscription
New Constructors:
- starRefProgram
- connectedBotStarRef
- payments.connectedStarRefBots
- payments.suggestedStarRefBots
- starsAmount
- messages.foundStickersNotModified
- messages.foundStickers
Changed Constructors:
- Added subscription_until_date param to messageActionPaymentSentMe
- Added subscription_until_date param to messageActionPaymentSent
- Added starref_program param to userFull
- Added starref_commission_permille param to starsTransaction
- Added starref_peer param to starsTransaction
- Added starref_amount param to starsTransaction
Deleted Constructors:
- updateBotSubscriptionExpire
Full Changelog: 8.3.7...8.4.0