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
Buttononly makes inline buttons now. For reply keyboards use the newReplyButton.Button::mini_app_simpleis removed, since layer 229 has no inline version of it.check_qr_loginnow returnsSignInError.InlineResult::sendaccepts anyPeerRefand gives back the sent message when Telegram returns it.DcPool::get_or_create_slotis gone.
Added
ErrorKind::FileReferenceExpired, so you can refresh a file reference and retry.compacttables in the HTML and Markdown parsers.ReplyButtonfor reply keyboards.
Fixed
- A DC slot is dropped on
CONNECTION_NOT_INITEDand recreated, instead of failing on every later call. - Cancelled calls no longer leave a slot stuck as busy.
auth_key_bytesandfirst_saltnow return the permanent key and salt, so what you save is the right one.check_qr_loginhandles 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
- @rastuhacode made their first contribution in #16
Full Changelog: v0.6.5...v0.6.6