github ankit-chaubey/ferogram v0.6.6

latest releases: v0.6.7, v0.6.7-b1
15 days ago

0.6.6

Updates to TL layer 229. Reply and inline keyboards are separate types now, and the DC pool no longer hands out connections that haven't finished setting up.

Breaking changes

  • Button only makes inline buttons now. For reply keyboards use the new ReplyButton. Button::mini_app_simple is removed, since layer 229 has no inline version of it.
  • check_qr_login now returns SignInError.
  • InlineResult::send accepts any PeerRef and gives back the sent message when Telegram returns it.
  • DcPool::get_or_create_slot is gone.

Added

  • ErrorKind::FileReferenceExpired, so you can refresh a file reference and retry.
  • compact tables in the HTML and Markdown parsers.
  • ReplyButton for reply keyboards.

Fixed

  • A DC slot is dropped on CONNECTION_NOT_INITED and recreated, instead of failing on every later call.
  • Cancelled calls no longer leave a slot stuck as busy.
  • auth_key_bytes and first_salt now return the permanent key and salt, so what you save is the right one.
  • check_qr_login handles 2FA, an already accepted token and one DC migration.

PR

  • fix: fix cancellation accounting, init DC slots before pool expansion by @rastuhacode in #16

New Contributors

Full Changelog: v0.6.5...v0.6.6

Don't miss a new ferogram release

NewReleases is sending notifications on new releases.