Official MadelineProto channel. Italian Channel: @MadelineProtoIta Group: @pwrtelegramgroup
P.S. A stable release for Psalm v7 is coming super soon, subscribe to the @psalmphp channel for news and updates!
Читать полностью…Changed Constructors:
- Added video_cover param to inputMediaUploadedDocument
- Added video_timestamp param to inputMediaUploadedDocument
- Added video_cover param to inputMediaDocument
- Added video_timestamp param to inputMediaDocument
- Added video_cover param to inputMediaDocumentExternal
- Added video_timestamp param to inputMediaDocumentExternal
- Added bot_verification_icon param to user
- Added send_paid_messages_stars param to user
- Added bot_verification_icon param to channel
- Added send_paid_messages_stars param to channel
- Added stargifts_available param to channelFull
- Added paid_messages_available param to channelFull
- Added bot_verification param to channelFull
- Added stargifts_count param to channelFull
- Added report_delivery_until_date param to message
- Added paid_message_stars param to message
- Added reactions_are_possible param to messageService
- Added reactions param to messageService
- Added video_cover param to messageMediaDocument
- Added video_timestamp param to messageMediaDocument
- Added upgraded param to messageActionStarGift
- Added refunded param to messageActionStarGift
- Added can_upgrade param to messageActionStarGift
- Added upgrade_msg_id param to messageActionStarGift
- Added upgrade_stars param to messageActionStarGift
- Added from_id param to messageActionStarGift
- Added peer param to messageActionStarGift
- Added saved_id param to messageActionStarGift
- Added charge_paid_message_stars param to peerSettings
- Added registration_month param to peerSettings
- Added phone_country param to peerSettings
- Added name_change_date param to peerSettings
- Added photo_change_date param to peerSettings
- Added display_gifts_button param to userFull
- Added bot_verification param to userFull
- Added send_paid_messages_stars param to userFull
- Added disallowed_gifts param to userFull
- Removed premium_gifts param from userFull
- Added video_cover_photo param to webPage
- Added bot_verification param to chatInvite
- Added verifier_settings param to botInfo
- Added conference_call param to phoneCallWaiting
- Added conference_call param to phoneCallRequested
- Added conference_call param to phoneCallAccepted
- Added conference_call param to phoneCall
- Added conference_call param to phoneCallDiscarded
- Added title_noanimate param to dialogFilter
- Added title_noanimate param to dialogFilterChatlist
- Added display_gifts_button param to globalPrivacySettings
- Added noncontact_peers_paid_stars param to globalPrivacySettings
- Added disallowed_gifts param to globalPrivacySettings
- Added conference_from_call param to groupCall
- Added include_upgrade param to inputInvoiceStarGift
- Added peer param to inputInvoiceStarGift
- Removed user_id param from inputInvoiceStarGift
- Added until param to emojiStatus
- Added title_noanimate param to chatlists.chatlistInvite
- Added rights param to connectedBot
- Removed can_reply param from connectedBot
- Added rights param to botBusinessConnection
- Removed can_reply param from botBusinessConnection
- Added stargift_upgrade param to starsTransaction
- Added paid_messages param to starsTransaction
- Added premium_gift_months param to starsTransaction
- Added upgrade_stars param to starGift
Deleted Constructors:
- premiumGiftOption
- emojiStatusUntil
- userStarGift
- payments.userStarGifts
MadelineProto v9 is next!
Regarding MadelineProto: like for Psalm, I also now take support contracts for MadelineProto, which also help with the development of MadelineProto.
Support contracts can cover development of MadelineProto projects (only for projects that respect the Telegram ToS), support for MadelineProto issues and development of additional MadelineProto features.
See here for info, pricing and contact information!
Happy New Year everyone!
Best wishes for a happy and peaceful new year, and lots of fun with MadelineProto :)
I can't wait to show you all I'm cooking for 2025: MadelineProto v9, Psalm v6 and much more! ❤️
MadelineProto was updated (8.4.1)!
This release fixes webhost support.
Fixes:
- Fix webhost support (PHP 8.2+)
- Fix sponsored messages
- Improve sponsored message API docs
MadelineProto was updated (8.4.0)!
Star and subscribe also to the MadelineProto repo on GitHub to stay up to date on all the latest releases!
Fixes:
- Fix peer database issues by @danogentili
- Fix handling of rate limiting and other errors during file uploads, fixing upload hangs by @danogentili
- Now wait()ing a RateLimitError will only wait until the exact expiration date of the rate limit by @danogentili
- Add proper error when uploading empty files by @danogentili
- Fix ChannelParticipant::newParticipant default value by @Piagrammist
- Avoid inactivity timeouts when uploading files with RemoteUrl by @danogentili
- Make the $message param of CallbackQuery::answer nullable by @mtalaeii
- Fix GOAWAY errors by bumping amphp/http-client
Features:
- Add full support for star payments with the new object-based DialogGiftStars, DialogStarGift updates by @mtalaeii in #1582
- Add support fo commands (automatically and optionally postfixed with the current bot's username) with FilterBotCommand by @mtalaeii in #1587
- Added the getWaitTimeLeft method and expires property to all RateLimitErrors, to obtain the exact time when the rate limit will expire by @danogentili
- Update to layer 195
New Methods:
- messages.viewSponsoredMessage
- messages.clickSponsoredMessage
- messages.reportSponsoredMessage
- messages.getSponsoredMessages
- messages.savePreparedInlineMessage
- messages.getPreparedInlineMessage
- messages.searchStickers
- bots.updateUserEmojiStatus
- bots.toggleUserEmojiStatusPermission
- bots.checkDownloadFileParams
- bots.getAdminedBots
- bots.updateStarRefProgram
- payments.botCancelStarsSubscription
- payments.getConnectedStarRefBots
- payments.getConnectedStarRefBot
- payments.getSuggestedStarRefBots
- payments.connectStarRefBot
- payments.editConnectedStarRefBot
Changed Methods:
- Added referer param to contacts.resolveUsername
- Added allow_paid_floodskip param to messages.sendMessage
- Added allow_paid_floodskip param to messages.sendMedia
- Added allow_paid_floodskip param to messages.forwardMessages
- Added allow_paid_floodskip param to messages.sendMultiMedia
- Added fullscreen param to messages.requestWebView
- Added fullscreen param to messages.requestSimpleWebView
- Added fullscreen param to messages.requestAppWebView
- Added fullscreen param to messages.requestMainWebView
- Added peer param to stats.getBroadcastRevenueStats
- Removed channel param from stats.getBroadcastRevenueStats
- Added peer param to stats.getBroadcastRevenueWithdrawalUrl
- Removed channel param from stats.getBroadcastRevenueWithdrawalUrl
- Added peer param to stats.getBroadcastRevenueTransactions
- Removed channel param from stats.getBroadcastRevenueTransactions
- Added peer param to stories.searchPosts
Deleted Methods:
- channels.viewSponsoredMessage
- channels.getSponsoredMessages
- channels.clickSponsoredMessage
- channels.reportSponsoredMessage
New Constructors:
- inputPrivacyKeyStarGiftsAutoSave
- privacyKeyStarGiftsAutoSave
- inputPrivacyValueAllowBots
- inputPrivacyValueDisallowBots
- privacyValueAllowBots
- privacyValueDisallowBots
- starsTransactionPeerAPI
- messages.botPreparedInlineMessage
- messages.preparedInlineMessage
- botAppSettings
- starRefProgram
- connectedBotStarRef
- payments.connectedStarRefBots
- payments.suggestedStarRefBots
- starsAmount
- messages.foundStickersNotModified
- messages.foundStickers
MadelineProto was updated (8.3.2)!
Features:
- Update to layer 188
- Bump PHP version of docker image
- Add editHide field to Messages
- AsyncOrm: Allow specifying custom serializers in OrmMappedArray attributes
Fixes:
- Support @
s in FilterCommand
- Clear entries from the username database when the corresponding peer database entry is removed
- Fix minor Poll wrapping bug
- Ensure typing actions are broadcasted to the group, not directed to the sender
- Fix getEventHandler when passing the class name of the main event handler class
- Allow passing no language tag in <pre>
tags
- Fixes etag hash generation (also adding support for string values)
- Fix a broadcast issue, by starting the IPC server immediately when first creating a session, instead of waiting for the next restart.
- Pre-upload media when broadcasting for improved performance
- Improve cancellation logic
New Methods:
- messages.sendPaidReaction
- messages.togglePaidReactionPrivacy
- messages.getPaidReactionPrivacy
- payments.getStarsSubscriptions
- payments.changeStarsSubscription
- payments.fulfillStarsSubscription
- payments.getStarsGiveawayOptions
Changed Methods:
- Added subscription_pricing param to messages.exportChatInvite
- Added subscription_expired param to messages.getChatInviteImporters
- Added paid_enabled param to messages.setChatAvailableReactions
- Added signatures_enabled param to channels.toggleSignatures
- Added profiles_enabled param to channels.toggleSignatures
- Removed enabled param from channels.toggleSignatures
- Added media param to channels.clickSponsoredMessage
- Added fullscreen param to channels.clickSponsoredMessage
- Added subscription_id param to payments.getStarsTransactions
New Constructors:
- inputFileStoryDocument
- messageActionPrizeStars
- updateBotPurchasedPaidMedia
- updatePaidReactionPrivacy
- keyboardButtonCopy
- channelAdminLogEventActionToggleSignatureProfiles
- channelAdminLogEventActionParticipantSubExtend
- inputInvoiceChatInviteSubscription
- inputStorePaymentStarsGiveaway
- reactionPaid
- prepaidStarsGiveaway
- starsSubscriptionPricing
- starsSubscription
- messageReactor
- starsGiveawayOption
- starsGiveawayWinnersOption
Changed Constructors:
- Added payload param to inputMediaPaidMedia
- Added signature_profiles param to channel
- Added subscription_until_date param to channel
- Added paid_reactions_available param to channelFull
- Added alt_documents param to messageMediaDocument
- Removed alt_document param from messageMediaDocument
- Added stars param to messageMediaGiveaway
- Added stars param to messageMediaGiveawayResults
- Added stars param to messageActionGiveawayLaunch
- Added stars param to messageActionGiveawayResults
- Added video_codec param to documentAttributeVideo
- Added subscription_expired param to chatInviteExported
- Added subscription_pricing param to chatInviteExported
- Added can_refulfill_subscription param to chatInvite
- Added subscription_pricing param to chatInvite
- Added subscription_form_id param to chatInvite
- Added privacy_policy_url param to botInfo
- Added subscription_until_date param to channelParticipant
- Added subscription_until_date param to channelParticipantSelf
- Added sub_extend param to channelAdminLogEventsFilter
- Added media param to sponsoredMessage
- Added top_reactors param to messageReactions
- Added stars_prize param to payments.giveawayInfoResults
- Added stars param to boost
- Added withdrawal_enabled param to broadcastRevenueBalances
- Added reaction param to starsTransaction
- Added subscription_period param to starsTransaction
- Added giveaway_post_id param to starsTransaction
- Added subscriptions param to payments.starsStatus
- Added subscriptions_next_offset param to payments.starsStatus
- Added subscriptions_missing_balance param to payments.starsStatus
MadelineProto was updated (8.2.1)!
This updates MadelineProto to layer 185.
New Methods:
- messages.requestMainWebView
- bots.getPopularAppBots
- bots.addPreviewMedia
- bots.editPreviewMedia
- bots.deletePreviewMedia
- bots.reorderPreviewMedias
- bots.getPreviewInfo
- bots.getPreviewMedias
- payments.getStarsRevenueStats
- payments.getStarsRevenueWithdrawalUrl
- payments.getStarsRevenueAdsAccountUrl
- payments.getStarsTransactionsByID
- payments.getStarsGiftOptions
- stories.searchPosts
Changed Methods:
- Added bots_app param to contacts.getTopPeers
- Added effect param to messages.saveDraft
- Added compact param to messages.requestWebView
- Added compact param to messages.requestSimpleWebView
- Added compact param to messages.requestAppWebView
- Added ascending param to payments.getStarsTransactions
- Added limit param to payments.getStarsTransactions
New Constructors:
- inputMediaPaidMedia
- messageMediaPaidMedia
- messageActionPaymentRefunded
- messageActionGiftStars
- updateBusinessBotCallbackQuery
- updateStarsRevenueStatus
- topPeerCategoryBotsApp
- inputStorePaymentStarsTopup
- inputStorePaymentStarsGift
- mediaAreaUrl
- mediaAreaWeather
- starsTransactionPeerAds
- foundStory
- stories.foundStories
- geoPointAddress
- starsRevenueStatus
- payments.starsRevenueStats
- payments.starsRevenueWithdrawalUrl
- payments.starsRevenueAdsAccountUrl
- inputStarsTransaction
- starsGiftOption
- bots.popularAppBots
- botPreviewMedia
- bots.previewInfo
Changed Constructors:
- Added bot_has_main_app param to user
- Added bot_active_users param to user
- Added paid_media_allowed param to channelFull
- Added can_view_stars_revenue param to channelFull
- Added video_start_ts param to documentAttributeVideo
- Added has_preview_medias param to botInfo
- Added play_integrity_project_id param to auth.sentCodeTypeFirebaseSms
- Added effect param to draftMessage
- Added fullsize param to webViewResultUrl
- Added purpose param to inputInvoiceStars
- Removed option param from inputInvoiceStars
- Added radius param to mediaAreaCoordinates
- Added address param to mediaAreaGeoPoint
- Added pending param to starsTransaction
- Added failed param to starsTransaction
- Added gift param to starsTransaction
- Added transaction_date param to starsTransaction
- Added transaction_url param to starsTransaction
- Added bot_payload param to starsTransaction
- Added msg_id param to starsTransaction
- Added extended_media param to starsTransaction
Deleted Constructors:
- simpleWebViewResultUrl
- inputStorePaymentStars
- appWebViewResultUrl
Fixes:
- Add extra validation for getDownloadLink URLs, to make sure only URLs are passed
- Update RPC errors
And here's a small preview of the dashboard!
Читать полностью…MadelineProto 8.0.1 adds support for styled text entities in polls, by adding a questionEntities property and a getQuestionHTML method to Poll a answerEntities property and a getHTML method to PollAnswer.
Читать полностью…MadelineProto was updated (8.0.0-beta205)!
Features:
- Make getPropicInfo, getFullInfo and getPwrChat return Photo objects for profile pictures, compatible with sendPhoto methods.
- Make getPwrChat return a bit more info with fullfetch=false
- Update to layer 179
New Methods:
- auth.reportMissingCode
New Constructors:
- auth.sentCodeTypeSmsWord
- auth.sentCodeTypeSmsPhrase
Rapid-fire releases today, since I have some free time :D
8.0.0-beta201 fixes:
- Fix performance issue caused by excessive GC-ing
- Fix Message::forward
MadelineProto was updated (8.0.0-beta199)!
Fixes:
- Fix issue with the peer database caused by the ORM migration (a relogin is recommended to fix peer database issues)
- Fix an issue where ReadableBuffers and other streams could not be used when uploading stories in certain conditions
- Move legacy polyfill classes to namespace to fix composer issues
MadelineProto was updated (8.0.0-beta194)!
Fixes:
- Fix memory leak
- Fix usage of RemoteUrl in some conditions
- Improve getUpdates
- Warn Termux users to move the session folder to $HOME
- Fix ogg conversion with the phar version
- Fix filename of files downloaded using getDownloadLink
Features:
- Add delay option to broadcast methods
- Update to layer 174, added peer param to messages.getSavedReactionTags and a few other minor changes.
Misc:
- Remove defaultTempAuthKeyExpiresIn setting, it should not be exposed to users
Download MadelineProto from docs.madelineproto.xyz!
Changed Constructors:
- Added contact_require_premium param to user
- Added by_me param to userStatusRecently
- Added by_me param to userStatusLastWeek
- Added by_me param to userStatusLastMonth
- Added saved_peer_id param to message
- Added video param to messageMediaDocument
- Added round param to messageMediaDocument
- Added voice param to messageMediaDocument
- Added contact_require_premium param to userFull
- Added read_dates_private param to userFull
- Added saved_out param to messageFwdHeader
- Added saved_from_id param to messageFwdHeader
- Added saved_from_name param to messageFwdHeader
- Added saved_date param to messageFwdHeader
- Added hide_read_marks param to globalPrivacySettings
- Added new_noncontact_peers_require_premium param to globalPrivacySettings
- Added reactions_as_tags param to messageReactions
MadelineProto was updated (8.4.4)!
This release updates MadelineProto to layer 202, and bumps dependencies to fix some issues with amphp/http-client.
Psalm was also updated to v7, and thanks to the new and improved security analysis some improvements were made for MadelineProto, by escaping some possible taint sources.
New Methods:
- phone.deleteConferenceCallParticipants
- phone.sendConferenceCallBroadcast
- phone.inviteConferenceCallParticipant
- phone.declineConferenceCallInvite
- phone.getGroupCallChainBlocks
Changed Methods:
- Removed conference_call param from phone.requestCall
- Added public_key param to phone.joinGroupCall
- Added block param to phone.joinGroupCall
- Removed key_fingerprint param from phone.joinGroupCall
- Added muted param to phone.createConferenceCall
- Added video_stopped param to phone.createConferenceCall
- Added join param to phone.createConferenceCall
- Added random_id param to phone.createConferenceCall
- Added public_key param to phone.createConferenceCall
- Added block param to phone.createConferenceCall
- Added params param to phone.createConferenceCall
- Removed peer param from phone.createConferenceCall
- Removed key_fingerprint param from phone.createConferenceCall
New Constructors:
- messageActionConferenceCall
- updateGroupCallChainBlocks
- phoneCallDiscardReasonMigrateConferenceCall
- inputGroupCallSlug
- inputGroupCallInviteMessage
- inputInvoiceBusinessBotTransferStars
Changed Constructors:
- Removed conference_call param from phoneCallWaiting
- Removed conference_call param from phoneCallRequested
- Removed conference_call param from phoneCallAccepted
- Added conference_supported param to phoneCall
- Removed conference_call param from phoneCall
- Removed conference_call param from phoneCallDiscarded
- Added conference param to groupCall
- Added creator param to groupCall
- Added invite_link param to groupCall
- Removed conference_from_call param from groupCall
- Added business_transfer param to starsTransaction
Deleted Constructors:
- phoneCallDiscardReasonAllowGroupCall
MadelineProto was updated (8.4.2)!
This release adds support for layer 201, and bumps the dependencies with some 8.4 fixes.
New Methods:
- invokeWithReCaptcha
- account.getCollectibleEmojiStatuses
- account.addNoPaidMessagesException
- account.getPaidMessagesRevenue
- users.getRequirementsToContact
- contacts.getSponsoredPeers
- messages.reportMessagesDelivery
- channels.updatePaidMessagesPrice
- bots.setCustomVerification
- bots.getBotRecommendations
- payments.getStarGiftUpgradePreview
- payments.upgradeStarGift
- payments.transferStarGift
- payments.getUniqueStarGift
- payments.getSavedStarGifts
- payments.getSavedStarGift
- payments.getStarGiftWithdrawalUrl
- payments.toggleChatStarGiftNotifications
- payments.toggleStarGiftsPinnedToTop
- payments.canPurchaseStore
- phone.createConferenceCall
Changed Methods:
- Added rights param to account.updateConnectedBot
- Removed can_reply param from account.updateConnectedBot
- Added allow_paid_stars param to messages.sendMessage
- Added allow_paid_stars param to messages.sendMedia
- Added video_timestamp param to messages.forwardMessages
- Added allow_paid_stars param to messages.forwardMessages
- Added groups_only param to messages.searchGlobal
- Added users_only param to messages.searchGlobal
- Added allow_paid_stars param to messages.sendInlineBotResult
- Added allow_paid_stars param to messages.sendMultiMedia
- Removed peer param from messages.viewSponsoredMessage
- Removed peer param from messages.clickSponsoredMessage
- Removed peer param from messages.reportSponsoredMessage
- Added for_paid_reactions param to channels.getSendAs
- Added stargift param to payments.saveStarGift
- Removed user_id param from payments.saveStarGift
- Removed msg_id param from payments.saveStarGift
- Added stargift param to payments.convertStarGift
- Removed user_id param from payments.convertStarGift
- Removed msg_id param from payments.convertStarGift
- Added conference_call param to phone.requestCall
- Added key_fingerprint param to phone.joinGroupCall
Deleted Methods:
- users.getIsPremiumRequiredToContact
- payments.canPurchasePremium
- payments.getUserStarGifts
New Constructors:
- messageActionStarGiftUnique
- messageActionPaidMessagesRefunded
- messageActionPaidMessagesPrice
- auth.sentCodePaymentRequired
- updateSentPhoneCode
- inputPrivacyKeyNoPaidMessages
- privacyKeyNoPaidMessages
- phoneCallDiscardReasonAllowGroupCall
- webPageAttributeUniqueStarGift
- inputInvoiceStarGiftUpgrade
- inputInvoiceStarGiftTransfer
- inputInvoicePremiumGiftStars
- inputStorePaymentAuthCode
- emojiStatusCollectible
- inputEmojiStatusCollectible
- mediaAreaStarGift
- starGiftUnique
- botVerifierSettings
- botVerification
- starGiftAttributeModel
- starGiftAttributePattern
- starGiftAttributeBackdrop
- starGiftAttributeOriginalDetails
- payments.starGiftUpgradePreview
- users.users
- users.usersSlice
- payments.uniqueStarGift
- messages.webPagePreview
- savedStarGift
- payments.savedStarGifts
- inputSavedStarGiftUser
- inputSavedStarGiftChat
- payments.starGiftWithdrawalUrl
- paidReactionPrivacyDefault
- paidReactionPrivacyAnonymous
- paidReactionPrivacyPeer
- account.paidMessagesRevenue
- requirementToContactEmpty
- requirementToContactPremium
- requirementToContactPaidMessages
- businessBotRights
- disallowedGiftsSettings
- sponsoredPeer
- contacts.sponsoredPeersEmpty
- contacts.sponsoredPeers
Super happy to announce the release of Psalm v6!
Also announcing Psalm's new support model: you can support Psalm development by requesting a support contract from me, as I am the only active maintainer of Psalm.
Support contracts can cover full integration of Psalm into existing codebases, support for Psalm issues and development of additional Psalm features.
See here for info, pricing and contact information.
Main highlights of Psalm v6:
- PHP 8.4 support
- Amp v3 support
- PHP-Parser v5 support
- Fully overhauled [dictionaries](https://psalm.dev/docs/contributing/editing_callmaps/), for much more accurate and always up to date signatures for PHP and extension functions and methods, and much simpler PHP version upgrades.
- ignoreInternalFunctionFalseReturn
and ignoreInternalFunctionNullReturn
are now false
by default: this means Psalm now warns when a false/null return type of a native function is not explicitly checked.
- Modernization of the codebase for higher performance.
- Many other bugfixes and performance improvements.
To see the full list of features added to Psalm v6, click here!
Merry Christmas everyone! 🎄
Читать полностью…Changed Constructors:
- Added video_processing_pending param to message
- Added subscription_until_date param to messageActionPaymentSentMe
- Added subscription_until_date param to messageActionPaymentSent
- Added can_view_revenue param to userFull
- Added bot_can_manage_emoji_status param to userFull
- Added starref_program param to userFull
- Added sent_messages param to updateDeleteScheduledMessages
- Added app_settings param to botInfo
- Added subscription_period param to invoice
- Added fullscreen param to webViewResultUrl
- Added floodskip_number param to starsTransaction
- Added starref_commission_permille param to starsTransaction
- Added starref_peer param to starsTransaction
- Added starref_amount param to starsTransaction
- Added bot_canceled param to starsSubscription
- Added title param to starsSubscription
- Added photo param to starsSubscription
- Added invoice_slug param to starsSubscription
- Added sold_out param to starGift
- Added birthday param to starGift
- Added first_sale_date param to starGift
- Added last_sale_date param to starGift
MadelineProto was updated (8.3.3)!
This release updates MadelineProto to layer 190.
New Methods:
- payments.getStarGifts
- payments.getUserStarGifts
- payments.saveStarGift
- payments.convertStarGift
Changed Methods:
- Added option param to messages.report
- Removed reason param from messages.report
- Added option param to stories.report
- Removed reason param from stories.report
New Constructors:
- messageActionStarGift
- payments.paymentFormStarGift
- inputInvoiceStarGift
- starGift
- payments.starGiftsNotModified
- payments.starGifts
- userStarGift
- payments.userStarGifts
- messageReportOption
- reportResultChooseOption
- reportResultAddComment
- reportResultReported
Changed Constructors:
- Added message param to messageActionGiftPremium
- Added message param to messageActionGiftCode
- Added stargifts_count param to userFull
- Added message param to inputStorePaymentPremiumGiftCode
- Added stargift param to starsTransaction
MadelineProto was updated (8.2.2)!
This release fixes etag hash generation (also adding support for string values) and updates to layer 186.
New Methods:
- messages.sendPaidReaction
- messages.togglePaidReactionPrivacy
- payments.getStarsSubscriptions
- payments.changeStarsSubscription
- payments.fulfillStarsSubscription
Changed Methods:
- Added subscription_pricing param to messages.exportChatInvite
- Added subscription_expired param to messages.getChatInviteImporters
- Added paid_enabled param to messages.setChatAvailableReactions
- Added signatures_enabled param to channels.toggleSignatures
- Added profiles_enabled param to channels.toggleSignatures
- Removed enabled param from channels.toggleSignatures
- Added subscription_id param to payments.getStarsTransactions
New Constructors:
- inputFileStoryDocument
- channelAdminLogEventActionToggleSignatureProfiles
- inputInvoiceChatInviteSubscription
- reactionPaid
- starsSubscriptionPricing
- starsSubscription
- messageReactor
Changed Constructors:
- Added signature_profiles param to channel
- Added subscription_until_date param to channel
- Added paid_reactions_available param to channelFull
- Added subscription_expired param to chatInviteExported
- Added subscription_pricing param to chatInviteExported
- Added can_refulfill_subscription param to chatInvite
- Added subscription_pricing param to chatInvite
- Added subscription_form_id param to chatInvite
- Added privacy_policy_url param to botInfo
- Added subscription_until_date param to channelParticipant
- Added subscription_until_date param to channelParticipantSelf
- Added media param to sponsoredMessage
- Added top_reactors param to messageReactions
- Added reaction param to starsTransaction
- Added subscription_period param to starsTransaction
- Added subscriptions param to payments.starsStatus
- Added subscriptions_next_offset param to payments.starsStatus
- Added subscriptions_missing_balance param to payments.starsStatus
MadelineProto was updated (8.1.1)!
See here for the changelog: https://github.com/danog/MadelineProto/releases/tag/8.1.1
MadelineProto was updated!
MadelineProto 8.1.0 introduces an official Grafana dashboard for MadelineProto, powered by danog/better-prometheus!
See here for more info on how to configure the Prometheus metrics endpoint and Grafana dashboard!
Features:
- Official grafana dashboard, powered by danog/better-prometheus!
- Extract bot API dialog ID handling logic into a separate library, danog/tg-dialog-id!
- Add a previously missing $deleteHistory
flag to discardSecretChat
!
- Add messages.getEmojiStickerGroups method!
Fixes:
- Fix a possible bug in sendVideo
- Fix a possible bug in parseMode parsing
- Fix SecretMessage::delete
- Fix passing of seekable streams to IPC methods
- Other minor bugfixes
- Performance improvements
MadelineProto was updated!
8.0.0 is the first stable release of MadelineProto v8!
For the full changelog, see the messages on the official MadelineProto channel, starting from here!
Here are the main highlights:
- Amp v3 & revolt (fibers) support!
- A new simplified, stable and object-oriented event handler API based on filters and plugins!
- New sendVideo, sendAudio, sendDocument, etc methods with automatic metadata extraction via ffmpeg.
- A new getDownloadLink method for files up to 4gb!
- A new broadcast API, that can be used to asynchronously broadcast messages to all users of a bot or userbot in the background, automatically fetching all users of the bot!
- A pure PHP async VoIP implementation to make Telegram voice calls even on limited webhosts!
- An official docker image!
- Built-in static analysis of event handler code!
- Major performance and stability improvements!
- Many other new features and UX improvements, see all messages starting from /channel/MadelineProto/591 for more info!
Major parts of the MadelineProto core were split into standalone libraries that can be used without requiring all of MadelineProto:
- https://github.com/danog/AsyncOrm - Async ORM based on AMPHP v3 and fibers.
- https://github.com/danog/telegram-entities - A library to work with Telegram UTF-16 styled text entities.
- https://github.com/danog/tg-file-decoder - A library to work with Telegram bot API file IDs (recently updated).
The next releases will focus on even more features and performance improvements, such as prometheus and grafana statistics, a static TL parser and much, much more!
Cheers!
MadelineProto was updated (8.0.0-beta204)!
Features:
- Layer 178 (full changelog)
Fixes:
- Entity fixes
- Fix upload callbacks in the send* methods
- Fix issue with plugins in a phar
- Improve markdown parsing
- Remove temporary files created during error reporting
- Fix bug in getFullInfo
MadelineProto was updated: 8.0.0-beta200 introduces new simple sendVideo
, sendAudio
, sendVoice
, sendSticker
, sendGif
, sendDocumentPhoto
methods that automatically extract duration, thumbnails and other metadata from audio and video files!
Also, sendDocument
now supports automatic mime type detection for secret chats.
Additionally, Markdown and HTML parsing functionality was extracted in a separate library with bot API support, https://github.com/danog/telegram-entities!
Features:
- Add a new scheduled flag to the Message class for scheduled messages
- Split the markdown and HTML parser into a separate library, https://github.com/danog/telegram-entities
- Add new simple sendVideo
, sendAudio
, sendVoice
, sendSticker
, sendGif
, sendDocumentPhoto
methods and the Message::replyXXX variants that automatically extract duration, thumbnails and other metadata from audio and video files!
- sendDocument
now supports automatic mime type detection for secret chats.
Fixes:
- Fix getPwrChat
- Fix methods that use legacy chats
- Multiple other bug fixes
MadelineProto was updated (8.0.0-beta195)!
This release extracts MadelineProto's async ORM into a separate library, danog/AsyncOrm: a PHP async ORM based on AMPHP v3 and fibers!
danog/AsyncOrm supports MySQL, Redis, Postgres, features read and write-back caching, type-specific optimizations, and much more!
Among other news, the danog/tg-file-decoder library was also updated&modernized.
Also, the downloadRenameBot.php
was updated to support downloading videos directly from YouTube (without using the disk!), here's the new repo: https://github.com/danog/downloadRenameBot/
Breaking changes:
- Raise the minimum PHP version to 8.2.17.
- Move all ORM classes to the danog\AsyncOrm
namespace
- Remove support for definition of ORM properties using $dbProperties
, the new OrmMappedArray
attribute should be used instead, see the new docs for more info and examples!
- Modernized and updated danog/tg-file-decoder
, switching to enums and readonly properties.
- Use bot API IDs in all constructors returned by MadelineProto.
- Finalize all methods in the event handler.
- Enable strict static analysis for EventHandler.
- Removed the JSON and STRING serializer types from the ORM settings, the correct serializer will now be chosen based on the type of the value specified in OrmKeyedArray.
- Postgres/Redis MadelineProto instances need a manual database migration before upgrading (first updateSettings to the Memory backend, then upgrade, then updateSettings to Postgres/Redis); MySQL and Memory instances will be migrated automatically, no need to do anything.
Features:
- Update to layer 177, see here for the full layer changelog!
- Add support for the stable versions of amphp/mysql, amphp/postgres through https://github.com/danog/AsyncOrm!
Fixes:
- Fix Message::read!
- Multiple other bugfixes and performance improvements!
MadelineProto was updated (8.0.0-beta189)!
Features:
- Add Poll
support in simple event handler messages
- Add topic and poll-related filters and simple filters
- Add FilterCommandCaseInsensitive
, FilterForwardedFrom
, FilterRegexMatchAll
, FilterTextContains
, FilterTextContainsCaseInsensitive
, FilterTextEnds
, FilterTextEndsCaseInsensitive
, FilterTextStarts
, FilterTextStartsCaseInsensitive
filters
- Improve update coverage of existing filters, mainly FilterPeer
now supports many more update types
- FilterRegex
now supports specifying flags and an offset
- Add editReplyMarkup
method to Messages
- Add support for recording the incoming audio stream of a VoIP call with setOutput
- Update to layer 172
- support more deep links and t.me links for getInfo, and all other methods
Fixes:
- Multiple bugfixes and improvements
- Fix getReply for secret chat messages and some other secret chat edge cases
- Fix QR code login in certain conditions
- Fix an edge case for webhost environments
amphp/mysql and amphp/postgres are still in beta, so I can't make a stable release just yet, but that's fine anyway :))
New Constructors:
- updateSavedDialogPinned
- updatePinnedSavedDialogs
- updateSavedReactionTags
- savedDialog
- messages.savedDialogs
- messages.savedDialogsSlice
- messages.savedDialogsNotModified
- savedReactionTag
- messages.savedReactionTagsNotModified
- messages.savedReactionTags
- outboxReadDate