New Constructors:
- messageMediaGiveawayResults
- updateBotMessageReaction
- updateBotMessageReactions
- inputStickerSetEmojiChannelDefaultStatuses
- channelAdminLogEventActionChangePeerColor
- channelAdminLogEventActionChangeProfilePeerColor
- channelAdminLogEventActionChangeWallpaper
- channelAdminLogEventActionChangeEmojiStatus
- storyViewPublicForward
- storyViewPublicRepost
- mediaAreaChannelPost
- inputMediaAreaChannelPost
- storyReaction
- storyReactionPublicForward
- storyReactionPublicRepost
- stories.storyReactionsList
docs.madelineproto.xyz
messageMediaGiveawayResults
messageMediaGiveawayResults attributes, type and example
Changed Constructors:
- Added profile_color param to channel
- Added emoji_status param to channel
- Added level param to channel
- Added wallpaper param to channelFull
- Added winners_are_visible param to messageMediaGiveaway
- Added prize_description param to messageMediaGiveaway
- Added peers param to messageActionRequestedPeer
- Removed peer param from messageActionRequestedPeer
- Added currency param to messageActionGiftCode
- Added amount param to messageActionGiftCode
- Added crypto_currency param to messageActionGiftCode
- Added crypto_amount param to messageActionGiftCode
- Added channel_emoji_status param to stickerSet
- Added max_quantity param to keyboardButtonRequestPeer
- Added emoticon param to wallPaperSettings
- Added winners_are_visible param to inputStorePaymentPremiumGiveaway
- Added prize_description param to inputStorePaymentPremiumGiveaway
- Added views_count param to stories.storyViewsList
- Added forwards_count param to stories.storyViewsList
- Added chats param to stories.storyViewsList
- Added channel_min_level param to help.peerColorOption
docs.madelineproto.xyz
channel
Channel/supergroup info
Deleted Constructors:
- channelAdminLogEventActionChangeColor
- channelAdminLogEventActionChangeBackgroundEmoji
- channelAdminLogEventActionChangeColor
- channelAdminLogEventActionChangeBackgroundEmoji
MadelineProto | Official Channel
I wish you all a very jolly Christmas 🎄 ❤️
Please open Telegram to view this post
VIEW IN TELEGRAM
Happy New Year everyone 🎉
MadelineProto 8.0.0-beta188 is the final release of this year, and quite possibily the final beta, as nearly all the amphp dependencies have now a stable release 🎉
This release actually releases the phar, bypassing and fixing an issue caused by a PHP bug :D
MadelineProto 8.0.0-beta188 is the final release of this year, and quite possibily the final beta, as nearly all the amphp dependencies have now a stable release 🎉
This release actually releases the phar, bypassing and fixing an issue caused by a PHP bug :D
Forwarded from Daniil Gentili's news channel (Daniil Gentili)
Happy New Year everyone, best wishes for a happy and peaceful 2024.
May your new year be full of positive emotions and creative inspiration ❤️❤️❤️
May your new year be full of positive emotions and creative inspiration ❤️❤️❤️
New Methods:
- users.getIsPremiumRequiredToContact
- messages.getSavedDialogs
- messages.getSavedHistory
- messages.deleteSavedHistory
- messages.getPinnedSavedDialogs
- messages.toggleSavedDialogPin
- messages.reorderPinnedSavedDialogs
- messages.getSavedReactionTags
- messages.updateSavedReactionTag
- messages.getDefaultTagReactions
- messages.getOutboxReadDate
- users.getIsPremiumRequiredToContact
- messages.getSavedDialogs
- messages.getSavedHistory
- messages.deleteSavedHistory
- messages.getPinnedSavedDialogs
- messages.toggleSavedDialogPin
- messages.reorderPinnedSavedDialogs
- messages.getSavedReactionTags
- messages.updateSavedReactionTag
- messages.getDefaultTagReactions
- messages.getOutboxReadDate
docs.madelineproto.xyz
users.getIsPremiumRequiredToContact
users.getIsPremiumRequiredToContact parameters, return type and example
Changed Methods:
- Added saved_peer_id param to messages.search
- Added saved_reaction param to messages.search
- Added saved_peer_id param to messages.getSearchCounters
- Added saved_peer_id param to messages.getSearchResultsCalendar
- Added saved_peer_id param to messages.getSearchResultsPositions
docs.madelineproto.xyz
messages.search
Search for messages.
New Constructors:
- updateSavedDialogPinned
- updatePinnedSavedDialogs
- updateSavedReactionTags
- savedDialog
- messages.savedDialogs
- messages.savedDialogsSlice
- messages.savedDialogsNotModified
- savedReactionTag
- messages.savedReactionTagsNotModified
- messages.savedReactionTags
- outboxReadDate
docs.madelineproto.xyz
updateSavedDialogPinned
updateSavedDialogPinned attributes, type and example
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
docs.madelineproto.xyz
user
Indicates info about a certain user
MadelineProto was updated (8.0.0-beta189)!
Features:
- Add
- Add topic and poll-related filters and simple filters
- Add
- Improve update coverage of existing filters, mainly
-
- Add
- Add support for recording the incoming audio stream of a VoIP call with
- 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 :))
Download MadelineProto from docs.madelineproto.xyz
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 :))
Download MadelineProto from docs.madelineproto.xyz
MadelineProto | Official Channel
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…
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!
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!
docs.madelineproto.xyz
messages.getSavedReactionTags
messages.getSavedReactionTags parameters, return type and example
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
Breaking changes:
- Raise the minimum PHP version to 8.2.17.
- Move all ORM classes to the
- Remove support for definition of ORM properties using
- Modernized and updated
- 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!
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!
GitHub
GitHub - danog/AsyncOrm: Async ORM based on AMPHP v3 and fibers.
Async ORM based on AMPHP v3 and fibers. Contribute to danog/AsyncOrm development by creating an account on GitHub.
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
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-beta200 introduces new simple
Also,
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
-
Fixes:
- Fix
- Fix methods that use legacy chats
- Multiple other bug fixes
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
GitHub
GitHub - danog/telegram-entities: A library to work with Telegram UTF-16 styled text entities.
A library to work with Telegram UTF-16 styled text entities. - danog/telegram-entities
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
8.0.0-beta201 fixes:
- Fix performance issue caused by excessive GC-ing
- Fix Message::forward
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
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
GitHub
Release Layer 178, multiple fixes · danog/MadelineProto
Fixes:
Improve markdown parsing
Remove temporary files created during error reporting
Fix bug in getFullInfo
New Methods:
account.toggleSponsoredMessages
account.getReactionsNotifySettings
accou...
Improve markdown parsing
Remove temporary files created during error reporting
Fix bug in getFullInfo
New Methods:
account.toggleSponsoredMessages
account.getReactionsNotifySettings
accou...
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
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
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 https://t.me/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!
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 https://t.me/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 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.