@@ -852,6 +852,23 @@ class authorizationStateWaitPhoneNumber final : public AuthorizationState {
852852 void store(TlStorerToString &s, const char *field_name) const final;
853853};
854854
855+ class authorizationStateWaitPremiumPurchase final : public AuthorizationState {
856+ std::int32_t get_id() const final {
857+ return ID;
858+ }
859+
860+ public:
861+ string store_product_id_;
862+
863+ authorizationStateWaitPremiumPurchase();
864+
865+ explicit authorizationStateWaitPremiumPurchase(string const &store_product_id_);
866+
867+ static const std::int32_t ID = -862487743;
868+
869+ void store(TlStorerToString &s, const char *field_name) const final;
870+ };
871+
855872class authorizationStateWaitEmailAddress final : public AuthorizationState {
856873 std::int32_t get_id() const final {
857874 return ID;
@@ -8687,6 +8704,7 @@ class forumTopic final : public Object {
86878704 public:
86888705 object_ptr<forumTopicInfo> info_;
86898706 object_ptr<message> last_message_;
8707+ int64 order_;
86908708 bool is_pinned_;
86918709 int32 unread_count_;
86928710 int53 last_read_inbox_message_id_;
@@ -8698,9 +8716,9 @@ class forumTopic final : public Object {
86988716
86998717 forumTopic();
87008718
8701- forumTopic(object_ptr<forumTopicInfo> &&info_, object_ptr<message> &&last_message_, bool is_pinned_, int32 unread_count_, int53 last_read_inbox_message_id_, int53 last_read_outbox_message_id_, int32 unread_mention_count_, int32 unread_reaction_count_, object_ptr<chatNotificationSettings> &¬ification_settings_, object_ptr<draftMessage> &&draft_message_);
8719+ forumTopic(object_ptr<forumTopicInfo> &&info_, object_ptr<message> &&last_message_, int64 order_, bool is_pinned_, int32 unread_count_, int53 last_read_inbox_message_id_, int53 last_read_outbox_message_id_, int32 unread_mention_count_, int32 unread_reaction_count_, object_ptr<chatNotificationSettings> &¬ification_settings_, object_ptr<draftMessage> &&draft_message_);
87028720
8703- static const std::int32_t ID = 303279334 ;
8721+ static const std::int32_t ID = -2094608976 ;
87048722
87058723 void store(TlStorerToString &s, const char *field_name) const final;
87068724};
@@ -8733,6 +8751,7 @@ class forumTopicInfo final : public Object {
87338751 }
87348752
87358753 public:
8754+ int53 chat_id_;
87368755 int53 message_thread_id_;
87378756 string name_;
87388757 object_ptr<forumTopicIcon> icon_;
@@ -8745,9 +8764,9 @@ class forumTopicInfo final : public Object {
87458764
87468765 forumTopicInfo();
87478766
8748- forumTopicInfo(int53 message_thread_id_, string const &name_, object_ptr<forumTopicIcon> &&icon_, int32 creation_date_, object_ptr<MessageSender> &&creator_id_, bool is_general_, bool is_outgoing_, bool is_closed_, bool is_hidden_);
8767+ forumTopicInfo(int53 chat_id_, int53 message_thread_id_, string const &name_, object_ptr<forumTopicIcon> &&icon_, int32 creation_date_, object_ptr<MessageSender> &&creator_id_, bool is_general_, bool is_outgoing_, bool is_closed_, bool is_hidden_);
87498768
8750- static const std::int32_t ID = -1879842914 ;
8769+ static const std::int32_t ID = -654857606 ;
87518770
87528771 void store(TlStorerToString &s, const char *field_name) const final;
87538772};
@@ -26213,6 +26232,46 @@ class storePaymentPurposeGiftedStars final : public StorePaymentPurpose {
2621326232 void store(TlStorerToString &s, const char *field_name) const final;
2621426233};
2621526234
26235+ class StoreTransaction: public Object {
26236+ public:
26237+ };
26238+
26239+ class storeTransactionAppStore final : public StoreTransaction {
26240+ std::int32_t get_id() const final {
26241+ return ID;
26242+ }
26243+
26244+ public:
26245+ bytes receipt_;
26246+
26247+ storeTransactionAppStore();
26248+
26249+ explicit storeTransactionAppStore(bytes const &receipt_);
26250+
26251+ static const std::int32_t ID = 1625562441;
26252+
26253+ void store(TlStorerToString &s, const char *field_name) const final;
26254+ };
26255+
26256+ class storeTransactionGooglePlay final : public StoreTransaction {
26257+ std::int32_t get_id() const final {
26258+ return ID;
26259+ }
26260+
26261+ public:
26262+ string package_name_;
26263+ string store_product_id_;
26264+ string purchase_token_;
26265+
26266+ storeTransactionGooglePlay();
26267+
26268+ storeTransactionGooglePlay(string const &package_name_, string const &store_product_id_, string const &purchase_token_);
26269+
26270+ static const std::int32_t ID = 1094018617;
26271+
26272+ void store(TlStorerToString &s, const char *field_name) const final;
26273+ };
26274+
2621626275class story;
2621726276
2621826277class stories final : public Object {
@@ -29909,14 +29968,34 @@ class updateForumTopicInfo final : public Update {
2990929968 }
2991029969
2991129970 public:
29912- int53 chat_id_;
2991329971 object_ptr<forumTopicInfo> info_;
2991429972
2991529973 updateForumTopicInfo();
2991629974
29917- updateForumTopicInfo(int53 chat_id_, object_ptr<forumTopicInfo> &&info_);
29975+ explicit updateForumTopicInfo(object_ptr<forumTopicInfo> &&info_);
29976+
29977+ static const std::int32_t ID = 1420762696;
29978+
29979+ void store(TlStorerToString &s, const char *field_name) const final;
29980+ };
29981+
29982+ class updateForumTopic final : public Update {
29983+ std::int32_t get_id() const final {
29984+ return ID;
29985+ }
29986+
29987+ public:
29988+ int53 chat_id_;
29989+ int53 message_thread_id_;
29990+ bool is_pinned_;
29991+ int53 last_read_outbox_message_id_;
29992+ object_ptr<chatNotificationSettings> notification_settings_;
29993+
29994+ updateForumTopic();
29995+
29996+ updateForumTopic(int53 chat_id_, int53 message_thread_id_, bool is_pinned_, int53 last_read_outbox_message_id_, object_ptr<chatNotificationSettings> &¬ification_settings_);
2991829997
29919- static const std::int32_t ID = 1802448073 ;
29998+ static const std::int32_t ID = 807069971 ;
2992029999
2992130000 void store(TlStorerToString &s, const char *field_name) const final;
2992230001};
@@ -33817,48 +33896,24 @@ class applyPremiumGiftCode final : public Function {
3381733896
3381833897class StorePaymentPurpose;
3381933898
33820- class ok;
33821-
33822- class assignAppStoreTransaction final : public Function {
33823- std::int32_t get_id() const final {
33824- return ID;
33825- }
33826-
33827- public:
33828- bytes receipt_;
33829- object_ptr<StorePaymentPurpose> purpose_;
33830-
33831- assignAppStoreTransaction();
33832-
33833- assignAppStoreTransaction(bytes const &receipt_, object_ptr<StorePaymentPurpose> &&purpose_);
33834-
33835- static const std::int32_t ID = -2030892112;
33836-
33837- using ReturnType = object_ptr<ok>;
33838-
33839- void store(TlStorerToString &s, const char *field_name) const final;
33840- };
33841-
33842- class StorePaymentPurpose;
33899+ class StoreTransaction;
3384333900
3384433901class ok;
3384533902
33846- class assignGooglePlayTransaction final : public Function {
33903+ class assignStoreTransaction final : public Function {
3384733904 std::int32_t get_id() const final {
3384833905 return ID;
3384933906 }
3385033907
3385133908 public:
33852- string package_name_;
33853- string store_product_id_;
33854- string purchase_token_;
33909+ object_ptr<StoreTransaction> transaction_;
3385533910 object_ptr<StorePaymentPurpose> purpose_;
3385633911
33857- assignGooglePlayTransaction ();
33912+ assignStoreTransaction ();
3385833913
33859- assignGooglePlayTransaction(string const &package_name_, string const &store_product_id_, string const &purchase_token_ , object_ptr<StorePaymentPurpose> &&purpose_);
33914+ assignStoreTransaction(object_ptr<StoreTransaction> &&transaction_ , object_ptr<StorePaymentPurpose> &&purpose_);
3386033915
33861- static const std::int32_t ID = -1992704860 ;
33916+ static const std::int32_t ID = -2046202900 ;
3386233917
3386333918 using ReturnType = object_ptr<ok>;
3386433919
@@ -34274,6 +34329,28 @@ class checkAuthenticationPasswordRecoveryCode final : public Function {
3427434329 void store(TlStorerToString &s, const char *field_name) const final;
3427534330};
3427634331
34332+ class ok;
34333+
34334+ class checkAuthenticationPremiumPurchase final : public Function {
34335+ std::int32_t get_id() const final {
34336+ return ID;
34337+ }
34338+
34339+ public:
34340+ string currency_;
34341+ int53 amount_;
34342+
34343+ checkAuthenticationPremiumPurchase();
34344+
34345+ checkAuthenticationPremiumPurchase(string const ¤cy_, int53 amount_);
34346+
34347+ static const std::int32_t ID = 1588959934;
34348+
34349+ using ReturnType = object_ptr<ok>;
34350+
34351+ void store(TlStorerToString &s, const char *field_name) const final;
34352+ };
34353+
3427734354class chatFolderInviteLinkInfo;
3427834355
3427934356class checkChatFolderInviteLink final : public Function {
@@ -47427,6 +47504,32 @@ class setAuthenticationPhoneNumber final : public Function {
4742747504 void store(TlStorerToString &s, const char *field_name) const final;
4742847505};
4742947506
47507+ class StoreTransaction;
47508+
47509+ class ok;
47510+
47511+ class setAuthenticationPremiumPurchaseTransaction final : public Function {
47512+ std::int32_t get_id() const final {
47513+ return ID;
47514+ }
47515+
47516+ public:
47517+ object_ptr<StoreTransaction> transaction_;
47518+ bool is_restore_;
47519+ string currency_;
47520+ int53 amount_;
47521+
47522+ setAuthenticationPremiumPurchaseTransaction();
47523+
47524+ setAuthenticationPremiumPurchaseTransaction(object_ptr<StoreTransaction> &&transaction_, bool is_restore_, string const ¤cy_, int53 amount_);
47525+
47526+ static const std::int32_t ID = -450986887;
47527+
47528+ using ReturnType = object_ptr<ok>;
47529+
47530+ void store(TlStorerToString &s, const char *field_name) const final;
47531+ };
47532+
4743047533class NetworkType;
4743147534
4743247535class autoDownloadSettings;
0 commit comments