Media is too big
VIEW IN TELEGRAM
Was visited by a small guest today, sat right next to me for about five minutes, blinking with one eye at a time and looking for bugs and at me for a while before flying away β€οΈ
β€6π€©1
Psalm is one of the biggest and most powerful PHP Static analysis tools, featuring exclusive features like security analysis, and in Psalm 6.9, an official, hyperoptimized Docker image was introduced.
Psalmβs docker image uses a custom build of PHP built from scratch with a custom deepbind patch and the jemalloc allocator, running Psalm +30% faster on average than normal PHP (+50% faster if comparing to PHP without opcache installed).
Recently, my deepbind patch was also merged into PHP and will be available to all users (even those not using the Docker image) in PHP 8.5!
To use it right now, on PHP 8.4, simply run:
Issues due to missing extensions can be fixed by enabling them in psalm.xml and/or requiring them in composer.json, see here for more info.
Extensions not stubbed by Psalm itself (and thus not available as a psalm config option) may be stubbed using traditional PHP stubs.
Also posted on the blog: https://blog.daniil.it/2025/07/10/official-psalm-docker-image/
Psalmβs docker image uses a custom build of PHP built from scratch with a custom deepbind patch and the jemalloc allocator, running Psalm +30% faster on average than normal PHP (+50% faster if comparing to PHP without opcache installed).
Recently, my deepbind patch was also merged into PHP and will be available to all users (even those not using the Docker image) in PHP 8.5!
To use it right now, on PHP 8.4, simply run:
docker run -v $PWD:/app --rm -it ghcr.io/danog/psalm:latest /composer/vendor/bin/psalm --no-cache
Issues due to missing extensions can be fixed by enabling them in psalm.xml and/or requiring them in composer.json, see here for more info.
Extensions not stubbed by Psalm itself (and thus not available as a psalm config option) may be stubbed using traditional PHP stubs.
Also posted on the blog: https://blog.daniil.it/2025/07/10/official-psalm-docker-image/
GitHub
Do not use RTLD_DEEPBIND if dlmopen is available by danog Β· Pull Request #18612 Β· php/php-src
This pull request disables usage of RTLD_DEEPBIND if dlmopen is available.
Context:
Php8.1 with alternative malloc allocators #10670 - The issue this PR fixes, using RTLD_DEEPBIND with custom allo...
Context:
Php8.1 with alternative malloc allocators #10670 - The issue this PR fixes, using RTLD_DEEPBIND with custom allo...
π₯3
Also announcing the public beta of Psalm v7!
Psalm v7 brings huge performance improvements to security analysis, up to 10x thanks to a full refactoring of both the internal representation of taints, and optimization of the graph resolution logic.
A major new feature was also added: combined analysis!
Combined analysis, enabled by default in Psalm v7, allows running normal analysis, security analysis and dead code analysis all at the same time, within a single run, greatly reducing overall runtimes!
Future beta releases will also enable taint analysis by default, given that now it can be run alongside normal analysis.
Psalm v7 also brings performance improvements to dead code analysis, and fixes for list types.
Even more performance improvements and new features will be released soon!
Psalm v7 brings huge performance improvements to security analysis, up to 10x thanks to a full refactoring of both the internal representation of taints, and optimization of the graph resolution logic.
A major new feature was also added: combined analysis!
Combined analysis, enabled by default in Psalm v7, allows running normal analysis, security analysis and dead code analysis all at the same time, within a single run, greatly reducing overall runtimes!
Future beta releases will also enable taint analysis by default, given that now it can be run alongside normal analysis.
Psalm v7 also brings performance improvements to dead code analysis, and fixes for list types.
Even more performance improvements and new features will be released soon!
π₯2
Forwarded from MadelineProto | Official Channel (Daniil Gentili)
MadelineProto was updated (8.4.19)!
This release updates MadelineProto to layer 207!
New Methods:
- account.toggleNoPaidMessagesException
- messages.toggleTodoCompleted
- messages.appendTodoList
- messages.toggleSuggestedPostApproval
Changed Methods:
- Added parent_peer param to account.getPaidMessagesRevenue
- Added suggested_post param to messages.sendMessage
- Added suggested_post param to messages.sendMedia
- Added suggested_post param to messages.forwardMessages
- Added suggested_post param to messages.saveDraft
- Added msg_id param to messages.getSponsoredMessages
- Added ton param to payments.getStarsStatus
- Added ton param to payments.getStarsTransactions
- Added ton param to payments.getStarsRevenueStats
- Added ton param to payments.getStarsRevenueWithdrawalUrl
- Added amount param to payments.getStarsRevenueWithdrawalUrl
- Removed stars param from payments.getStarsRevenueWithdrawalUrl
- Added ton param to payments.getStarsTransactionsByID
Deleted Methods:
- account.addNoPaidMessagesException
- stats.getBroadcastRevenueStats
- stats.getBroadcastRevenueWithdrawalUrl
- stats.getBroadcastRevenueTransactions
New Constructors:
- inputMediaTodo
- messageMediaToDo
- messageActionTodoCompletions
- messageActionTodoAppendTasks
- messageActionSuggestedPostApproval
- messageActionSuggestedPostSuccess
- messageActionSuggestedPostRefund
- messageActionGiftTon
- updateMonoForumNoPaidException
- inputStickerSetTonGifts
- starsTonAmount
- todoItem
- todoList
- todoCompletion
- suggestedPost
Changed Constructors:
- Added send_paid_messages_stars param to channelFull
- Added paid_suggested_post_stars param to message
- Added paid_suggested_post_ton param to message
- Added suggested_post param to message
- Added saved_peer_id param to messageService
- Added suggested_post param to draftMessage
- Added manage_direct_messages param to chatAdminRights
- Added min_display_duration param to sponsoredMessage
- Added max_display_duration param to sponsoredMessage
- Added start_delay param to messages.sponsoredMessages
- Added between_delay param to messages.sponsoredMessages
- Added nopaid_messages_exception param to monoForumDialog
- Added amount param to starsTransaction
- Added ads_proceeds_from_date param to starsTransaction
- Added ads_proceeds_to_date param to starsTransaction
- Removed stars param from starsTransaction
- Added top_hours_graph param to payments.starsRevenueStats
- Added released_by param to starGift
- Added released_by param to starGiftUnique
- Added chats param to payments.starGifts
- Added users param to payments.starGifts
Deleted Constructors:
- updateBroadcastRevenueTransactions
- stats.broadcastRevenueStats
- stats.broadcastRevenueWithdrawalUrl
- broadcastRevenueTransactionProceeds
- broadcastRevenueTransactionWithdrawal
- broadcastRevenueTransactionRefund
- stats.broadcastRevenueTransactions
- broadcastRevenueBalances
This release updates MadelineProto to layer 207!
New Methods:
- account.toggleNoPaidMessagesException
- messages.toggleTodoCompleted
- messages.appendTodoList
- messages.toggleSuggestedPostApproval
Changed Methods:
- Added parent_peer param to account.getPaidMessagesRevenue
- Added suggested_post param to messages.sendMessage
- Added suggested_post param to messages.sendMedia
- Added suggested_post param to messages.forwardMessages
- Added suggested_post param to messages.saveDraft
- Added msg_id param to messages.getSponsoredMessages
- Added ton param to payments.getStarsStatus
- Added ton param to payments.getStarsTransactions
- Added ton param to payments.getStarsRevenueStats
- Added ton param to payments.getStarsRevenueWithdrawalUrl
- Added amount param to payments.getStarsRevenueWithdrawalUrl
- Removed stars param from payments.getStarsRevenueWithdrawalUrl
- Added ton param to payments.getStarsTransactionsByID
Deleted Methods:
- account.addNoPaidMessagesException
- stats.getBroadcastRevenueStats
- stats.getBroadcastRevenueWithdrawalUrl
- stats.getBroadcastRevenueTransactions
New Constructors:
- inputMediaTodo
- messageMediaToDo
- messageActionTodoCompletions
- messageActionTodoAppendTasks
- messageActionSuggestedPostApproval
- messageActionSuggestedPostSuccess
- messageActionSuggestedPostRefund
- messageActionGiftTon
- updateMonoForumNoPaidException
- inputStickerSetTonGifts
- starsTonAmount
- todoItem
- todoList
- todoCompletion
- suggestedPost
Changed Constructors:
- Added send_paid_messages_stars param to channelFull
- Added paid_suggested_post_stars param to message
- Added paid_suggested_post_ton param to message
- Added suggested_post param to message
- Added saved_peer_id param to messageService
- Added suggested_post param to draftMessage
- Added manage_direct_messages param to chatAdminRights
- Added min_display_duration param to sponsoredMessage
- Added max_display_duration param to sponsoredMessage
- Added start_delay param to messages.sponsoredMessages
- Added between_delay param to messages.sponsoredMessages
- Added nopaid_messages_exception param to monoForumDialog
- Added amount param to starsTransaction
- Added ads_proceeds_from_date param to starsTransaction
- Added ads_proceeds_to_date param to starsTransaction
- Removed stars param from starsTransaction
- Added top_hours_graph param to payments.starsRevenueStats
- Added released_by param to starGift
- Added released_by param to starGiftUnique
- Added chats param to payments.starGifts
- Added users param to payments.starGifts
Deleted Constructors:
- updateBroadcastRevenueTransactions
- stats.broadcastRevenueStats
- stats.broadcastRevenueWithdrawalUrl
- broadcastRevenueTransactionProceeds
- broadcastRevenueTransactionWithdrawal
- broadcastRevenueTransactionRefund
- stats.broadcastRevenueTransactions
- broadcastRevenueBalances
docs.madelineproto.xyz
messages.appendTodoList
messages.appendTodoList parameters, return type and example
β€2π«‘1
Forwarded from MadelineProto | Official Channel (Daniil Gentili)
MadelineProto was updated (8.4.21)!
Features:
- Update to layer 210
Fixes:
- Drop all session-related database rows when logging out
- Fix an issue with postgres when creating the database
New Methods:
- payments.createStarGiftCollection
- payments.updateStarGiftCollection
- payments.reorderStarGiftCollections
- payments.deleteStarGiftCollection
- payments.getStarGiftCollections
Changed Methods:
- Added collection_id param to payments.getSavedStarGifts
New Constructors:
- starsRating
- starGiftCollection
- payments.starGiftCollectionsNotModified
- payments.starGiftCollections
Changed Constructors:
- Added stars_rating param to userFull
- Added todo_item_id param to messageReplyHeader
- Added todo_item_id param to inputReplyToMessage
- Added require_premium param to starGift
- Added limited_per_user param to starGift
- Added per_user_total param to starGift
- Added per_user_remains param to starGift
- Added require_premium param to starGiftUnique
- Added collection_id param to savedStarGift
Features:
- Update to layer 210
Fixes:
- Drop all session-related database rows when logging out
- Fix an issue with postgres when creating the database
New Methods:
- payments.createStarGiftCollection
- payments.updateStarGiftCollection
- payments.reorderStarGiftCollections
- payments.deleteStarGiftCollection
- payments.getStarGiftCollections
Changed Methods:
- Added collection_id param to payments.getSavedStarGifts
New Constructors:
- starsRating
- starGiftCollection
- payments.starGiftCollectionsNotModified
- payments.starGiftCollections
Changed Constructors:
- Added stars_rating param to userFull
- Added todo_item_id param to messageReplyHeader
- Added todo_item_id param to inputReplyToMessage
- Added require_premium param to starGift
- Added limited_per_user param to starGift
- Added per_user_total param to starGift
- Added per_user_remains param to starGift
- Added require_premium param to starGiftUnique
- Added collection_id param to savedStarGift
β€8π«‘3
Forwarded from MadelineProto | Official Channel (Daniil Gentili)
MadelineProto was updated (8.5.4)!
The server-side issues with newer layers that forced a layer downgrade were fixed, so this release bumps the layer to the newest 211.
This release also re-enables JIT in the docker image, as a problematic commit was reverted in php-src.
New Methods:
- channels.checkSearchPostsFlood
- stories.createAlbum
- stories.updateAlbum
- stories.reorderAlbums
- stories.deleteAlbum
- stories.getAlbums
- stories.getAlbumStories
Changed Methods:
- Added query param to channels.searchPosts
- Added allow_paid_stars param to channels.searchPosts
- Added resell_amount param to payments.updateStarGiftPrice
- Removed resell_stars param from payments.updateStarGiftPrice
- Added albums param to stories.sendStory
New Constructors:
- webPageAttributeStarGiftCollection
- storyAlbum
- stories.albumsNotModified
- stories.albums
- searchPostsFlood
Changed Constructors:
- Added resale_amount param to messageActionStarGiftUnique
- Removed resale_stars param from messageActionStarGiftUnique
- Added stars_my_pending_rating param to userFull
- Added stars_my_pending_rating_date param to userFull
- Added search_flood param to messages.messagesSlice
- Added ton param to inputInvoiceStarGiftResale
- Added albums param to storyItem
- Added resale_ton_only param to starGiftUnique
- Added resell_amount param to starGiftUnique
- Removed resell_stars param from starGiftUnique
The server-side issues with newer layers that forced a layer downgrade were fixed, so this release bumps the layer to the newest 211.
This release also re-enables JIT in the docker image, as a problematic commit was reverted in php-src.
New Methods:
- channels.checkSearchPostsFlood
- stories.createAlbum
- stories.updateAlbum
- stories.reorderAlbums
- stories.deleteAlbum
- stories.getAlbums
- stories.getAlbumStories
Changed Methods:
- Added query param to channels.searchPosts
- Added allow_paid_stars param to channels.searchPosts
- Added resell_amount param to payments.updateStarGiftPrice
- Removed resell_stars param from payments.updateStarGiftPrice
- Added albums param to stories.sendStory
New Constructors:
- webPageAttributeStarGiftCollection
- storyAlbum
- stories.albumsNotModified
- stories.albums
- searchPostsFlood
Changed Constructors:
- Added resale_amount param to messageActionStarGiftUnique
- Removed resale_stars param from messageActionStarGiftUnique
- Added stars_my_pending_rating param to userFull
- Added stars_my_pending_rating_date param to userFull
- Added search_flood param to messages.messagesSlice
- Added ton param to inputInvoiceStarGiftResale
- Added albums param to storyItem
- Added resale_ton_only param to starGiftUnique
- Added resell_amount param to starGiftUnique
- Removed resell_stars param from starGiftUnique
π1
Happy birthday to Telegram π
Loving this platform and community more than ever, can't wait to see what's next!
Loving this platform and community more than ever, can't wait to see what's next!
β€10π3
Forwarded from MadelineProto | Official Channel (Daniil Gentili)
MadelineProto was updated (8.5.5)!
Fixes:
- Test a fix for a minor issue related to channel bans
- Bump layer 211
Docs:
- Autodetect business-capable methods
- Add some RPC errors
Fixes:
- Test a fix for a minor issue related to channel bans
- Bump layer 211
Docs:
- Autodetect business-capable methods
- Add some RPC errors
Forwarded from MadelineProto | Official Channel (Daniil Gentili)
MadelineProto was updated (8.5.6)!
Fixes:
- Fixes to the CDN handshake
Fixes:
- Fixes to the CDN handshake
Forwarded from MadelineProto | Official Channel (Daniil Gentili)
MadelineProto was updated (8.5.7)!
This release updates to layer 214 and also adds some extra logging through report peers for a possible persisting server-side bug (make sure to specify a report peer, and please report new schema-related errors received through the report peer to the MadelineProto chat at @danog_community).
New Methods:
- account.setMainProfileTab
- account.saveMusic
- account.getSavedMusicIds
- account.getUniqueGiftChatThemes
- users.getSavedMusic
- users.getSavedMusicByID
- channels.setMainProfileTab
- payments.getUniqueStarGiftValueInfo
- payments.checkCanSendGift
Changed Methods:
- Added theme param to messages.setChatTheme
- Removed emoticon param from messages.setChatTheme
- Added exclude_upgradable param to payments.getSavedStarGifts
- Added exclude_unupgradable param to payments.getSavedStarGifts
- Removed exclude_limited param from payments.getSavedStarGifts
New Constructors:
- chatTheme
- chatThemeUniqueGift
- account.chatThemesNotModified
- account.chatThemes
- inputInvoiceStarGiftPrepaidUpgrade
- payments.uniqueStarGiftValueInfo
- profileTabPosts
- profileTabGifts
- profileTabMedia
- profileTabFiles
- profileTabMusic
- profileTabVoice
- profileTabLinks
- profileTabGifs
- users.savedMusicNotModified
- users.savedMusic
- account.savedMusicIdsNotModified
- account.savedMusicIds
- payments.checkCanSendGiftResultOk
- payments.checkCanSendGiftResultFail
- inputChatThemeEmpty
- inputChatTheme
- inputChatThemeUniqueGift
Changed Constructors:
- Added main_tab param to channelFull
- Added theme param to messageActionSetChatTheme
- Removed emoticon param from messageActionSetChatTheme
- Added prepaid_upgrade param to messageActionStarGift
- Added upgrade_separate param to messageActionStarGift
- Added prepaid_upgrade_hash param to messageActionStarGift
- Added gift_msg_id param to messageActionStarGift
- Added prepaid_upgrade param to messageActionStarGiftUnique
- Added support_email_address param to auth.sentCodePaymentRequired
- Added support_email_subject param to auth.sentCodePaymentRequired
- Added theme param to userFull
- Added main_tab param to userFull
- Added saved_music param to userFull
- Removed theme_emoticon param from userFull
- Added spend_purpose_peer param to inputStorePaymentStarsTopup
- Added stargift_prepaid_upgrade param to starsTransaction
- Added locked_until_date param to starGift
- Added theme_available param to starGiftUnique
- Added gift_id param to starGiftUnique
- Added value_amount param to starGiftUnique
- Added value_currency param to starGiftUnique
- Added theme_peer param to starGiftUnique
- Added chats param to payments.uniqueStarGift
- Added chats param to messages.webPagePreview
- Added upgrade_separate param to savedStarGift
- Added prepaid_upgrade_hash param to savedStarGift
This release updates to layer 214 and also adds some extra logging through report peers for a possible persisting server-side bug (make sure to specify a report peer, and please report new schema-related errors received through the report peer to the MadelineProto chat at @danog_community).
New Methods:
- account.setMainProfileTab
- account.saveMusic
- account.getSavedMusicIds
- account.getUniqueGiftChatThemes
- users.getSavedMusic
- users.getSavedMusicByID
- channels.setMainProfileTab
- payments.getUniqueStarGiftValueInfo
- payments.checkCanSendGift
Changed Methods:
- Added theme param to messages.setChatTheme
- Removed emoticon param from messages.setChatTheme
- Added exclude_upgradable param to payments.getSavedStarGifts
- Added exclude_unupgradable param to payments.getSavedStarGifts
- Removed exclude_limited param from payments.getSavedStarGifts
New Constructors:
- chatTheme
- chatThemeUniqueGift
- account.chatThemesNotModified
- account.chatThemes
- inputInvoiceStarGiftPrepaidUpgrade
- payments.uniqueStarGiftValueInfo
- profileTabPosts
- profileTabGifts
- profileTabMedia
- profileTabFiles
- profileTabMusic
- profileTabVoice
- profileTabLinks
- profileTabGifs
- users.savedMusicNotModified
- users.savedMusic
- account.savedMusicIdsNotModified
- account.savedMusicIds
- payments.checkCanSendGiftResultOk
- payments.checkCanSendGiftResultFail
- inputChatThemeEmpty
- inputChatTheme
- inputChatThemeUniqueGift
Changed Constructors:
- Added main_tab param to channelFull
- Added theme param to messageActionSetChatTheme
- Removed emoticon param from messageActionSetChatTheme
- Added prepaid_upgrade param to messageActionStarGift
- Added upgrade_separate param to messageActionStarGift
- Added prepaid_upgrade_hash param to messageActionStarGift
- Added gift_msg_id param to messageActionStarGift
- Added prepaid_upgrade param to messageActionStarGiftUnique
- Added support_email_address param to auth.sentCodePaymentRequired
- Added support_email_subject param to auth.sentCodePaymentRequired
- Added theme param to userFull
- Added main_tab param to userFull
- Added saved_music param to userFull
- Removed theme_emoticon param from userFull
- Added spend_purpose_peer param to inputStorePaymentStarsTopup
- Added stargift_prepaid_upgrade param to starsTransaction
- Added locked_until_date param to starGift
- Added theme_available param to starGiftUnique
- Added gift_id param to starGiftUnique
- Added value_amount param to starGiftUnique
- Added value_currency param to starGiftUnique
- Added theme_peer param to starGiftUnique
- Added chats param to payments.uniqueStarGift
- Added chats param to messages.webPagePreview
- Added upgrade_separate param to savedStarGift
- Added prepaid_upgrade_hash param to savedStarGift
docs.madelineproto.xyz
account.setMainProfileTab
Changes the main profile tab of the current user, see [here Β»](https://core.telegram.org/api/profile#tabs) for more info.
2π₯3β€2π€‘1
Forwarded from MadelineProto | Official Channel (Daniil Gentili)
MadelineProto was updated (8.5.8)!
This release fixes messages.sendPaidReaction.
This release fixes messages.sendPaidReaction.
π₯2
Forwarded from MadelineProto | Official Channel (Daniil Gentili)
MadelineProto was updated (8.6.0)!
Features:
- Add new
Fixes:
- Fix channel is already closed errors after triggering an IPC server restart()
- Fix passing Messages to methods accepting inputDocument/inputPhoto constructors
- Allow passing a string to textWithEntities
- Small updates fix
- Transform the linked_monoforum_id returned by getInfo to a bot API ID
Features:
- Add new
uploadDocument, uploadPhoto, uploadAudio, uploadDocumentPhoto, uploadGif, uploadPhoto, uploadSticker, uploadVideo, uploadVoice methods as more powerful versions of messages.uploadMedia, to upload media without actually sending it to any chat, with all the same automatic features offered by their send* variants.Fixes:
- Fix channel is already closed errors after triggering an IPC server restart()
- Fix passing Messages to methods accepting inputDocument/inputPhoto constructors
- Allow passing a string to textWithEntities
- Small updates fix
- Transform the linked_monoforum_id returned by getInfo to a bot API ID
50π4β€1π₯1
Forwarded from MadelineProto | Official Channel (Daniil Gentili)
MadelineProto was updated (8.6.1)!
Features:
- Upgrade to layer 218
Fixes:
- Improve error message for handlers without any param
- Fix misc deprecations
New Methods:
- auth.checkPaidAuth
- users.suggestBirthday
- contacts.updateContactNote
- messages.getForumTopics
- messages.getForumTopicsByID
- messages.editForumTopic
- messages.updatePinnedForumTopic
- messages.reorderPinnedForumTopics
- messages.createForumTopic
- messages.deleteTopicHistory
- payments.getStarGiftAuctionState
- payments.getStarGiftAuctionAcquiredGifts
- payments.getStarGiftActiveAuctions
- phone.sendGroupCallMessage
- phone.sendGroupCallEncryptedMessage
- phone.deleteGroupCallMessages
- phone.deleteGroupCallParticipantMessages
- phone.getGroupCallStars
- phone.saveDefaultSendAs
- stories.startLive
Changed Methods:
- Removed background_emoji_id param from account.updateColor
- Added note param to contacts.addContact
- Added schedule_repeat_period param to messages.sendMessage
- Added schedule_repeat_period param to messages.sendMedia
- Added schedule_repeat_period param to messages.forwardMessages
- Added schedule_repeat_period param to messages.editMessage
- Added for_live_stories param to channels.getSendAs
- Added peer_color_available param to payments.getSavedStarGifts
- Added exclude_hosted param to payments.getSavedStarGifts
- Added messages_enabled param to phone.toggleGroupCallSettings
- Added send_paid_messages_stars param to phone.toggleGroupCallSettings
- Added live_story param to phone.getGroupCallStreamRtmpUrl
Deleted Methods:
- channels.createForumTopic
- channels.getForumTopics
- channels.getForumTopicsByID
- channels.editForumTopic
- channels.updatePinnedForumTopic
- channels.deleteTopicHistory
- channels.reorderPinnedForumTopics
New Constructors:
- messageMediaVideoStream
- messageActionSuggestBirthday
- updateGroupCallMessage
- updateGroupCallEncryptedMessage
- updatePinnedForumTopic
- updatePinnedForumTopics
- updateDeleteGroupCallMessages
- updateStarGiftAuctionState
- updateStarGiftAuctionUserState
- sendMessageTextDraftAction
- inputPrivacyKeySavedMusic
- privacyKeySavedMusic
- webPageAttributeStarGiftAuction
- inputInvoicePremiumAuthCode
- inputInvoiceStarGiftDropOriginalDetails
- inputInvoiceStarGiftAuctionBid
- peerColorCollectible
- inputPeerColorCollectible
- starGiftUpgradePrice
- groupCallMessage
- groupCallDonor
- phone.groupCallStars
- recentStory
- auctionBidLevel
- starGiftAuctionStateNotModified
- starGiftAuctionState
- starGiftAuctionStateFinished
- starGiftAuctionUserState
- payments.starGiftAuctionState
- starGiftAuctionAcquiredGift
- payments.starGiftAuctionAcquiredGifts
- starGiftActiveAuctionState
- payments.starGiftActiveAuctionsNotModified
- payments.starGiftActiveAuctions
- inputStarGiftAuction
- inputStarGiftAuctionSlug
Features:
- Upgrade to layer 218
Fixes:
- Improve error message for handlers without any param
- Fix misc deprecations
New Methods:
- auth.checkPaidAuth
- users.suggestBirthday
- contacts.updateContactNote
- messages.getForumTopics
- messages.getForumTopicsByID
- messages.editForumTopic
- messages.updatePinnedForumTopic
- messages.reorderPinnedForumTopics
- messages.createForumTopic
- messages.deleteTopicHistory
- payments.getStarGiftAuctionState
- payments.getStarGiftAuctionAcquiredGifts
- payments.getStarGiftActiveAuctions
- phone.sendGroupCallMessage
- phone.sendGroupCallEncryptedMessage
- phone.deleteGroupCallMessages
- phone.deleteGroupCallParticipantMessages
- phone.getGroupCallStars
- phone.saveDefaultSendAs
- stories.startLive
Changed Methods:
- Removed background_emoji_id param from account.updateColor
- Added note param to contacts.addContact
- Added schedule_repeat_period param to messages.sendMessage
- Added schedule_repeat_period param to messages.sendMedia
- Added schedule_repeat_period param to messages.forwardMessages
- Added schedule_repeat_period param to messages.editMessage
- Added for_live_stories param to channels.getSendAs
- Added peer_color_available param to payments.getSavedStarGifts
- Added exclude_hosted param to payments.getSavedStarGifts
- Added messages_enabled param to phone.toggleGroupCallSettings
- Added send_paid_messages_stars param to phone.toggleGroupCallSettings
- Added live_story param to phone.getGroupCallStreamRtmpUrl
Deleted Methods:
- channels.createForumTopic
- channels.getForumTopics
- channels.getForumTopicsByID
- channels.editForumTopic
- channels.updatePinnedForumTopic
- channels.deleteTopicHistory
- channels.reorderPinnedForumTopics
New Constructors:
- messageMediaVideoStream
- messageActionSuggestBirthday
- updateGroupCallMessage
- updateGroupCallEncryptedMessage
- updatePinnedForumTopic
- updatePinnedForumTopics
- updateDeleteGroupCallMessages
- updateStarGiftAuctionState
- updateStarGiftAuctionUserState
- sendMessageTextDraftAction
- inputPrivacyKeySavedMusic
- privacyKeySavedMusic
- webPageAttributeStarGiftAuction
- inputInvoicePremiumAuthCode
- inputInvoiceStarGiftDropOriginalDetails
- inputInvoiceStarGiftAuctionBid
- peerColorCollectible
- inputPeerColorCollectible
- starGiftUpgradePrice
- groupCallMessage
- groupCallDonor
- phone.groupCallStars
- recentStory
- auctionBidLevel
- starGiftAuctionStateNotModified
- starGiftAuctionState
- starGiftAuctionStateFinished
- starGiftAuctionUserState
- payments.starGiftAuctionState
- starGiftAuctionAcquiredGift
- payments.starGiftAuctionAcquiredGifts
- starGiftActiveAuctionState
- payments.starGiftActiveAuctionsNotModified
- payments.starGiftActiveAuctions
- inputStarGiftAuction
- inputStarGiftAuctionSlug
β€1π1
Forwarded from MadelineProto | Official Channel (Daniil Gentili)
Changed Constructors:
- Added note param to inputPhoneContact
- Added bot_forum_view param to user
- Added schedule_repeat_period param to message
- Added days param to messageActionGiftPremium
- Removed months param from messageActionGiftPremium
- Added title_missing param to messageActionTopicCreate
- Added days param to messageActionGiftCode
- Removed months param from messageActionGiftCode
- Added auction_acquired param to messageActionStarGift
- Added to_id param to messageActionStarGift
- Added assigned param to messageActionStarGiftUnique
- Added drop_original_details_stars param to messageActionStarGiftUnique
- Added currency param to auth.sentCodePaymentRequired
- Added amount param to auth.sentCodePaymentRequired
- Added note param to userFull
- Added topics param to messages.messages
- Added topics param to messages.messagesSlice
- Added top_msg_id param to updateUserTyping
- Added top_msg_id param to updateReadHistoryInbox
- Added live_story param to updateGroupCall
- Added peer param to updateGroupCall
- Removed chat_id param from updateGroupCall
- Added messages_enabled param to groupCall
- Added can_change_messages_enabled param to groupCall
- Added min param to groupCall
- Added send_paid_messages_stars param to groupCall
- Added default_send_as param to groupCall
- Added paid_stars_total param to groupCallParticipant
- Added title_missing param to forumTopic
- Added peer param to forumTopic
- Added live param to storyItemSkipped
- Added days param to payments.checkedGiftCode
- Removed months param from payments.checkedGiftCode
- Added stargift_drop_original_details param to starsTransaction
- Added phonegroup_message param to starsTransaction
- Added stargift_auction_bid param to starsTransaction
- Added peer_color_available param to starGift
- Added auction param to starGift
- Added auction_slug param to starGift
- Added gifts_per_round param to starGift
- Added peer_color param to starGiftUnique
- Added host_id param to starGiftUnique
- Added prices param to payments.starGiftUpgradePreview
- Added next_prices param to payments.starGiftUpgradePreview
- Added drop_original_details_stars param to savedStarGift
- Added disallow_stargifts_from_channels param to disallowedGiftsSettings
Deleted Constructors:
- updateChannelPinnedTopic
- updateChannelPinnedTopics
- Added note param to inputPhoneContact
- Added bot_forum_view param to user
- Added schedule_repeat_period param to message
- Added days param to messageActionGiftPremium
- Removed months param from messageActionGiftPremium
- Added title_missing param to messageActionTopicCreate
- Added days param to messageActionGiftCode
- Removed months param from messageActionGiftCode
- Added auction_acquired param to messageActionStarGift
- Added to_id param to messageActionStarGift
- Added assigned param to messageActionStarGiftUnique
- Added drop_original_details_stars param to messageActionStarGiftUnique
- Added currency param to auth.sentCodePaymentRequired
- Added amount param to auth.sentCodePaymentRequired
- Added note param to userFull
- Added topics param to messages.messages
- Added topics param to messages.messagesSlice
- Added top_msg_id param to updateUserTyping
- Added top_msg_id param to updateReadHistoryInbox
- Added live_story param to updateGroupCall
- Added peer param to updateGroupCall
- Removed chat_id param from updateGroupCall
- Added messages_enabled param to groupCall
- Added can_change_messages_enabled param to groupCall
- Added min param to groupCall
- Added send_paid_messages_stars param to groupCall
- Added default_send_as param to groupCall
- Added paid_stars_total param to groupCallParticipant
- Added title_missing param to forumTopic
- Added peer param to forumTopic
- Added live param to storyItemSkipped
- Added days param to payments.checkedGiftCode
- Removed months param from payments.checkedGiftCode
- Added stargift_drop_original_details param to starsTransaction
- Added phonegroup_message param to starsTransaction
- Added stargift_auction_bid param to starsTransaction
- Added peer_color_available param to starGift
- Added auction param to starGift
- Added auction_slug param to starGift
- Added gifts_per_round param to starGift
- Added peer_color param to starGiftUnique
- Added host_id param to starGiftUnique
- Added prices param to payments.starGiftUpgradePreview
- Added next_prices param to payments.starGiftUpgradePreview
- Added drop_original_details_stars param to savedStarGift
- Added disallow_stargifts_from_channels param to disallowedGiftsSettings
Deleted Constructors:
- updateChannelPinnedTopic
- updateChannelPinnedTopics
docs.madelineproto.xyz
auth.checkPaidAuth
auth.checkPaidAuth parameters, return type and example
β€2π2π©1
Let's fight for the future of async PHP, upvote my take on the PHP Async proposal: https://github.com/true-async/php-true-async-rfc/discussions/8#discussioncomment-15074303
GitHub
Memory model and its impact on refactoring Β· true-async Β· Discussion #8
Memory model and its impact on refactoring At this stage of the discussion, I propose focusing on one of the three main questions. π Key Questions 1. Choosing the Coroutine Model How coroutines sho...
π5π«‘3π2β€1
Merry Christmas everyone!
π π β€οΈ
Please open Telegram to view this post
VIEW IN TELEGRAM
β€20π₯3π€2
Forwarded from MadelineProto | Official Channel (Daniil Gentili)
MadelineProto was updated (8.6.3)!
Features:
- Update to layer 222 (the server is currently returning unreleased Message constructors for layer 223 and above, so delaying those for now)
Fixes:
- DC fix
New Methods:
- messages.getEmojiGameInfo
- messages.summarizeText
- channels.getFutureCreatorAfterLeave
- payments.getCraftStarGifts
- payments.craftStarGift
Changed Methods:
- Added share_phone_number param to messages.acceptUrlAuth
- Added for_craft param to payments.getResaleStarGifts
New Constructors:
- inputMediaStakeDice
- messageActionNewCreatorPending
- messageActionChangeCreator
- updateEmojiGameInfo
- updateStarGiftCraftFail
- inputPasskeyCredentialFirebasePNV
- messages.emojiGameOutcome
- messages.emojiGameUnavailable
- messages.emojiGameDiceInfo
- starGiftAttributeRarity
- starGiftAttributeRarityUncommon
- starGiftAttributeRarityRare
- starGiftAttributeRarityEpic
- starGiftAttributeRarityLegendary
- keyboardButtonStyle
Changed Constructors:
- Added bot_forum_can_manage_topics param to user
- Added monoforum param to channelForbidden
- Added summary_from_language param to message
- Added game_outcome param to messageMediaDice
- Added craft param to messageActionStarGiftUnique
- Added can_craft_at param to messageActionStarGiftUnique
- Added style param to keyboardButton
- Added style param to keyboardButtonUrl
- Added style param to keyboardButtonCallback
- Added style param to keyboardButtonRequestPhone
- Added style param to keyboardButtonRequestGeoLocation
- Added style param to keyboardButtonSwitchInline
- Added style param to keyboardButtonGame
- Added style param to keyboardButtonBuy
- Added style param to keyboardButtonUrlAuth
- Added style param to inputKeyboardButtonUrlAuth
- Added style param to keyboardButtonRequestPoll
- Added style param to inputKeyboardButtonUserProfile
- Added style param to keyboardButtonUserProfile
- Added style param to keyboardButtonWebView
- Added style param to keyboardButtonSimpleWebView
- Added style param to keyboardButtonRequestPeer
- Added style param to inputKeyboardButtonRequestPeer
- Added style param to keyboardButtonCopy
- Added request_phone_number param to urlAuthResultRequest
- Added browser param to urlAuthResultRequest
- Added platform param to urlAuthResultRequest
- Added ip param to urlAuthResultRequest
- Added region param to urlAuthResultRequest
- Added burned param to starGiftUnique
- Added crafted param to starGiftUnique
- Added craft_chance_permille param to starGiftUnique
- Added crafted param to starGiftAttributeModel
- Added rarity param to starGiftAttributeModel
- Removed rarity_permille param from starGiftAttributeModel
- Added rarity param to starGiftAttributePattern
- Removed rarity_permille param from starGiftAttributePattern
- Added rarity param to starGiftAttributeBackdrop
- Removed rarity_permille param from starGiftAttributeBackdrop
- Added can_craft_at param to savedStarGift
Features:
- Update to layer 222 (the server is currently returning unreleased Message constructors for layer 223 and above, so delaying those for now)
Fixes:
- DC fix
New Methods:
- messages.getEmojiGameInfo
- messages.summarizeText
- channels.getFutureCreatorAfterLeave
- payments.getCraftStarGifts
- payments.craftStarGift
Changed Methods:
- Added share_phone_number param to messages.acceptUrlAuth
- Added for_craft param to payments.getResaleStarGifts
New Constructors:
- inputMediaStakeDice
- messageActionNewCreatorPending
- messageActionChangeCreator
- updateEmojiGameInfo
- updateStarGiftCraftFail
- inputPasskeyCredentialFirebasePNV
- messages.emojiGameOutcome
- messages.emojiGameUnavailable
- messages.emojiGameDiceInfo
- starGiftAttributeRarity
- starGiftAttributeRarityUncommon
- starGiftAttributeRarityRare
- starGiftAttributeRarityEpic
- starGiftAttributeRarityLegendary
- keyboardButtonStyle
Changed Constructors:
- Added bot_forum_can_manage_topics param to user
- Added monoforum param to channelForbidden
- Added summary_from_language param to message
- Added game_outcome param to messageMediaDice
- Added craft param to messageActionStarGiftUnique
- Added can_craft_at param to messageActionStarGiftUnique
- Added style param to keyboardButton
- Added style param to keyboardButtonUrl
- Added style param to keyboardButtonCallback
- Added style param to keyboardButtonRequestPhone
- Added style param to keyboardButtonRequestGeoLocation
- Added style param to keyboardButtonSwitchInline
- Added style param to keyboardButtonGame
- Added style param to keyboardButtonBuy
- Added style param to keyboardButtonUrlAuth
- Added style param to inputKeyboardButtonUrlAuth
- Added style param to keyboardButtonRequestPoll
- Added style param to inputKeyboardButtonUserProfile
- Added style param to keyboardButtonUserProfile
- Added style param to keyboardButtonWebView
- Added style param to keyboardButtonSimpleWebView
- Added style param to keyboardButtonRequestPeer
- Added style param to inputKeyboardButtonRequestPeer
- Added style param to keyboardButtonCopy
- Added request_phone_number param to urlAuthResultRequest
- Added browser param to urlAuthResultRequest
- Added platform param to urlAuthResultRequest
- Added ip param to urlAuthResultRequest
- Added region param to urlAuthResultRequest
- Added burned param to starGiftUnique
- Added crafted param to starGiftUnique
- Added craft_chance_permille param to starGiftUnique
- Added crafted param to starGiftAttributeModel
- Added rarity param to starGiftAttributeModel
- Removed rarity_permille param from starGiftAttributeModel
- Added rarity param to starGiftAttributePattern
- Removed rarity_permille param from starGiftAttributePattern
- Added rarity param to starGiftAttributeBackdrop
- Removed rarity_permille param from starGiftAttributeBackdrop
- Added can_craft_at param to savedStarGift
docs.madelineproto.xyz
messages.getEmojiGameInfo
messages.getEmojiGameInfo parameters, return type and example
β€1π1π1
Previewing my upcoming php-community RFC: https://github.com/danog/php-community-rfc
Feel free to submit feedback in the comments, it will be posted to the PHP internals mailing list either this weekend or next week.
Feel free to submit feedback in the comments, it will be posted to the PHP internals mailing list either this weekend or next week.
GitHub
GitHub - danog/php-community-rfc: RFC for php-community: a faster-moving, community-driven PHP.
RFC for php-community: a faster-moving, community-driven PHP. - danog/php-community-rfc
π₯4π«‘3
Daniil Gentili
Let's fight for the future of async PHP, upvote my take on the PHP Async proposal: https://github.com/true-async/php-true-async-rfc/discussions/8#discussioncomment-15074303
Btw, I'm now part of the True Async committee!
I decided to not present the RFC as linked to true async, to explicitly prevent an interpretation where it is something that will allow us to "sneak in" True Async into PHP.
True Async is one of, but not the only nor the main reason why I created this RFC.
I truly believe that PHP could really benefit from a more agile RFC process, that can transform it from just a decent and fast language I and so many others love, to an amazing, blazing fast and actually modern and ergonomic language: I believe PHP truly deserves this.
I decided to not present the RFC as linked to true async, to explicitly prevent an interpretation where it is something that will allow us to "sneak in" True Async into PHP.
True Async is one of, but not the only nor the main reason why I created this RFC.
I truly believe that PHP could really benefit from a more agile RFC process, that can transform it from just a decent and fast language I and so many others love, to an amazing, blazing fast and actually modern and ergonomic language: I believe PHP truly deserves this.
π₯7π«‘2π1
Daniil Gentili
Previewing my upcoming php-community RFC: https://github.com/danog/php-community-rfc Feel free to submit feedback in the comments, it will be posted to the PHP internals mailing list either this weekend or next week.
externals.io
[RFC] php-community: a faster-moving, community-driven PHP. - Externals
#externals - Opening PHP's #internals to the outside
β€11π8π₯4π«‘3π2