Layer 197 (#5436)
This commit is contained in:
parent
684b4aab75
commit
7c90a86d6c
@ -616,14 +616,15 @@ export function buildApiStarTopupOption(option: GramJs.TypeStarsTopupOption): Ap
|
||||
export function buildApiStarGift(starGift: GramJs.TypeStarGift): ApiStarGift {
|
||||
if (starGift instanceof GramJs.StarGiftUnique) {
|
||||
const {
|
||||
id, num, ownerId, title, attributes, availabilityIssued, availabilityTotal,
|
||||
id, num, ownerId, ownerName, title, attributes, availabilityIssued, availabilityTotal,
|
||||
} = starGift;
|
||||
|
||||
return {
|
||||
type: 'starGiftUnique',
|
||||
id: id.toString(),
|
||||
number: num,
|
||||
ownerId: buildApiPeerId(ownerId, 'user'),
|
||||
ownerId: ownerId && buildApiPeerId(ownerId, 'user'),
|
||||
ownerName,
|
||||
attributes: attributes.map(buildApiStarGiftAttribute).filter(Boolean),
|
||||
title,
|
||||
totalCount: availabilityTotal,
|
||||
|
||||
@ -1403,7 +1403,7 @@ export async function fetchWebPagePreview({
|
||||
entities: textWithEntities.entities,
|
||||
}));
|
||||
|
||||
return preview && buildWebPage(preview);
|
||||
return preview && buildWebPage(preview.media);
|
||||
}
|
||||
|
||||
export async function sendPollVote({
|
||||
|
||||
@ -211,7 +211,8 @@ export interface ApiStarGiftUnique {
|
||||
id: string;
|
||||
title: string;
|
||||
number: number;
|
||||
ownerId: string;
|
||||
ownerId?: string;
|
||||
ownerName?: string;
|
||||
issuedCount: number;
|
||||
totalCount: number;
|
||||
attributes: ApiStarGiftAttribute[];
|
||||
|
||||
@ -302,9 +302,11 @@ const GiftInfoModal = ({
|
||||
const {
|
||||
model, backdrop, pattern, originalDetails,
|
||||
} = giftAttributes || {};
|
||||
const ownerId = gift.ownerId;
|
||||
const ownerName = gift.ownerName;
|
||||
tableData.push([
|
||||
lang('GiftInfoOwner'),
|
||||
{ chatId: gift.ownerId },
|
||||
ownerId ? { chatId: ownerId } : ownerName || '',
|
||||
]);
|
||||
|
||||
if (model) {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
const api = require('./api');
|
||||
|
||||
const LAYER = 196;
|
||||
const LAYER = 197;
|
||||
const tlobjects = {};
|
||||
|
||||
for (const tl of Object.values(api)) {
|
||||
|
||||
71
src/lib/gramjs/tl/api.d.ts
vendored
71
src/lib/gramjs/tl/api.d.ts
vendored
@ -234,7 +234,7 @@ namespace Api {
|
||||
export type TypeBaseTheme = BaseThemeClassic | BaseThemeDay | BaseThemeNight | BaseThemeTinted | BaseThemeArctic;
|
||||
export type TypeInputThemeSettings = InputThemeSettings;
|
||||
export type TypeThemeSettings = ThemeSettings;
|
||||
export type TypeWebPageAttribute = WebPageAttributeTheme | WebPageAttributeStory | WebPageAttributeStickerSet;
|
||||
export type TypeWebPageAttribute = WebPageAttributeTheme | WebPageAttributeStory | WebPageAttributeStickerSet | WebPageAttributeUniqueStarGift;
|
||||
export type TypeBankCardOpenUrl = BankCardOpenUrl;
|
||||
export type TypeDialogFilter = DialogFilter | DialogFilterDefault | DialogFilterChatlist;
|
||||
export type TypeDialogFilterSuggested = DialogFilterSuggested;
|
||||
@ -315,7 +315,7 @@ namespace Api {
|
||||
export type TypeExportedStoryLink = ExportedStoryLink;
|
||||
export type TypeStoriesStealthMode = StoriesStealthMode;
|
||||
export type TypeMediaAreaCoordinates = MediaAreaCoordinates;
|
||||
export type TypeMediaArea = MediaAreaVenue | InputMediaAreaVenue | MediaAreaGeoPoint | MediaAreaSuggestedReaction | MediaAreaChannelPost | InputMediaAreaChannelPost | MediaAreaUrl | MediaAreaWeather;
|
||||
export type TypeMediaArea = MediaAreaVenue | InputMediaAreaVenue | MediaAreaGeoPoint | MediaAreaSuggestedReaction | MediaAreaChannelPost | InputMediaAreaChannelPost | MediaAreaUrl | MediaAreaWeather | MediaAreaStarGift;
|
||||
export type TypePeerStories = PeerStories;
|
||||
export type TypePremiumGiftCodeOption = PremiumGiftCodeOption;
|
||||
export type TypePrepaidGiveaway = PrepaidGiveaway | PrepaidStarsGiveaway;
|
||||
@ -501,6 +501,7 @@ namespace Api {
|
||||
export type TypeBotPreparedInlineMessage = messages.BotPreparedInlineMessage;
|
||||
export type TypePreparedInlineMessage = messages.PreparedInlineMessage;
|
||||
export type TypeFoundStickers = messages.FoundStickersNotModified | messages.FoundStickers;
|
||||
export type TypeWebPagePreview = messages.WebPagePreview;
|
||||
}
|
||||
|
||||
export namespace updates {
|
||||
@ -597,6 +598,7 @@ namespace Api {
|
||||
export type TypeConnectedStarRefBots = payments.ConnectedStarRefBots;
|
||||
export type TypeSuggestedStarRefBots = payments.SuggestedStarRefBots;
|
||||
export type TypeStarGiftUpgradePreview = payments.StarGiftUpgradePreview;
|
||||
export type TypeUniqueStarGift = payments.UniqueStarGift;
|
||||
}
|
||||
|
||||
export namespace phone {
|
||||
@ -626,6 +628,7 @@ namespace Api {
|
||||
|
||||
export namespace users {
|
||||
export type TypeUserFull = users.UserFull;
|
||||
export type TypeUsers = users.Users | users.UsersSlice;
|
||||
}
|
||||
|
||||
export namespace chatlists {
|
||||
@ -8261,6 +8264,11 @@ namespace Api {
|
||||
textColor?: true;
|
||||
stickers: Api.TypeDocument[];
|
||||
};
|
||||
export class WebPageAttributeUniqueStarGift extends VirtualClass<{
|
||||
gift: Api.TypeStarGift;
|
||||
}> {
|
||||
gift: Api.TypeStarGift;
|
||||
};
|
||||
export class BankCardOpenUrl extends VirtualClass<{
|
||||
url: string;
|
||||
name: string;
|
||||
@ -9760,6 +9768,13 @@ namespace Api {
|
||||
temperatureC: double;
|
||||
color: int;
|
||||
};
|
||||
export class MediaAreaStarGift extends VirtualClass<{
|
||||
coordinates: Api.TypeMediaAreaCoordinates;
|
||||
slug: string;
|
||||
}> {
|
||||
coordinates: Api.TypeMediaAreaCoordinates;
|
||||
slug: string;
|
||||
};
|
||||
export class PeerStories extends VirtualClass<{
|
||||
// flags: undefined;
|
||||
peer: Api.TypePeer;
|
||||
@ -10666,18 +10681,24 @@ namespace Api {
|
||||
upgradeStars?: long;
|
||||
};
|
||||
export class StarGiftUnique extends VirtualClass<{
|
||||
// flags: undefined;
|
||||
id: long;
|
||||
title: string;
|
||||
slug: string;
|
||||
num: int;
|
||||
ownerId: long;
|
||||
ownerId?: long;
|
||||
ownerName?: string;
|
||||
attributes: Api.TypeStarGiftAttribute[];
|
||||
availabilityIssued: int;
|
||||
availabilityTotal: int;
|
||||
}> {
|
||||
// flags: undefined;
|
||||
id: long;
|
||||
title: string;
|
||||
slug: string;
|
||||
num: int;
|
||||
ownerId: long;
|
||||
ownerId?: long;
|
||||
ownerName?: string;
|
||||
attributes: Api.TypeStarGiftAttribute[];
|
||||
availabilityIssued: int;
|
||||
availabilityTotal: int;
|
||||
@ -12208,6 +12229,13 @@ namespace Api {
|
||||
hash: long;
|
||||
stickers: Api.TypeDocument[];
|
||||
};
|
||||
export class WebPagePreview extends VirtualClass<{
|
||||
media: Api.TypeMessageMedia;
|
||||
users: Api.TypeUser[];
|
||||
}> {
|
||||
media: Api.TypeMessageMedia;
|
||||
users: Api.TypeUser[];
|
||||
};
|
||||
}
|
||||
|
||||
export namespace updates {
|
||||
@ -13238,6 +13266,13 @@ namespace Api {
|
||||
}> {
|
||||
sampleAttributes: Api.TypeStarGiftAttribute[];
|
||||
};
|
||||
export class UniqueStarGift extends VirtualClass<{
|
||||
gift: Api.TypeStarGift;
|
||||
users: Api.TypeUser[];
|
||||
}> {
|
||||
gift: Api.TypeStarGift;
|
||||
users: Api.TypeUser[];
|
||||
};
|
||||
}
|
||||
|
||||
export namespace phone {
|
||||
@ -13461,6 +13496,18 @@ namespace Api {
|
||||
chats: Api.TypeChat[];
|
||||
users: Api.TypeUser[];
|
||||
};
|
||||
export class Users extends VirtualClass<{
|
||||
users: Api.TypeUser[];
|
||||
}> {
|
||||
users: Api.TypeUser[];
|
||||
};
|
||||
export class UsersSlice extends VirtualClass<{
|
||||
count: int;
|
||||
users: Api.TypeUser[];
|
||||
}> {
|
||||
count: int;
|
||||
users: Api.TypeUser[];
|
||||
};
|
||||
}
|
||||
|
||||
export namespace chatlists {
|
||||
@ -15448,7 +15495,7 @@ namespace Api {
|
||||
// flags: undefined;
|
||||
message: string;
|
||||
entities?: Api.TypeMessageEntity[];
|
||||
}>, Api.TypeMessageMedia> {
|
||||
}>, messages.TypeWebPagePreview> {
|
||||
// flags: undefined;
|
||||
message: string;
|
||||
entities?: Api.TypeMessageEntity[];
|
||||
@ -18268,6 +18315,11 @@ namespace Api {
|
||||
peer: Api.TypeInputPeer;
|
||||
customDescription?: string;
|
||||
};
|
||||
export class GetBotRecommendations extends Request<Partial<{
|
||||
bot: Api.TypeInputUser;
|
||||
}>, users.TypeUsers> {
|
||||
bot: Api.TypeInputUser;
|
||||
};
|
||||
}
|
||||
|
||||
export namespace payments {
|
||||
@ -18611,6 +18663,11 @@ namespace Api {
|
||||
}>, payments.TypeUserStarGifts> {
|
||||
msgId: int[];
|
||||
};
|
||||
export class GetUniqueStarGift extends Request<Partial<{
|
||||
slug: string;
|
||||
}>, payments.TypeUniqueStarGift> {
|
||||
slug: string;
|
||||
};
|
||||
}
|
||||
|
||||
export namespace stickers {
|
||||
@ -19569,8 +19626,8 @@ namespace Api {
|
||||
| upload.SaveFilePart | upload.GetFile | upload.SaveBigFilePart | upload.GetWebFile | upload.GetCdnFile | upload.ReuploadCdnFile | upload.GetCdnFileHashes | upload.GetFileHashes
|
||||
| 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
|
||||
| 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
|
||||
| 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
|
||||
| payments.GetPaymentForm | payments.GetPaymentReceipt | payments.ValidateRequestedInfo | payments.SendPaymentForm | payments.GetSavedInfo | payments.ClearSavedInfo | payments.GetBankCardData | payments.ExportInvoice | payments.AssignAppStoreTransaction | payments.AssignPlayMarketTransaction | payments.CanPurchasePremium | 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.GetUserStarGifts | payments.SaveStarGift | payments.ConvertStarGift | payments.BotCancelStarsSubscription | payments.GetConnectedStarRefBots | payments.GetConnectedStarRefBot | payments.GetSuggestedStarRefBots | payments.ConnectStarRefBot | payments.EditConnectedStarRefBot | payments.GetStarGiftUpgradePreview | payments.UpgradeStarGift | payments.TransferStarGift | payments.GetUserStarGift
|
||||
| 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
|
||||
| payments.GetPaymentForm | payments.GetPaymentReceipt | payments.ValidateRequestedInfo | payments.SendPaymentForm | payments.GetSavedInfo | payments.ClearSavedInfo | payments.GetBankCardData | payments.ExportInvoice | payments.AssignAppStoreTransaction | payments.AssignPlayMarketTransaction | payments.CanPurchasePremium | 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.GetUserStarGifts | payments.SaveStarGift | payments.ConvertStarGift | payments.BotCancelStarsSubscription | payments.GetConnectedStarRefBots | payments.GetConnectedStarRefBot | payments.GetSuggestedStarRefBots | payments.ConnectStarRefBot | payments.EditConnectedStarRefBot | payments.GetStarGiftUpgradePreview | payments.UpgradeStarGift | payments.TransferStarGift | payments.GetUserStarGift | payments.GetUniqueStarGift
|
||||
| stickers.CreateStickerSet | stickers.RemoveStickerFromSet | stickers.ChangeStickerPosition | stickers.AddStickerToSet | stickers.SetStickerSetThumb | stickers.CheckShortName | stickers.SuggestShortName | stickers.ChangeSticker | stickers.RenameStickerSet | stickers.DeleteStickerSet | stickers.ReplaceSticker
|
||||
| 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
|
||||
| langpack.GetLangPack | langpack.GetStrings | langpack.GetDifference | langpack.GetLanguages | langpack.GetLanguage
|
||||
|
||||
@ -999,6 +999,7 @@ themeSettings#fa58b6d4 flags:# message_colors_animated:flags.2?true base_theme:B
|
||||
webPageAttributeTheme#54b56617 flags:# documents:flags.0?Vector<Document> settings:flags.1?ThemeSettings = WebPageAttribute;
|
||||
webPageAttributeStory#2e94c3e7 flags:# peer:Peer id:int story:flags.0?StoryItem = WebPageAttribute;
|
||||
webPageAttributeStickerSet#50cc03d3 flags:# emojis:flags.0?true text_color:flags.1?true stickers:Vector<Document> = WebPageAttribute;
|
||||
webPageAttributeUniqueStarGift#cf6f6db8 gift:StarGift = WebPageAttribute;
|
||||
messages.votesList#4899484e flags:# count:int votes:Vector<MessagePeerVote> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = messages.VotesList;
|
||||
bankCardOpenUrl#f568028a url:string name:string = BankCardOpenUrl;
|
||||
payments.bankCardData#3e24e573 title:string open_urls:Vector<BankCardOpenUrl> = payments.BankCardData;
|
||||
@ -1231,6 +1232,7 @@ mediaAreaChannelPost#770416af coordinates:MediaAreaCoordinates channel_id:long m
|
||||
inputMediaAreaChannelPost#2271f2bf coordinates:MediaAreaCoordinates channel:InputChannel msg_id:int = MediaArea;
|
||||
mediaAreaUrl#37381085 coordinates:MediaAreaCoordinates url:string = MediaArea;
|
||||
mediaAreaWeather#49a6549c coordinates:MediaAreaCoordinates emoji:string temperature_c:double color:int = MediaArea;
|
||||
mediaAreaStarGift#5787686d coordinates:MediaAreaCoordinates slug:string = MediaArea;
|
||||
peerStories#9a35e999 flags:# peer:Peer max_read_id:flags.0?int stories:Vector<StoryItem> = PeerStories;
|
||||
stories.peerStories#cae68768 stories:PeerStories chats:Vector<Chat> users:Vector<User> = stories.PeerStories;
|
||||
messages.webPage#fd5e12bd webpage:WebPage chats:Vector<Chat> users:Vector<User> = messages.WebPage;
|
||||
@ -1364,7 +1366,7 @@ messageReactor#4ba3a95a flags:# top:flags.0?true my:flags.1?true anonymous:flags
|
||||
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;
|
||||
starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_user_stars:long = StarsGiveawayWinnersOption;
|
||||
starGift#2cc73c8 flags:# limited:flags.0?true sold_out:flags.1?true birthday:flags.2?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int upgrade_stars:flags.3?long = StarGift;
|
||||
starGiftUnique#6a1407cd id:long title:string num:int owner_id:long attributes:Vector<StarGiftAttribute> availability_issued:int availability_total:int = StarGift;
|
||||
starGiftUnique#3482f322 flags:# id:long title:string slug:string num:int owner_id:flags.0?long owner_name:flags.1?string attributes:Vector<StarGiftAttribute> availability_issued:int availability_total:int = StarGift;
|
||||
payments.starGiftsNotModified#a388a368 = payments.StarGifts;
|
||||
payments.starGifts#901689ea hash:int gifts:Vector<StarGift> = payments.StarGifts;
|
||||
userStarGift#325835e1 flags:# name_hidden:flags.0?true unsaved:flags.5?true refunded:flags.9?true can_upgrade:flags.10?true from_id:flags.1?long date:int gift:StarGift message:flags.2?TextWithEntities msg_id:flags.3?int convert_stars:flags.4?long upgrade_stars:flags.6?long can_export_at:flags.7?int transfer_stars:flags.8?long = UserStarGift;
|
||||
@ -1390,6 +1392,10 @@ starGiftAttributePattern#13acff19 name:string document:Document rarity_permille:
|
||||
starGiftAttributeBackdrop#94271762 name:string center_color:int edge_color:int pattern_color:int text_color:int rarity_permille:int = StarGiftAttribute;
|
||||
starGiftAttributeOriginalDetails#c02c4f4b flags:# sender_id:flags.0?long recipient_id:long date:int message:flags.1?TextWithEntities = StarGiftAttribute;
|
||||
payments.starGiftUpgradePreview#167bd90b sample_attributes:Vector<StarGiftAttribute> = payments.StarGiftUpgradePreview;
|
||||
users.users#62d706b8 users:Vector<User> = users.Users;
|
||||
users.usersSlice#315a4974 count:int users:Vector<User> = users.Users;
|
||||
payments.uniqueStarGift#caa2f60b gift:StarGift users:Vector<User> = payments.UniqueStarGift;
|
||||
messages.webPagePreview#b53e8b21 media:MessageMedia users:Vector<User> = messages.WebPagePreview;
|
||||
---functions---
|
||||
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
|
||||
initConnection#c1cd5ea9 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0?InputClientProxy params:flags.1?JSONValue query:!X = X;
|
||||
@ -1492,7 +1498,7 @@ messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig;
|
||||
messages.readMessageContents#36a73f77 id:Vector<int> = messages.AffectedMessages;
|
||||
messages.getStickers#d5a5d3a1 emoticon:string hash:long = messages.Stickers;
|
||||
messages.getAllStickers#b8a0a1a8 hash:long = messages.AllStickers;
|
||||
messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector<MessageEntity> = MessageMedia;
|
||||
messages.getWebPagePreview#570d6f6f flags:# message:string entities:flags.3?Vector<MessageEntity> = messages.WebPagePreview;
|
||||
messages.exportChatInvite#a455de90 flags:# legacy_revoke_permanent:flags.2?true request_needed:flags.3?true peer:InputPeer expire_date:flags.0?int usage_limit:flags.1?int title:flags.4?string subscription_pricing:flags.5?StarsSubscriptionPricing = ExportedChatInvite;
|
||||
messages.checkChatInvite#3eadb1bb hash:string = ChatInvite;
|
||||
messages.importChatInvite#6c50051c hash:string = Updates;
|
||||
|
||||
@ -1268,6 +1268,7 @@ themeSettings#fa58b6d4 flags:# message_colors_animated:flags.2?true base_theme:B
|
||||
webPageAttributeTheme#54b56617 flags:# documents:flags.0?Vector<Document> settings:flags.1?ThemeSettings = WebPageAttribute;
|
||||
webPageAttributeStory#2e94c3e7 flags:# peer:Peer id:int story:flags.0?StoryItem = WebPageAttribute;
|
||||
webPageAttributeStickerSet#50cc03d3 flags:# emojis:flags.0?true text_color:flags.1?true stickers:Vector<Document> = WebPageAttribute;
|
||||
webPageAttributeUniqueStarGift#cf6f6db8 gift:StarGift = WebPageAttribute;
|
||||
|
||||
messages.votesList#4899484e flags:# count:int votes:Vector<MessagePeerVote> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = messages.VotesList;
|
||||
|
||||
@ -1640,6 +1641,7 @@ mediaAreaChannelPost#770416af coordinates:MediaAreaCoordinates channel_id:long m
|
||||
inputMediaAreaChannelPost#2271f2bf coordinates:MediaAreaCoordinates channel:InputChannel msg_id:int = MediaArea;
|
||||
mediaAreaUrl#37381085 coordinates:MediaAreaCoordinates url:string = MediaArea;
|
||||
mediaAreaWeather#49a6549c coordinates:MediaAreaCoordinates emoji:string temperature_c:double color:int = MediaArea;
|
||||
mediaAreaStarGift#5787686d coordinates:MediaAreaCoordinates slug:string = MediaArea;
|
||||
|
||||
peerStories#9a35e999 flags:# peer:Peer max_read_id:flags.0?int stories:Vector<StoryItem> = PeerStories;
|
||||
|
||||
@ -1874,7 +1876,7 @@ starsGiveawayOption#94ce852a flags:# extended:flags.0?true default:flags.1?true
|
||||
starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_user_stars:long = StarsGiveawayWinnersOption;
|
||||
|
||||
starGift#2cc73c8 flags:# limited:flags.0?true sold_out:flags.1?true birthday:flags.2?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int upgrade_stars:flags.3?long = StarGift;
|
||||
starGiftUnique#6a1407cd id:long title:string num:int owner_id:long attributes:Vector<StarGiftAttribute> availability_issued:int availability_total:int = StarGift;
|
||||
starGiftUnique#3482f322 flags:# id:long title:string slug:string num:int owner_id:flags.0?long owner_name:flags.1?string attributes:Vector<StarGiftAttribute> availability_issued:int availability_total:int = StarGift;
|
||||
|
||||
payments.starGiftsNotModified#a388a368 = payments.StarGifts;
|
||||
payments.starGifts#901689ea hash:int gifts:Vector<StarGift> = payments.StarGifts;
|
||||
@ -1919,6 +1921,13 @@ starGiftAttributeOriginalDetails#c02c4f4b flags:# sender_id:flags.0?long recipie
|
||||
|
||||
payments.starGiftUpgradePreview#167bd90b sample_attributes:Vector<StarGiftAttribute> = payments.StarGiftUpgradePreview;
|
||||
|
||||
users.users#62d706b8 users:Vector<User> = users.Users;
|
||||
users.usersSlice#315a4974 count:int users:Vector<User> = users.Users;
|
||||
|
||||
payments.uniqueStarGift#caa2f60b gift:StarGift users:Vector<User> = payments.UniqueStarGift;
|
||||
|
||||
messages.webPagePreview#b53e8b21 media:MessageMedia users:Vector<User> = messages.WebPagePreview;
|
||||
|
||||
---functions---
|
||||
|
||||
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
|
||||
@ -2137,7 +2146,7 @@ messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool;
|
||||
messages.readMessageContents#36a73f77 id:Vector<int> = messages.AffectedMessages;
|
||||
messages.getStickers#d5a5d3a1 emoticon:string hash:long = messages.Stickers;
|
||||
messages.getAllStickers#b8a0a1a8 hash:long = messages.AllStickers;
|
||||
messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector<MessageEntity> = MessageMedia;
|
||||
messages.getWebPagePreview#570d6f6f flags:# message:string entities:flags.3?Vector<MessageEntity> = messages.WebPagePreview;
|
||||
messages.exportChatInvite#a455de90 flags:# legacy_revoke_permanent:flags.2?true request_needed:flags.3?true peer:InputPeer expire_date:flags.0?int usage_limit:flags.1?int title:flags.4?string subscription_pricing:flags.5?StarsSubscriptionPricing = ExportedChatInvite;
|
||||
messages.checkChatInvite#3eadb1bb hash:string = ChatInvite;
|
||||
messages.importChatInvite#6c50051c hash:string = Updates;
|
||||
@ -2463,6 +2472,7 @@ bots.checkDownloadFileParams#50077589 bot:InputUser file_name:string url:string
|
||||
bots.getAdminedBots#b0711d83 = Vector<User>;
|
||||
bots.updateStarRefProgram#778b5ab3 flags:# bot:InputUser commission_permille:int duration_months:flags.0?int = StarRefProgram;
|
||||
bots.setCustomVerification#8b89dfbd flags:# enabled:flags.1?true bot:flags.0?InputUser peer:InputPeer custom_description:flags.2?string = Bool;
|
||||
bots.getBotRecommendations#a1b70815 bot:InputUser = users.Users;
|
||||
|
||||
payments.getPaymentForm#37148dbb flags:# invoice:InputInvoice theme_params:flags.0?DataJSON = payments.PaymentForm;
|
||||
payments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt;
|
||||
@ -2508,6 +2518,7 @@ payments.getStarGiftUpgradePreview#9c9abcb1 gift_id:long = payments.StarGiftUpgr
|
||||
payments.upgradeStarGift#cf4f0781 flags:# keep_original_details:flags.0?true msg_id:int = Updates;
|
||||
payments.transferStarGift#333fb526 msg_id:int to_id:InputUser = Updates;
|
||||
payments.getUserStarGift#b502e4a5 msg_id:Vector<int> = payments.UserStarGifts;
|
||||
payments.getUniqueStarGift#a1974d72 slug:string = payments.UniqueStarGift;
|
||||
|
||||
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;
|
||||
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user