teleproto 209.1.3 → 210.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Version.d.ts +1 -1
- package/Version.js +1 -1
- package/package.json +1 -1
- package/tl/AllTLObjects.d.ts +1 -1
- package/tl/AllTLObjects.js +1 -1
- package/tl/api.d.ts +151 -5
- package/tl/apiTl.js +14 -5
package/Version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "
|
|
1
|
+
export declare const version = "210.1.3";
|
package/Version.js
CHANGED
package/package.json
CHANGED
package/tl/AllTLObjects.d.ts
CHANGED
package/tl/AllTLObjects.js
CHANGED
package/tl/api.d.ts
CHANGED
|
@@ -3151,8 +3151,9 @@ export namespace Api {
|
|
|
3151
3151
|
botVerification?: Api.TypeBotVerification;
|
|
3152
3152
|
sendPaidMessagesStars?: long;
|
|
3153
3153
|
disallowedGifts?: Api.TypeDisallowedGiftsSettings;
|
|
3154
|
+
starsRating?: Api.TypeStarsRating;
|
|
3154
3155
|
}> {
|
|
3155
|
-
CONSTRUCTOR_ID:
|
|
3156
|
+
CONSTRUCTOR_ID: 702447806;
|
|
3156
3157
|
SUBCLASS_OF_ID: 524706233;
|
|
3157
3158
|
classType: "constructor";
|
|
3158
3159
|
className: "UserFull";
|
|
@@ -3207,6 +3208,7 @@ export namespace Api {
|
|
|
3207
3208
|
botVerification?: Api.TypeBotVerification;
|
|
3208
3209
|
sendPaidMessagesStars?: long;
|
|
3209
3210
|
disallowedGifts?: Api.TypeDisallowedGiftsSettings;
|
|
3211
|
+
starsRating?: Api.TypeStarsRating;
|
|
3210
3212
|
}
|
|
3211
3213
|
export class Contact extends VirtualClass<{
|
|
3212
3214
|
userId: long;
|
|
@@ -15991,6 +15993,8 @@ export namespace Api {
|
|
|
15991
15993
|
limited?: boolean;
|
|
15992
15994
|
soldOut?: boolean;
|
|
15993
15995
|
birthday?: boolean;
|
|
15996
|
+
requirePremium?: boolean;
|
|
15997
|
+
limitedPerUser?: boolean;
|
|
15994
15998
|
id: long;
|
|
15995
15999
|
sticker: Api.TypeDocument;
|
|
15996
16000
|
stars: long;
|
|
@@ -16004,8 +16008,10 @@ export namespace Api {
|
|
|
16004
16008
|
resellMinStars?: long;
|
|
16005
16009
|
title?: string;
|
|
16006
16010
|
releasedBy?: Api.TypePeer;
|
|
16011
|
+
perUserTotal?: int;
|
|
16012
|
+
perUserRemains?: int;
|
|
16007
16013
|
}> {
|
|
16008
|
-
CONSTRUCTOR_ID:
|
|
16014
|
+
CONSTRUCTOR_ID: 12386139;
|
|
16009
16015
|
SUBCLASS_OF_ID: 3273414923;
|
|
16010
16016
|
classType: "constructor";
|
|
16011
16017
|
className: "StarGift";
|
|
@@ -16014,6 +16020,8 @@ export namespace Api {
|
|
|
16014
16020
|
limited?: boolean;
|
|
16015
16021
|
soldOut?: boolean;
|
|
16016
16022
|
birthday?: boolean;
|
|
16023
|
+
requirePremium?: boolean;
|
|
16024
|
+
limitedPerUser?: boolean;
|
|
16017
16025
|
id: long;
|
|
16018
16026
|
sticker: Api.TypeDocument;
|
|
16019
16027
|
stars: long;
|
|
@@ -16027,9 +16035,12 @@ export namespace Api {
|
|
|
16027
16035
|
resellMinStars?: long;
|
|
16028
16036
|
title?: string;
|
|
16029
16037
|
releasedBy?: Api.TypePeer;
|
|
16038
|
+
perUserTotal?: int;
|
|
16039
|
+
perUserRemains?: int;
|
|
16030
16040
|
}
|
|
16031
16041
|
export class StarGiftUnique extends VirtualClass<{
|
|
16032
16042
|
// flags: null;
|
|
16043
|
+
requirePremium?: boolean;
|
|
16033
16044
|
id: long;
|
|
16034
16045
|
title: string;
|
|
16035
16046
|
slug: string;
|
|
@@ -16050,6 +16061,7 @@ export namespace Api {
|
|
|
16050
16061
|
className: "StarGiftUnique";
|
|
16051
16062
|
static fromReader(reader: Reader): StarGiftUnique;
|
|
16052
16063
|
// flags: null;
|
|
16064
|
+
requirePremium?: boolean;
|
|
16053
16065
|
id: long;
|
|
16054
16066
|
title: string;
|
|
16055
16067
|
slug: string;
|
|
@@ -16316,8 +16328,9 @@ export namespace Api {
|
|
|
16316
16328
|
transferStars?: long;
|
|
16317
16329
|
canTransferAt?: int;
|
|
16318
16330
|
canResellAt?: int;
|
|
16331
|
+
collectionId?: int[];
|
|
16319
16332
|
}> {
|
|
16320
|
-
CONSTRUCTOR_ID:
|
|
16333
|
+
CONSTRUCTOR_ID: 514213599;
|
|
16321
16334
|
SUBCLASS_OF_ID: 2385198100;
|
|
16322
16335
|
classType: "constructor";
|
|
16323
16336
|
className: "SavedStarGift";
|
|
@@ -16340,6 +16353,7 @@ export namespace Api {
|
|
|
16340
16353
|
transferStars?: long;
|
|
16341
16354
|
canTransferAt?: int;
|
|
16342
16355
|
canResellAt?: int;
|
|
16356
|
+
collectionId?: int[];
|
|
16343
16357
|
}
|
|
16344
16358
|
export class InputSavedStarGiftUser extends VirtualClass<{
|
|
16345
16359
|
msgId: int;
|
|
@@ -16615,6 +16629,44 @@ export namespace Api {
|
|
|
16615
16629
|
price?: Api.TypeStarsAmount;
|
|
16616
16630
|
scheduleDate?: int;
|
|
16617
16631
|
}
|
|
16632
|
+
export class StarsRating extends VirtualClass<{
|
|
16633
|
+
// flags: null;
|
|
16634
|
+
level: int;
|
|
16635
|
+
currentLevelStars: long;
|
|
16636
|
+
stars: long;
|
|
16637
|
+
nextLevelStars?: long;
|
|
16638
|
+
}> {
|
|
16639
|
+
CONSTRUCTOR_ID: 453922567;
|
|
16640
|
+
SUBCLASS_OF_ID: 1668506656;
|
|
16641
|
+
classType: "constructor";
|
|
16642
|
+
className: "StarsRating";
|
|
16643
|
+
static fromReader(reader: Reader): StarsRating;
|
|
16644
|
+
// flags: null;
|
|
16645
|
+
level: int;
|
|
16646
|
+
currentLevelStars: long;
|
|
16647
|
+
stars: long;
|
|
16648
|
+
nextLevelStars?: long;
|
|
16649
|
+
}
|
|
16650
|
+
export class StarGiftCollection extends VirtualClass<{
|
|
16651
|
+
// flags: null;
|
|
16652
|
+
collectionId: int;
|
|
16653
|
+
title: string;
|
|
16654
|
+
icon?: Api.TypeDocument;
|
|
16655
|
+
giftsCount: int;
|
|
16656
|
+
hash: long;
|
|
16657
|
+
}> {
|
|
16658
|
+
CONSTRUCTOR_ID: 2641040304;
|
|
16659
|
+
SUBCLASS_OF_ID: 1138805578;
|
|
16660
|
+
classType: "constructor";
|
|
16661
|
+
className: "StarGiftCollection";
|
|
16662
|
+
static fromReader(reader: Reader): StarGiftCollection;
|
|
16663
|
+
// flags: null;
|
|
16664
|
+
collectionId: int;
|
|
16665
|
+
title: string;
|
|
16666
|
+
icon?: Api.TypeDocument;
|
|
16667
|
+
giftsCount: int;
|
|
16668
|
+
hash: long;
|
|
16669
|
+
}
|
|
16618
16670
|
export class ResPQ extends VirtualClass<{
|
|
16619
16671
|
nonce: int128;
|
|
16620
16672
|
serverNonce: int128;
|
|
@@ -20913,6 +20965,23 @@ export namespace Api {
|
|
|
20913
20965
|
counters?: Api.TypeStarGiftAttributeCounter[];
|
|
20914
20966
|
users: Api.TypeUser[];
|
|
20915
20967
|
}
|
|
20968
|
+
export class StarGiftCollectionsNotModified extends VirtualClass<void> {
|
|
20969
|
+
CONSTRUCTOR_ID: 2696564503;
|
|
20970
|
+
SUBCLASS_OF_ID: 4028047852;
|
|
20971
|
+
classType: "constructor";
|
|
20972
|
+
className: "payments.StarGiftCollectionsNotModified";
|
|
20973
|
+
static fromReader(reader: Reader): StarGiftCollectionsNotModified;
|
|
20974
|
+
}
|
|
20975
|
+
export class StarGiftCollections extends VirtualClass<{
|
|
20976
|
+
collections: Api.TypeStarGiftCollection[];
|
|
20977
|
+
}> {
|
|
20978
|
+
CONSTRUCTOR_ID: 2317955827;
|
|
20979
|
+
SUBCLASS_OF_ID: 4028047852;
|
|
20980
|
+
classType: "constructor";
|
|
20981
|
+
className: "payments.StarGiftCollections";
|
|
20982
|
+
static fromReader(reader: Reader): StarGiftCollections;
|
|
20983
|
+
collections: Api.TypeStarGiftCollection[];
|
|
20984
|
+
}
|
|
20916
20985
|
}
|
|
20917
20986
|
|
|
20918
20987
|
export namespace phone {
|
|
@@ -21813,6 +21882,7 @@ export namespace Api {
|
|
|
21813
21882
|
export type TypeSavedStarGifts = payments.SavedStarGifts;
|
|
21814
21883
|
export type TypeStarGiftWithdrawalUrl = payments.StarGiftWithdrawalUrl;
|
|
21815
21884
|
export type TypeResaleStarGifts = payments.ResaleStarGifts;
|
|
21885
|
+
export type TypeStarGiftCollections = payments.StarGiftCollectionsNotModified | payments.StarGiftCollections;
|
|
21816
21886
|
}
|
|
21817
21887
|
|
|
21818
21888
|
export namespace phone {
|
|
@@ -29682,10 +29752,11 @@ export namespace Api {
|
|
|
29682
29752
|
excludeUnique?: boolean;
|
|
29683
29753
|
sortByValue?: boolean;
|
|
29684
29754
|
peer: Api.TypeEntityLike;
|
|
29755
|
+
collectionId?: int;
|
|
29685
29756
|
offset: string;
|
|
29686
29757
|
limit: int;
|
|
29687
29758
|
}>, payments.TypeSavedStarGifts> {
|
|
29688
|
-
CONSTRUCTOR_ID:
|
|
29759
|
+
CONSTRUCTOR_ID: 2736383337;
|
|
29689
29760
|
SUBCLASS_OF_ID: 3574671511;
|
|
29690
29761
|
classType: "request";
|
|
29691
29762
|
className: "payments.GetSavedStarGifts";
|
|
@@ -29698,6 +29769,7 @@ export namespace Api {
|
|
|
29698
29769
|
excludeUnique?: boolean;
|
|
29699
29770
|
sortByValue?: boolean;
|
|
29700
29771
|
peer: Api.TypeEntityLike;
|
|
29772
|
+
collectionId?: int;
|
|
29701
29773
|
offset: string;
|
|
29702
29774
|
limit: int;
|
|
29703
29775
|
}
|
|
@@ -29795,6 +29867,78 @@ export namespace Api {
|
|
|
29795
29867
|
stargift: Api.TypeInputSavedStarGift;
|
|
29796
29868
|
resellStars: long;
|
|
29797
29869
|
}
|
|
29870
|
+
export class CreateStarGiftCollection extends Request<Partial<{
|
|
29871
|
+
peer: Api.TypeEntityLike;
|
|
29872
|
+
title: string;
|
|
29873
|
+
stargift: Api.TypeInputSavedStarGift[];
|
|
29874
|
+
}>, Api.TypeStarGiftCollection> {
|
|
29875
|
+
CONSTRUCTOR_ID: 524947079;
|
|
29876
|
+
SUBCLASS_OF_ID: 1138805578;
|
|
29877
|
+
classType: "request";
|
|
29878
|
+
className: "payments.CreateStarGiftCollection";
|
|
29879
|
+
static fromReader(reader: Reader): CreateStarGiftCollection;
|
|
29880
|
+
peer: Api.TypeEntityLike;
|
|
29881
|
+
title: string;
|
|
29882
|
+
stargift: Api.TypeInputSavedStarGift[];
|
|
29883
|
+
}
|
|
29884
|
+
export class UpdateStarGiftCollection extends Request<Partial<{
|
|
29885
|
+
// flags: null;
|
|
29886
|
+
peer: Api.TypeEntityLike;
|
|
29887
|
+
collectionId: int;
|
|
29888
|
+
title?: string;
|
|
29889
|
+
deleteStargift?: Api.TypeInputSavedStarGift[];
|
|
29890
|
+
addStargift?: Api.TypeInputSavedStarGift[];
|
|
29891
|
+
order?: Api.TypeInputSavedStarGift[];
|
|
29892
|
+
}>, Api.TypeStarGiftCollection> {
|
|
29893
|
+
CONSTRUCTOR_ID: 1339932391;
|
|
29894
|
+
SUBCLASS_OF_ID: 1138805578;
|
|
29895
|
+
classType: "request";
|
|
29896
|
+
className: "payments.UpdateStarGiftCollection";
|
|
29897
|
+
static fromReader(reader: Reader): UpdateStarGiftCollection;
|
|
29898
|
+
// flags: null;
|
|
29899
|
+
peer: Api.TypeEntityLike;
|
|
29900
|
+
collectionId: int;
|
|
29901
|
+
title?: string;
|
|
29902
|
+
deleteStargift?: Api.TypeInputSavedStarGift[];
|
|
29903
|
+
addStargift?: Api.TypeInputSavedStarGift[];
|
|
29904
|
+
order?: Api.TypeInputSavedStarGift[];
|
|
29905
|
+
}
|
|
29906
|
+
export class ReorderStarGiftCollections extends Request<Partial<{
|
|
29907
|
+
peer: Api.TypeEntityLike;
|
|
29908
|
+
order: int[];
|
|
29909
|
+
}>, Bool> {
|
|
29910
|
+
CONSTRUCTOR_ID: 3274372300;
|
|
29911
|
+
SUBCLASS_OF_ID: 4122188204;
|
|
29912
|
+
classType: "request";
|
|
29913
|
+
className: "payments.ReorderStarGiftCollections";
|
|
29914
|
+
static fromReader(reader: Reader): ReorderStarGiftCollections;
|
|
29915
|
+
peer: Api.TypeEntityLike;
|
|
29916
|
+
order: int[];
|
|
29917
|
+
}
|
|
29918
|
+
export class DeleteStarGiftCollection extends Request<Partial<{
|
|
29919
|
+
peer: Api.TypeEntityLike;
|
|
29920
|
+
collectionId: int;
|
|
29921
|
+
}>, Bool> {
|
|
29922
|
+
CONSTRUCTOR_ID: 2908113128;
|
|
29923
|
+
SUBCLASS_OF_ID: 4122188204;
|
|
29924
|
+
classType: "request";
|
|
29925
|
+
className: "payments.DeleteStarGiftCollection";
|
|
29926
|
+
static fromReader(reader: Reader): DeleteStarGiftCollection;
|
|
29927
|
+
peer: Api.TypeEntityLike;
|
|
29928
|
+
collectionId: int;
|
|
29929
|
+
}
|
|
29930
|
+
export class GetStarGiftCollections extends Request<Partial<{
|
|
29931
|
+
peer: Api.TypeEntityLike;
|
|
29932
|
+
hash: long;
|
|
29933
|
+
}>, payments.TypeStarGiftCollections> {
|
|
29934
|
+
CONSTRUCTOR_ID: 2551943645;
|
|
29935
|
+
SUBCLASS_OF_ID: 4028047852;
|
|
29936
|
+
classType: "request";
|
|
29937
|
+
className: "payments.GetStarGiftCollections";
|
|
29938
|
+
static fromReader(reader: Reader): GetStarGiftCollections;
|
|
29939
|
+
peer: Api.TypeEntityLike;
|
|
29940
|
+
hash: long;
|
|
29941
|
+
}
|
|
29798
29942
|
}
|
|
29799
29943
|
|
|
29800
29944
|
export namespace stickers {
|
|
@@ -31690,6 +31834,8 @@ export namespace Api {
|
|
|
31690
31834
|
export type TypeTodoList = TodoList;
|
|
31691
31835
|
export type TypeTodoCompletion = TodoCompletion;
|
|
31692
31836
|
export type TypeSuggestedPost = SuggestedPost;
|
|
31837
|
+
export type TypeStarsRating = StarsRating;
|
|
31838
|
+
export type TypeStarGiftCollection = StarGiftCollection;
|
|
31693
31839
|
export type TypeResPQ = ResPQ;
|
|
31694
31840
|
export type TypeP_Q_inner_data = PQInnerData | PQInnerDataDc | PQInnerDataTemp | PQInnerDataTempDc;
|
|
31695
31841
|
export type TypeBindAuthKeyInner = BindAuthKeyInner;
|
|
@@ -31730,7 +31876,7 @@ export namespace Api {
|
|
|
31730
31876
|
| help.GetConfig | help.GetNearestDc | help.GetAppUpdate | help.GetInviteText | help.GetSupport | help.SetBotUpdatesStatus | help.GetCdnConfig | help.GetRecentMeUrls | help.GetTermsOfServiceUpdate | help.AcceptTermsOfService | help.GetDeepLinkInfo | help.GetAppConfig | help.SaveAppLog | help.GetPassportConfig | help.GetSupportName | help.GetUserInfo | help.EditUserInfo | help.GetPromoData | help.HidePromoData | help.DismissSuggestion | help.GetCountriesList | help.GetPremiumPromo | help.GetPeerColors | help.GetPeerProfileColors | help.GetTimezonesList
|
|
31731
31877
|
| channels.ReadHistory | channels.DeleteMessages | channels.ReportSpam | channels.GetMessages | channels.GetParticipants | channels.GetParticipant | channels.GetChannels | channels.GetFullChannel | channels.CreateChannel | channels.EditAdmin | channels.EditTitle | channels.EditPhoto | channels.CheckUsername | channels.UpdateUsername | channels.JoinChannel | channels.LeaveChannel | channels.InviteToChannel | channels.DeleteChannel | channels.ExportMessageLink | channels.ToggleSignatures | channels.GetAdminedPublicChannels | channels.EditBanned | channels.GetAdminLog | channels.SetStickers | channels.ReadMessageContents | channels.DeleteHistory | channels.TogglePreHistoryHidden | channels.GetLeftChannels | channels.GetGroupsForDiscussion | channels.SetDiscussionGroup | channels.EditCreator | channels.EditLocation | channels.ToggleSlowMode | channels.GetInactiveChannels | channels.ConvertToGigagroup | channels.GetSendAs | channels.DeleteParticipantHistory | channels.ToggleJoinToSend | channels.ToggleJoinRequest | channels.ReorderUsernames | channels.ToggleUsername | channels.DeactivateAllUsernames | channels.ToggleForum | channels.CreateForumTopic | channels.GetForumTopics | channels.GetForumTopicsByID | channels.EditForumTopic | channels.UpdatePinnedForumTopic | channels.DeleteTopicHistory | channels.ReorderPinnedForumTopics | channels.ToggleAntiSpam | channels.ReportAntiSpamFalsePositive | channels.ToggleParticipantsHidden | channels.UpdateColor | channels.ToggleViewForumAsMessages | channels.GetChannelRecommendations | channels.UpdateEmojiStatus | channels.SetBoostsToUnblockRestrictions | channels.SetEmojiStickers | channels.RestrictSponsoredMessages | channels.SearchPosts | channels.UpdatePaidMessagesPrice | channels.ToggleAutotranslation | channels.GetMessageAuthor
|
|
31732
31878
|
| bots.SendCustomRequest | bots.AnswerWebhookJSONQuery | bots.SetBotCommands | bots.ResetBotCommands | bots.GetBotCommands | bots.SetBotMenuButton | bots.GetBotMenuButton | bots.SetBotBroadcastDefaultAdminRights | bots.SetBotGroupDefaultAdminRights | bots.SetBotInfo | bots.GetBotInfo | bots.ReorderUsernames | bots.ToggleUsername | bots.CanSendMessage | bots.AllowSendMessage | bots.InvokeWebViewCustomMethod | bots.GetPopularAppBots | bots.AddPreviewMedia | bots.EditPreviewMedia | bots.DeletePreviewMedia | bots.ReorderPreviewMedias | bots.GetPreviewInfo | bots.GetPreviewMedias | bots.UpdateUserEmojiStatus | bots.ToggleUserEmojiStatusPermission | bots.CheckDownloadFileParams | bots.GetAdminedBots | bots.UpdateStarRefProgram | bots.SetCustomVerification | bots.GetBotRecommendations
|
|
31733
|
-
| payments.GetPaymentForm | payments.GetPaymentReceipt | payments.ValidateRequestedInfo | payments.SendPaymentForm | payments.GetSavedInfo | payments.ClearSavedInfo | payments.GetBankCardData | payments.ExportInvoice | payments.AssignAppStoreTransaction | payments.AssignPlayMarketTransaction | payments.GetPremiumGiftCodeOptions | payments.CheckGiftCode | payments.ApplyGiftCode | payments.GetGiveawayInfo | payments.LaunchPrepaidGiveaway | payments.GetStarsTopupOptions | payments.GetStarsStatus | payments.GetStarsTransactions | payments.SendStarsForm | payments.RefundStarsCharge | payments.GetStarsRevenueStats | payments.GetStarsRevenueWithdrawalUrl | payments.GetStarsRevenueAdsAccountUrl | payments.GetStarsTransactionsByID | payments.GetStarsGiftOptions | payments.GetStarsSubscriptions | payments.ChangeStarsSubscription | payments.FulfillStarsSubscription | payments.GetStarsGiveawayOptions | payments.GetStarGifts | payments.SaveStarGift | payments.ConvertStarGift | payments.BotCancelStarsSubscription | payments.GetConnectedStarRefBots | payments.GetConnectedStarRefBot | payments.GetSuggestedStarRefBots | payments.ConnectStarRefBot | payments.EditConnectedStarRefBot | payments.GetStarGiftUpgradePreview | payments.UpgradeStarGift | payments.TransferStarGift | payments.GetUniqueStarGift | payments.GetSavedStarGifts | payments.GetSavedStarGift | payments.GetStarGiftWithdrawalUrl | payments.ToggleChatStarGiftNotifications | payments.ToggleStarGiftsPinnedToTop | payments.CanPurchaseStore | payments.GetResaleStarGifts | payments.UpdateStarGiftPrice
|
|
31879
|
+
| payments.GetPaymentForm | payments.GetPaymentReceipt | payments.ValidateRequestedInfo | payments.SendPaymentForm | payments.GetSavedInfo | payments.ClearSavedInfo | payments.GetBankCardData | payments.ExportInvoice | payments.AssignAppStoreTransaction | payments.AssignPlayMarketTransaction | payments.GetPremiumGiftCodeOptions | payments.CheckGiftCode | payments.ApplyGiftCode | payments.GetGiveawayInfo | payments.LaunchPrepaidGiveaway | payments.GetStarsTopupOptions | payments.GetStarsStatus | payments.GetStarsTransactions | payments.SendStarsForm | payments.RefundStarsCharge | payments.GetStarsRevenueStats | payments.GetStarsRevenueWithdrawalUrl | payments.GetStarsRevenueAdsAccountUrl | payments.GetStarsTransactionsByID | payments.GetStarsGiftOptions | payments.GetStarsSubscriptions | payments.ChangeStarsSubscription | payments.FulfillStarsSubscription | payments.GetStarsGiveawayOptions | payments.GetStarGifts | payments.SaveStarGift | payments.ConvertStarGift | payments.BotCancelStarsSubscription | payments.GetConnectedStarRefBots | payments.GetConnectedStarRefBot | payments.GetSuggestedStarRefBots | payments.ConnectStarRefBot | payments.EditConnectedStarRefBot | payments.GetStarGiftUpgradePreview | payments.UpgradeStarGift | payments.TransferStarGift | payments.GetUniqueStarGift | payments.GetSavedStarGifts | payments.GetSavedStarGift | payments.GetStarGiftWithdrawalUrl | payments.ToggleChatStarGiftNotifications | payments.ToggleStarGiftsPinnedToTop | payments.CanPurchaseStore | payments.GetResaleStarGifts | payments.UpdateStarGiftPrice | payments.CreateStarGiftCollection | payments.UpdateStarGiftCollection | payments.ReorderStarGiftCollections | payments.DeleteStarGiftCollection | payments.GetStarGiftCollections
|
|
31734
31880
|
| stickers.CreateStickerSet | stickers.RemoveStickerFromSet | stickers.ChangeStickerPosition | stickers.AddStickerToSet | stickers.SetStickerSetThumb | stickers.CheckShortName | stickers.SuggestShortName | stickers.ChangeSticker | stickers.RenameStickerSet | stickers.DeleteStickerSet | stickers.ReplaceSticker
|
|
31735
31881
|
| phone.GetCallConfig | phone.RequestCall | phone.AcceptCall | phone.ConfirmCall | phone.ReceivedCall | phone.DiscardCall | phone.SetCallRating | phone.SaveCallDebug | phone.SendSignalingData | phone.CreateGroupCall | phone.JoinGroupCall | phone.LeaveGroupCall | phone.InviteToGroupCall | phone.DiscardGroupCall | phone.ToggleGroupCallSettings | phone.GetGroupCall | phone.GetGroupParticipants | phone.CheckGroupCall | phone.ToggleGroupCallRecord | phone.EditGroupCallParticipant | phone.EditGroupCallTitle | phone.GetGroupCallJoinAs | phone.ExportGroupCallInvite | phone.ToggleGroupCallStartSubscription | phone.StartScheduledGroupCall | phone.SaveDefaultGroupCallJoinAs | phone.JoinGroupCallPresentation | phone.LeaveGroupCallPresentation | phone.GetGroupCallStreamChannels | phone.GetGroupCallStreamRtmpUrl | phone.SaveCallLog | phone.CreateConferenceCall | phone.DeleteConferenceCallParticipants | phone.SendConferenceCallBroadcast | phone.InviteConferenceCallParticipant | phone.DeclineConferenceCallInvite | phone.GetGroupCallChainBlocks
|
|
31736
31882
|
| langpack.GetLangPack | langpack.GetStrings | langpack.GetDifference | langpack.GetLanguages | langpack.GetLanguage
|
package/tl/apiTl.js
CHANGED
|
@@ -209,7 +209,7 @@ inputReportReasonGeoIrrelevant#dbd4feed = ReportReason;
|
|
|
209
209
|
inputReportReasonFake#f5ddd6e7 = ReportReason;
|
|
210
210
|
inputReportReasonIllegalDrugs#a8eb2be = ReportReason;
|
|
211
211
|
inputReportReasonPersonalDetails#9ec7863d = ReportReason;
|
|
212
|
-
userFull#
|
|
212
|
+
userFull#29de80be flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true can_view_revenue:flags2.9?true bot_can_manage_emoji_status:flags2.10?true display_gifts_button:flags2.16?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int starref_program:flags2.11?StarRefProgram bot_verification:flags2.12?BotVerification send_paid_messages_stars:flags2.14?long disallowed_gifts:flags2.15?DisallowedGiftsSettings stars_rating:flags2.17?StarsRating = UserFull;
|
|
213
213
|
contact#145ade0b user_id:long mutual:Bool = Contact;
|
|
214
214
|
importedContact#c13e3c50 user_id:long client_id:long = ImportedContact;
|
|
215
215
|
contactStatus#16d9703b user_id:long status:UserStatus = ContactStatus;
|
|
@@ -1387,8 +1387,8 @@ starsSubscription#2e6eab1a flags:# canceled:flags.0?true can_refulfill:flags.1?t
|
|
|
1387
1387
|
messageReactor#4ba3a95a flags:# top:flags.0?true my:flags.1?true anonymous:flags.2?true peer_id:flags.3?Peer count:int = MessageReactor;
|
|
1388
1388
|
starsGiveawayOption#94ce852a flags:# extended:flags.0?true default:flags.1?true stars:long yearly_boosts:int store_product:flags.2?string currency:string amount:long winners:Vector<StarsGiveawayWinnersOption> = StarsGiveawayOption;
|
|
1389
1389
|
starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_user_stars:long = StarsGiveawayWinnersOption;
|
|
1390
|
-
starGift#
|
|
1391
|
-
starGiftUnique#f63778ae flags:# id:long title:string slug:string num:int owner_id:flags.0?Peer owner_name:flags.1?string owner_address:flags.2?string attributes:Vector<StarGiftAttribute> availability_issued:int availability_total:int gift_address:flags.3?string resell_stars:flags.4?long released_by:flags.5?Peer = StarGift;
|
|
1390
|
+
starGift#bcff5b flags:# limited:flags.0?true sold_out:flags.1?true birthday:flags.2?true require_premium:flags.7?true limited_per_user:flags.8?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int availability_resale:flags.4?long convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int upgrade_stars:flags.3?long resell_min_stars:flags.4?long title:flags.5?string released_by:flags.6?Peer per_user_total:flags.8?int per_user_remains:flags.8?int = StarGift;
|
|
1391
|
+
starGiftUnique#f63778ae flags:# require_premium:flags.6?true id:long title:string slug:string num:int owner_id:flags.0?Peer owner_name:flags.1?string owner_address:flags.2?string attributes:Vector<StarGiftAttribute> availability_issued:int availability_total:int gift_address:flags.3?string resell_stars:flags.4?long released_by:flags.5?Peer = StarGift;
|
|
1392
1392
|
payments.starGiftsNotModified#a388a368 = payments.StarGifts;
|
|
1393
1393
|
payments.starGifts#2ed82995 hash:int gifts:Vector<StarGift> chats:Vector<Chat> users:Vector<User> = payments.StarGifts;
|
|
1394
1394
|
messageReportOption#7903e3d9 text:string option:bytes = MessageReportOption;
|
|
@@ -1417,7 +1417,7 @@ users.users#62d706b8 users:Vector<User> = users.Users;
|
|
|
1417
1417
|
users.usersSlice#315a4974 count:int users:Vector<User> = users.Users;
|
|
1418
1418
|
payments.uniqueStarGift#caa2f60b gift:StarGift users:Vector<User> = payments.UniqueStarGift;
|
|
1419
1419
|
messages.webPagePreview#b53e8b21 media:MessageMedia users:Vector<User> = messages.WebPagePreview;
|
|
1420
|
-
savedStarGift#
|
|
1420
|
+
savedStarGift#1ea646df flags:# name_hidden:flags.0?true unsaved:flags.5?true refunded:flags.9?true can_upgrade:flags.10?true pinned_to_top:flags.12?true from_id:flags.1?Peer date:int gift:StarGift message:flags.2?TextWithEntities msg_id:flags.3?int saved_id:flags.11?long convert_stars:flags.4?long upgrade_stars:flags.6?long can_export_at:flags.7?int transfer_stars:flags.8?long can_transfer_at:flags.13?int can_resell_at:flags.14?int collection_id:flags.15?Vector<int> = SavedStarGift;
|
|
1421
1421
|
payments.savedStarGifts#95f389b1 flags:# count:int chat_notifications_enabled:flags.1?Bool gifts:Vector<SavedStarGift> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = payments.SavedStarGifts;
|
|
1422
1422
|
inputSavedStarGiftUser#69279795 msg_id:int = InputSavedStarGift;
|
|
1423
1423
|
inputSavedStarGiftChat#f101aa7f peer:InputPeer saved_id:long = InputSavedStarGift;
|
|
@@ -1446,6 +1446,10 @@ todoItem#cba9a52f id:int title:TextWithEntities = TodoItem;
|
|
|
1446
1446
|
todoList#49b92a26 flags:# others_can_append:flags.0?true others_can_complete:flags.1?true title:TextWithEntities list:Vector<TodoItem> = TodoList;
|
|
1447
1447
|
todoCompletion#4cc120b7 id:int completed_by:long date:int = TodoCompletion;
|
|
1448
1448
|
suggestedPost#e8e37e5 flags:# accepted:flags.1?true rejected:flags.2?true price:flags.3?StarsAmount schedule_date:flags.0?int = SuggestedPost;
|
|
1449
|
+
starsRating#1b0e4f07 flags:# level:int current_level_stars:long stars:long next_level_stars:flags.0?long = StarsRating;
|
|
1450
|
+
starGiftCollection#9d6b13b0 flags:# collection_id:int title:string icon:flags.0?Document gifts_count:int hash:long = StarGiftCollection;
|
|
1451
|
+
payments.starGiftCollectionsNotModified#a0ba4f17 = payments.StarGiftCollections;
|
|
1452
|
+
payments.starGiftCollections#8a2932f3 collections:Vector<StarGiftCollection> = payments.StarGiftCollections;
|
|
1449
1453
|
---functions---
|
|
1450
1454
|
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
|
|
1451
1455
|
invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector<long> query:!X = X;
|
|
@@ -2034,7 +2038,7 @@ payments.getStarGiftUpgradePreview#9c9abcb1 gift_id:long = payments.StarGiftUpgr
|
|
|
2034
2038
|
payments.upgradeStarGift#aed6e4f5 flags:# keep_original_details:flags.0?true stargift:InputSavedStarGift = Updates;
|
|
2035
2039
|
payments.transferStarGift#7f18176a stargift:InputSavedStarGift to_id:InputPeer = Updates;
|
|
2036
2040
|
payments.getUniqueStarGift#a1974d72 slug:string = payments.UniqueStarGift;
|
|
2037
|
-
payments.getSavedStarGifts#
|
|
2041
|
+
payments.getSavedStarGifts#a319e569 flags:# exclude_unsaved:flags.0?true exclude_saved:flags.1?true exclude_unlimited:flags.2?true exclude_limited:flags.3?true exclude_unique:flags.4?true sort_by_value:flags.5?true peer:InputPeer collection_id:flags.6?int offset:string limit:int = payments.SavedStarGifts;
|
|
2038
2042
|
payments.getSavedStarGift#b455a106 stargift:Vector<InputSavedStarGift> = payments.SavedStarGifts;
|
|
2039
2043
|
payments.getStarGiftWithdrawalUrl#d06e93a8 stargift:InputSavedStarGift password:InputCheckPasswordSRP = payments.StarGiftWithdrawalUrl;
|
|
2040
2044
|
payments.toggleChatStarGiftNotifications#60eaefa1 flags:# enabled:flags.0?true peer:InputPeer = Bool;
|
|
@@ -2042,6 +2046,11 @@ payments.toggleStarGiftsPinnedToTop#1513e7b0 peer:InputPeer stargift:Vector<Inpu
|
|
|
2042
2046
|
payments.canPurchaseStore#4fdc5ea7 purpose:InputStorePaymentPurpose = Bool;
|
|
2043
2047
|
payments.getResaleStarGifts#7a5fa236 flags:# sort_by_price:flags.1?true sort_by_num:flags.2?true attributes_hash:flags.0?long gift_id:long attributes:flags.3?Vector<StarGiftAttributeId> offset:string limit:int = payments.ResaleStarGifts;
|
|
2044
2048
|
payments.updateStarGiftPrice#3baea4e1 stargift:InputSavedStarGift resell_stars:long = Updates;
|
|
2049
|
+
payments.createStarGiftCollection#1f4a0e87 peer:InputPeer title:string stargift:Vector<InputSavedStarGift> = StarGiftCollection;
|
|
2050
|
+
payments.updateStarGiftCollection#4fddbee7 flags:# peer:InputPeer collection_id:int title:flags.0?string delete_stargift:flags.1?Vector<InputSavedStarGift> add_stargift:flags.2?Vector<InputSavedStarGift> order:flags.3?Vector<InputSavedStarGift> = StarGiftCollection;
|
|
2051
|
+
payments.reorderStarGiftCollections#c32af4cc peer:InputPeer order:Vector<int> = Bool;
|
|
2052
|
+
payments.deleteStarGiftCollection#ad5648e8 peer:InputPeer collection_id:int = Bool;
|
|
2053
|
+
payments.getStarGiftCollections#981b91dd peer:InputPeer hash:long = payments.StarGiftCollections;
|
|
2045
2054
|
stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true emojis:flags.5?true text_color:flags.6?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
|
|
2046
2055
|
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
|
|
2047
2056
|
stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;
|