Releases: danog/MadelineProto
Releases · danog/MadelineProto
Layer 218
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
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](https://docs.madelineproto.xyz/API_docs/co...
upload* methods and multiple fixes
Features:
- Add new
uploadDocument,uploadPhoto,uploadAudio,uploadDocumentPhoto,uploadGif,uploadPhoto,uploadSticker,uploadVideo,uploadVoicemethods 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 theirsend*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
Fix messages.sendPaidReaction
This release fixes messages.sendPaidReaction.
Layer 214
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
Deleted Methods:
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
CDN fixes
Minor improvements
Fixes:
- Test a fix for a minor issue related to channel bans
- Bump layer 211
Docs:
- Autodetect business-capable methods
- Add some RPC errors
Upgrade to layer 211
The server-side issues with newer layers were fixed.
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
Deleted Methods:
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
Rollback to layer 207
Rolling back to layer 207 due to server-side issues which are currently still being fixed by the devs.
Psalm fixes
8.5.2 Fix psalm