Skip to content

Star payments, FilterBotCommand, layer 195

Compare
Choose a tag to compare
@danog danog released this 14 Dec 18:27
· 12 commits to v8 since this release

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 and expires 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:

Changed Methods:

New Constructors:

Changed Constructors:

Deleted Constructors:

  • updateBotSubscriptionExpire

Full Changelog: 8.3.7...8.4.0