diff --git a/Telegram/Resources/tl/api.tl b/Telegram/Resources/tl/api.tl index e5fa94be9..96e0b2fc8 100644 --- a/Telegram/Resources/tl/api.tl +++ b/Telegram/Resources/tl/api.tl @@ -628,7 +628,6 @@ messageEntityStrike#bf0693d4 offset:int length:int = MessageEntity; messageEntityBlockquote#20df5d0 offset:int length:int = MessageEntity; messageEntityBankCard#761e6af4 offset:int length:int = MessageEntity; messageEntitySpoiler#32ca960f offset:int length:int = MessageEntity; -messageEntityAnimatedEmoji#5eef0214 offset:int length:int = MessageEntity; inputChannelEmpty#ee8c1e86 = InputChannel; inputChannel#f35aec28 channel_id:long access_hash:long = InputChannel; @@ -1386,7 +1385,7 @@ payments.exportedInvoice#aed0cbd9 url:string = payments.ExportedInvoice; messages.transcribedAudio#93752c52 flags:# pending:flags.0?true transcription_id:long text:string = messages.TranscribedAudio; -help.premiumPromo#e0360f1b status_text:string status_entities:Vector video_sections:Vector videos:Vector currency:string monthly_amount:long = help.PremiumPromo; +help.premiumPromo#8a4f3c29 status_text:string status_entities:Vector video_sections:Vector videos:Vector currency:string monthly_amount:long users:Vector = help.PremiumPromo; ---functions--- @@ -1793,8 +1792,7 @@ payments.getSavedInfo#227d824b = payments.SavedInfo; payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool; payments.getBankCardData#2e79d779 number:string = payments.BankCardData; payments.exportInvoice#f91b065 invoice_media:InputMedia = payments.ExportedInvoice; -payments.assignAppStoreTransaction#6299a12f transaction_id:string = Updates; -payments.restoreAppStoreReceipt#80de2ac7 receipt:bytes = Updates; +payments.assignAppStoreTransaction#fec13c6 flags:# restore:flags.0?true transaction_id:string receipt:bytes = Updates; payments.assignPlayMarketTransaction#4faa4aed purchase_token:string = Updates; payments.restorePlayMarketReceipt#d164e36a receipt:bytes = Updates; payments.canPurchasePremium#aa6a90c8 = Bool; diff --git a/Telegram/SourceFiles/api/api_premium.cpp b/Telegram/SourceFiles/api/api_premium.cpp index 1cc925e47..87c7461b2 100644 --- a/Telegram/SourceFiles/api/api_premium.cpp +++ b/Telegram/SourceFiles/api/api_premium.cpp @@ -51,6 +51,7 @@ void Premium::reload() { )).done([=](const MTPhelp_PremiumPromo &result) { _statusRequestId = 0; result.match([&](const MTPDhelp_premiumPromo &data) { + _session->data().processUsers(data.vusers()); _monthlyAmount = data.vmonthly_amount().v; _monthlyCurrency = qs(data.vcurrency()); auto text = TextWithEntities{ diff --git a/Telegram/SourceFiles/export/data/export_data_types.cpp b/Telegram/SourceFiles/export/data/export_data_types.cpp index a1a519cad..62ab44803 100644 --- a/Telegram/SourceFiles/export/data/export_data_types.cpp +++ b/Telegram/SourceFiles/export/data/export_data_types.cpp @@ -155,8 +155,7 @@ std::vector ParseText( [](const MTPDmessageEntityBlockquote&) { return Type::Blockquote; }, [](const MTPDmessageEntityBankCard&) { return Type::BankCard; }, - [](const MTPDmessageEntitySpoiler&) { return Type::Spoiler; }, - [](const MTPDmessageEntityAnimatedEmoji&) { return Type::Unknown; }); + [](const MTPDmessageEntitySpoiler&) { return Type::Spoiler; }); part.text = mid(start, length); part.additional = entity.match( [](const MTPDmessageEntityPre &data) {