Releases: danog/MadelineProto
Releases · danog/MadelineProto
Layer 225
Features:
- Update to layer 225
New Methods:
- messages.composeMessageWithAI
- messages.reportReadMetrics
- messages.reportMusicListen
- messages.addPollAnswer
- messages.deletePollAnswer
- messages.getUnreadPollVotes
- messages.readPollVotes
- bots.checkUsername
- bots.createBot
- bots.exportBotToken
- bots.requestWebViewButton
- bots.getRequestedWebViewButton
Changed Methods:
- Added poll_hash param to messages.getPollResults
- Added tone param to messages.translateText
- Added webapp_req_id param to messages.sendBotRequestedPeer
- Added tone param to messages.summarizeText
- Added stars_only param to payments.getResaleStarGifts
- Added music param to stories.sendStory
- Added music param to stories.editStory
New Constructors:
- messageActionPollAppendAnswer
- messageActionPollDeleteAnswer
- messageActionManagedBotCreated
- inputMessagesFilterPoll
- updateManagedBot
- messageEntityDiffInsert
- messageEntityDiffReplace
- messageEntityDiffDelete
- inputPollAnswer
- requestPeerTypeCreateBot
- inputMessageReadMetric
- bots.exportedBotToken
- bots.requestedButton
- messages.composedMessageWithAI
Changed Constructors:
- Added live_photo param to inputMediaUploadedPhoto
- Added video param to inputMediaUploadedPhoto
- Added live_photo param to inputMediaPhoto
- Added video param to inputMediaPhoto
- Added attached_media param to inputMediaPoll
- Added solution_media param to inputMediaPoll
- Added bot_can_manage_bots param to user
- Added live_photo param to messageMediaPhoto
- Added video param to messageMediaPhoto
- Added attached_media param to messageMediaPoll
- Added unread_poll_votes_count param to dialog
- Added unofficial_security_risk param to userFull
- Added bot_manager_id param to userFull
- Added peer param to updateMessagePoll
- Added msg_id param to updateMessagePoll
- Added top_msg_id param to updateMessagePoll
- Added positions param to updateMessagePollVote
- Added media param to pollAnswer
- Added added_by param to pollAnswer
- Added date param to pollAnswer
- Added open_answers param to poll
- Added revoting_disabled param to poll
- Added shuffle_answers param to poll
- Added hide_results_until_close param to poll
- Added creator param to poll
- Added hash param to poll
- Added recent_voters param to pollAnswerVoters
- Added has_unread_votes param to pollResults
- Added solution_media param to pollResults
- Added is_app param to urlAuthResultRequest
- Added verified_app_name param to urlAuthResultRequest
- Added poll_option param to messageReplyHeader
- Added unread_poll_votes_count param to forumTopic
- Added music param to storyItem
- Added poll_option param to inputReplyToMessage
- Added poll_votes_notify_from param to reactionsNotifySettings
Fixes:
New Contributors
Full Changelog: 8.6.4...8.6.5
Layer 223
Features:
- Layer 223
Fixes:
- Remove debug statement
New Methods:
- messages.editChatCreator
- messages.getFutureChatCreatorAfterLeave
- messages.editChatParticipantRank
- messages.declineUrlAuth
- messages.checkUrlAuthMatchCode
Changed Methods:
- Added in_app_origin param to messages.requestUrlAuth
- Added match_code param to messages.acceptUrlAuth
- Added request_msg_id param to messages.toggleNoForwards
Deleted Methods:
- channels.editCreator
- channels.getFutureCreatorAfterLeave
New Constructors:
- messageActionNoForwardsToggle
- messageActionNoForwardsRequest
- updateChatParticipantRank
- messageEntityFormattedDate
- channelAdminLogEventActionParticipantEditRank
Changed Constructors:
- Added rank param to chatParticipant
- Added rank param to chatParticipantCreator
- Added rank param to chatParticipantAdmin
- Added from_rank param to message
- Added noforwards_my_enabled param to userFull
- Added noforwards_peer_enabled param to userFull
- Added rank param to channelParticipant
- Added rank param to channelParticipantSelf
- Added rank param to channelParticipantBanned
- Added edit_rank param to channelAdminLogEventsFilter
- Added manage_ranks param to chatAdminRights
- Added edit_rank param to chatBannedRights
- Added match_codes_first param to urlAuthResultRequest
- Added match_codes param to urlAuthResultRequest
- Added user_id_hint param to urlAuthResultRequest
Layer 222 and DC fix
Features:
- Update to layer 222 (the server is currently returning unreleased Message constructors for layer 223 and above, so delaying those for now)
- 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
Layer 220 and phpseclib fixes
Fixes:
- Fix handshake hang caused by breaking change in phpseclib's BigInteger serialization format
Features:
- Update to layer 220
New Methods:
- auth.initPasskeyLogin
- auth.finishPasskeyLogin
- account.initPasskeyRegistration
- account.registerPasskey
- account.getPasskeys
- account.deletePasskey
- payments.resolveStarGiftOffer
- payments.sendStarGiftOffer
- payments.getStarGiftUpgradeAttributes
Changed Methods:
- Added effect param to messages.forwardMessages
New Constructors:
- messageActionStarGiftPurchaseOffer
- messageActionStarGiftPurchaseOfferDeclined
- passkey
- account.passkeys
- account.passkeyRegistrationOptions
- auth.passkeyLoginOptions
- inputPasskeyResponseRegister
- inputPasskeyResponseLogin
- inputPasskeyCredentialPublicKey
- starGiftBackground
- starGiftAuctionRound
- starGiftAuctionRoundExtendable
- payments.starGiftUpgradeAttributes
Changed Constructors:
- Added gift_num param to messageActionStarGift
- Added from_offer param to messageActionStarGiftUnique
- Removed center_color param from webPageAttributeStarGiftAuction
- Removed edge_color param from webPageAttributeStarGiftAuction
- Removed text_color param from webPageAttributeStarGiftAuction
- Added offer param to starsTransaction
- Added auction_start_date param to starGift
- Added upgrade_variants param to starGift
- Added background param to starGift
- Added value_usd_amount param to starGiftUnique
- Added offer_min_stars param to starGiftUnique
- Added gift_num param to savedStarGift
- Removed anonymous param from groupCallDonor
- Added last_gift_num param to starGiftAuctionState
- Added rounds param to starGiftAuctionState
- Added listed_count param to starGiftAuctionStateFinished
- Added fragment_listed_count param to starGiftAuctionStateFinished
- Added fragment_listed_url param to starGiftAuctionStateFinished
- Added chats param to payments.starGiftAuctionState
- Added gift_num param to starGiftAuctionAcquiredGift
- Added chats param to payments.starGiftActiveAuctions
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