github ankit-chaubey/ferogram v0.3.9

latest releases: v0.6.7, v0.6.7-b1, v0.6.6...
6 months ago

ferogram v0.3.9

Layer 225 support, a revamped poll API, guest-chat support for bots, and full MarkdownV2 compliance.

Breaking changes

  • send_poll now uses PollBuilder instead of flat args.
    Supports public_voters, shuffle_answers, hide_results_until_close, close_period, close_date, solution, subscribers_only, and countries_iso2.

  • parse_markdown now follows Telegram Bot API MarkdownV2.
    __text__ is now Underline, not Italic.. use _text_ for italics.

  • parse_markdown_v1 is deprecated and may be removed in future.

New

  • Update::GuestChatQuery + full GuestChatAnswer builder support.
  • Client::delete_reaction(peer, msg_id, participant)
  • Client::get_poll_stats(peer, msg_id)
  • BannedRights::send_reactions(bool)

Improvements

  • Correct user ID extraction for CallbackQuery, InlineQuery, InlineSend, and GuestChatQuery.
  • Added HTML support for:
    • <ins>
    • <span class="tg-spoiler">
    • <blockquote>
    • <blockquote expandable>
    • <tg-time>
  • Fixed <pre><code class="language-X"> double-entity bug.
  • generate_html and generate_markdown now emit all supported entities properly.

Full Changelog: v0.3.8...v0.3.9

Don't miss a new ferogram release

NewReleases is sending notifications on new releases.