REPOSITORY / ScuroNeko/Laniakea

Releases

RELEASES REPOSITORY
  • 1.0.0 RC 4 Pre-Release

    ScuroNeko released this 2026-03-19 15:10:49 +03:00 | 67 commits to dev since this release

    What's New

    Context-aware method coverage

    Added WithContext variants across tgapi API and uploader methods so callers can pass cancellation/deadline contexts consistently.

    Documentation improvements

    Improved GoDoc for new context-aware methods and updated See references to method-specific Telegram Bot API anchors.

    Telegram API compatibility fixes

    Adjusted several request parameter structs to match current Telegram Bot API docs:

    • EditMessageTextP: added entities, link_preview_options
    • EditMessageCaptionP: added caption_entities, show_caption_above_media
    • StopPollP: now uses reply_markup (removed inline_message_id)
    • SendStickerP: added reply/suggested-post related fields
    • Added missing media thumbnail fields where applicable
    • SendDocumentP: added disable_content_type_detection
    • SendInvoiceP: removed unsupported business_connection_id

    Webhook certificate upload flow

    setWebhook certificate is now treated as multipart upload:

    • added uploader constant: UploaderCertificateType
    • added UploadSetWebhookP
    • added Uploader.SetWebhook(...) and Uploader.SetWebhookWithContext(...)
    • SetWebhookP no longer contains certificate; GoDoc points to uploader API for certificate upload

    Compatibility

    • Existing non-context methods remain available and unchanged in call style (Do(...) path preserved).
    • Users sending webhook certificates via JSON SetWebhookP.Certificate must migrate to Uploader.SetWebhook(...).

    Full Changelog: v1.0.0-rc.3...v1.0.0-rc.4

    Downloads