REPOSITORY / ScuroNeko/Laniakea
Releases
-
1.0.0 RC 4 Pre-Release
released this
2026-03-19 15:10:49 +03:00 | 67 commits to dev since this releaseWhat's New
Context-aware method coverage
Added
WithContextvariants 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
Seereferences to method-specific Telegram Bot API anchors.Telegram API compatibility fixes
Adjusted several request parameter structs to match current Telegram Bot API docs:
EditMessageTextP: addedentities,link_preview_optionsEditMessageCaptionP: addedcaption_entities,show_caption_above_mediaStopPollP: now usesreply_markup(removedinline_message_id)SendStickerP: added reply/suggested-post related fields- Added missing media
thumbnailfields where applicable SendDocumentP: addeddisable_content_type_detectionSendInvoiceP: removed unsupportedbusiness_connection_id
Webhook certificate upload flow
setWebhookcertificate is now treated as multipart upload:- added uploader constant:
UploaderCertificateType - added
UploadSetWebhookP - added
Uploader.SetWebhook(...)andUploader.SetWebhookWithContext(...) SetWebhookPno longer containscertificate; 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.Certificatemust migrate toUploader.SetWebhook(...).
Full Changelog: v1.0.0-rc.3...v1.0.0-rc.4
Downloads