diff --git a/gramjs/Version.ts b/gramjs/Version.ts index 7b4b9cf1..334d00a8 100644 --- a/gramjs/Version.ts +++ b/gramjs/Version.ts @@ -1 +1 @@ -export const version = "2.19.9"; \ No newline at end of file +export const version = "2.19.9"; diff --git a/gramjs/tl/AllTLObjects.ts b/gramjs/tl/AllTLObjects.ts index 7e41fa5b..4609a75d 100644 --- a/gramjs/tl/AllTLObjects.ts +++ b/gramjs/tl/AllTLObjects.ts @@ -1,4 +1,4 @@ -export const LAYER = 166; +export const LAYER = 174; import { Api } from "./"; diff --git a/gramjs/tl/api.d.ts b/gramjs/tl/api.d.ts index d6f07d0c..2fb6c648 100644 --- a/gramjs/tl/api.d.ts +++ b/gramjs/tl/api.d.ts @@ -773,6 +773,7 @@ export namespace Api { closeFriend?: boolean; storiesHidden?: boolean; storiesUnavailable?: boolean; + contactRequirePremium?: boolean; id: long; accessHash?: long; firstName?: string; @@ -788,10 +789,10 @@ export namespace Api { emojiStatus?: Api.TypeEmojiStatus; usernames?: Api.TypeUsername[]; storiesMaxId?: int; - color?: int; - backgroundEmojiId?: long; + color?: Api.TypePeerColor; + profileColor?: Api.TypePeerColor; }> { - CONSTRUCTOR_ID: 3948949285; + CONSTRUCTOR_ID: 559694904; SUBCLASS_OF_ID: 765557111; classType: "constructor"; className: "User"; @@ -820,6 +821,7 @@ export namespace Api { closeFriend?: boolean; storiesHidden?: boolean; storiesUnavailable?: boolean; + contactRequirePremium?: boolean; id: long; accessHash?: long; firstName?: string; @@ -835,8 +837,8 @@ export namespace Api { emojiStatus?: Api.TypeEmojiStatus; usernames?: Api.TypeUsername[]; storiesMaxId?: int; - color?: int; - backgroundEmojiId?: long; + color?: Api.TypePeerColor; + profileColor?: Api.TypePeerColor; } export class UserProfilePhotoEmpty extends VirtualClass { CONSTRUCTOR_ID: 1326562017; @@ -892,26 +894,41 @@ export namespace Api { static fromReader(reader: Reader): UserStatusOffline; wasOnline: int; } - export class UserStatusRecently extends VirtualClass { - CONSTRUCTOR_ID: 3798942449; + export class UserStatusRecently extends VirtualClass<{ + // flags: null; + byMe?: boolean; + }> { + CONSTRUCTOR_ID: 2065268168; SUBCLASS_OF_ID: 1527477310; classType: "constructor"; className: "UserStatusRecently"; static fromReader(reader: Reader): UserStatusRecently; + // flags: null; + byMe?: boolean; } - export class UserStatusLastWeek extends VirtualClass { - CONSTRUCTOR_ID: 129960444; + export class UserStatusLastWeek extends VirtualClass<{ + // flags: null; + byMe?: boolean; + }> { + CONSTRUCTOR_ID: 1410997530; SUBCLASS_OF_ID: 1527477310; classType: "constructor"; className: "UserStatusLastWeek"; static fromReader(reader: Reader): UserStatusLastWeek; + // flags: null; + byMe?: boolean; } - export class UserStatusLastMonth extends VirtualClass { - CONSTRUCTOR_ID: 2011940674; + export class UserStatusLastMonth extends VirtualClass<{ + // flags: null; + byMe?: boolean; + }> { + CONSTRUCTOR_ID: 1703516023; SUBCLASS_OF_ID: 1527477310; classType: "constructor"; className: "UserStatusLastMonth"; static fromReader(reader: Reader): UserStatusLastMonth; + // flags: null; + byMe?: boolean; } export class ChatEmpty extends VirtualClass<{ id: long; @@ -1014,10 +1031,12 @@ export namespace Api { participantsCount?: int; usernames?: Api.TypeUsername[]; storiesMaxId?: int; - color?: int; - backgroundEmojiId?: long; + color?: Api.TypePeerColor; + profileColor?: Api.TypePeerColor; + emojiStatus?: Api.TypeEmojiStatus; + level?: int; }> { - CONSTRUCTOR_ID: 427944574; + CONSTRUCTOR_ID: 179174543; SUBCLASS_OF_ID: 3316604308; classType: "constructor"; className: "Channel"; @@ -1060,8 +1079,10 @@ export namespace Api { participantsCount?: int; usernames?: Api.TypeUsername[]; storiesMaxId?: int; - color?: int; - backgroundEmojiId?: long; + color?: Api.TypePeerColor; + profileColor?: Api.TypePeerColor; + emojiStatus?: Api.TypeEmojiStatus; + level?: int; } export class ChannelForbidden extends VirtualClass<{ // flags: null; @@ -1149,6 +1170,7 @@ export namespace Api { participantsHidden?: boolean; translationsDisabled?: boolean; storiesPinnedAvailable?: boolean; + viewForumAsMessages?: boolean; id: long; about: string; participantsCount?: int; @@ -1185,8 +1207,12 @@ export namespace Api { defaultSendAs?: Api.TypePeer; availableReactions?: Api.TypeChatReactions; stories?: Api.TypePeerStories; + wallpaper?: Api.TypeWallPaper; + boostsApplied?: int; + boostsUnrestrict?: int; + emojiset?: Api.TypeStickerSet; }> { - CONSTRUCTOR_ID: 1915758525; + CONSTRUCTOR_ID: 1153455271; SUBCLASS_OF_ID: 3566872215; classType: "constructor"; className: "ChannelFull"; @@ -1206,6 +1232,7 @@ export namespace Api { participantsHidden?: boolean; translationsDisabled?: boolean; storiesPinnedAvailable?: boolean; + viewForumAsMessages?: boolean; id: long; about: string; participantsCount?: int; @@ -1242,6 +1269,10 @@ export namespace Api { defaultSendAs?: Api.TypePeer; availableReactions?: Api.TypeChatReactions; stories?: Api.TypePeerStories; + wallpaper?: Api.TypeWallPaper; + boostsApplied?: int; + boostsUnrestrict?: int; + emojiset?: Api.TypeStickerSet; } export class ChatParticipant extends VirtualClass<{ userId: long; @@ -1349,7 +1380,7 @@ export namespace Api { peerId?: Api.TypePeer; } export class Message extends CustomMessage { - CONSTRUCTOR_ID: 940666592; + CONSTRUCTOR_ID: 508332649; SUBCLASS_OF_ID: 2030045667; classType: "request"; className: "Message"; @@ -1424,6 +1455,9 @@ export namespace Api { // flags: null; nopremium?: boolean; spoiler?: boolean; + video?: boolean; + round?: boolean; + voice?: boolean; document?: Api.TypeDocument; altDocument?: Api.TypeDocument; ttlSeconds?: int; @@ -1436,6 +1470,9 @@ export namespace Api { // flags: null; nopremium?: boolean; spoiler?: boolean; + video?: boolean; + round?: boolean; + voice?: boolean; document?: Api.TypeDocument; altDocument?: Api.TypeDocument; ttlSeconds?: int; @@ -1583,25 +1620,61 @@ export namespace Api { export class MessageMediaGiveaway extends VirtualClass<{ // flags: null; onlyNewSubscribers?: boolean; + winnersAreVisible?: boolean; channels: long[]; countriesIso2?: string[]; + prizeDescription?: string; quantity: int; months: int; untilDate: int; }> { - CONSTRUCTOR_ID: 1478887012; + CONSTRUCTOR_ID: 3668805040; SUBCLASS_OF_ID: 1198308914; classType: "constructor"; className: "MessageMediaGiveaway"; static fromReader(reader: Reader): MessageMediaGiveaway; // flags: null; onlyNewSubscribers?: boolean; + winnersAreVisible?: boolean; channels: long[]; countriesIso2?: string[]; + prizeDescription?: string; quantity: int; months: int; untilDate: int; } + export class MessageMediaGiveawayResults extends VirtualClass<{ + // flags: null; + onlyNewSubscribers?: boolean; + refunded?: boolean; + channelId: long; + additionalPeersCount?: int; + launchMsgId: int; + winnersCount: int; + unclaimedCount: int; + winners: long[]; + months: int; + prizeDescription?: string; + untilDate: int; + }> { + CONSTRUCTOR_ID: 3331919976; + SUBCLASS_OF_ID: 1198308914; + classType: "constructor"; + className: "MessageMediaGiveawayResults"; + static fromReader(reader: Reader): MessageMediaGiveawayResults; + // flags: null; + onlyNewSubscribers?: boolean; + refunded?: boolean; + channelId: long; + additionalPeersCount?: int; + launchMsgId: int; + winnersCount: int; + unclaimedCount: int; + winners: long[]; + months: int; + prizeDescription?: string; + untilDate: int; + } export class MessageActionEmpty extends VirtualClass { CONSTRUCTOR_ID: 3064919984; SUBCLASS_OF_ID: 2256589094; @@ -2035,34 +2108,30 @@ export namespace Api { } export class MessageActionRequestedPeer extends VirtualClass<{ buttonId: int; - peer: Api.TypePeer; + peers: Api.TypePeer[]; }> { - CONSTRUCTOR_ID: 4269225053; + CONSTRUCTOR_ID: 827428507; SUBCLASS_OF_ID: 2256589094; classType: "constructor"; className: "MessageActionRequestedPeer"; static fromReader(reader: Reader): MessageActionRequestedPeer; buttonId: int; - peer: Api.TypePeer; + peers: Api.TypePeer[]; } export class MessageActionSetChatWallPaper extends VirtualClass<{ + // flags: null; + same?: boolean; + forBoth?: boolean; wallpaper: Api.TypeWallPaper; }> { - CONSTRUCTOR_ID: 3158616359; + CONSTRUCTOR_ID: 1348510708; SUBCLASS_OF_ID: 2256589094; classType: "constructor"; className: "MessageActionSetChatWallPaper"; static fromReader(reader: Reader): MessageActionSetChatWallPaper; - wallpaper: Api.TypeWallPaper; - } - export class MessageActionSetSameChatWallPaper extends VirtualClass<{ - wallpaper: Api.TypeWallPaper; - }> { - CONSTRUCTOR_ID: 3229121901; - SUBCLASS_OF_ID: 2256589094; - classType: "constructor"; - className: "MessageActionSetSameChatWallPaper"; - static fromReader(reader: Reader): MessageActionSetSameChatWallPaper; + // flags: null; + same?: boolean; + forBoth?: boolean; wallpaper: Api.TypeWallPaper; } export class MessageActionGiftCode extends VirtualClass<{ @@ -2072,8 +2141,12 @@ export namespace Api { boostPeer?: Api.TypePeer; months: int; slug: string; + currency?: string; + amount?: long; + cryptoCurrency?: string; + cryptoAmount?: long; }> { - CONSTRUCTOR_ID: 3536837390; + CONSTRUCTOR_ID: 1737240073; SUBCLASS_OF_ID: 2256589094; classType: "constructor"; className: "MessageActionGiftCode"; @@ -2084,6 +2157,10 @@ export namespace Api { boostPeer?: Api.TypePeer; months: int; slug: string; + currency?: string; + amount?: long; + cryptoCurrency?: string; + cryptoAmount?: long; } export class MessageActionGiveawayLaunch extends VirtualClass { CONSTRUCTOR_ID: 858499565; @@ -2092,10 +2169,33 @@ export namespace Api { className: "MessageActionGiveawayLaunch"; static fromReader(reader: Reader): MessageActionGiveawayLaunch; } + export class MessageActionGiveawayResults extends VirtualClass<{ + winnersCount: int; + unclaimedCount: int; + }> { + CONSTRUCTOR_ID: 715107781; + SUBCLASS_OF_ID: 2256589094; + classType: "constructor"; + className: "MessageActionGiveawayResults"; + static fromReader(reader: Reader): MessageActionGiveawayResults; + winnersCount: int; + unclaimedCount: int; + } + export class MessageActionBoostApply extends VirtualClass<{ + boosts: int; + }> { + CONSTRUCTOR_ID: 3422726765; + SUBCLASS_OF_ID: 2256589094; + classType: "constructor"; + className: "MessageActionBoostApply"; + static fromReader(reader: Reader): MessageActionBoostApply; + boosts: int; + } export class Dialog extends VirtualClass<{ // flags: null; pinned?: boolean; unreadMark?: boolean; + viewForumAsMessages?: boolean; peer: Api.TypePeer; topMessage: int; readInboxMaxId: int; @@ -2117,6 +2217,7 @@ export namespace Api { // flags: null; pinned?: boolean; unreadMark?: boolean; + viewForumAsMessages?: boolean; peer: Api.TypePeer; topMessage: int; readInboxMaxId: int; @@ -2560,6 +2661,9 @@ export namespace Api { translationsDisabled?: boolean; storiesPinnedAvailable?: boolean; blockedMyStoriesFrom?: boolean; + wallpaperOverridden?: boolean; + contactRequirePremium?: boolean; + readDatesPrivate?: boolean; id: long; about?: string; settings: Api.TypePeerSettings; @@ -2596,6 +2700,9 @@ export namespace Api { translationsDisabled?: boolean; storiesPinnedAvailable?: boolean; blockedMyStoriesFrom?: boolean; + wallpaperOverridden?: boolean; + contactRequirePremium?: boolean; + readDatesPrivate?: boolean; id: long; about?: string; settings: Api.TypePeerSettings; @@ -4373,6 +4480,121 @@ export namespace Api { storyId: int; reaction: Api.TypeReaction; } + export class UpdateBotChatBoost extends VirtualClass<{ + peer: Api.TypePeer; + boost: Api.TypeBoost; + qts: int; + }> { + CONSTRUCTOR_ID: 2421019804; + SUBCLASS_OF_ID: 2676568142; + classType: "constructor"; + className: "UpdateBotChatBoost"; + static fromReader(reader: Reader): UpdateBotChatBoost; + peer: Api.TypePeer; + boost: Api.TypeBoost; + qts: int; + } + export class UpdateChannelViewForumAsMessages extends VirtualClass<{ + channelId: long; + enabled: Bool; + }> { + CONSTRUCTOR_ID: 129403168; + SUBCLASS_OF_ID: 2676568142; + classType: "constructor"; + className: "UpdateChannelViewForumAsMessages"; + static fromReader(reader: Reader): UpdateChannelViewForumAsMessages; + channelId: long; + enabled: Bool; + } + export class UpdatePeerWallpaper extends VirtualClass<{ + // flags: null; + wallpaperOverridden?: boolean; + peer: Api.TypePeer; + wallpaper?: Api.TypeWallPaper; + }> { + CONSTRUCTOR_ID: 2923368477; + SUBCLASS_OF_ID: 2676568142; + classType: "constructor"; + className: "UpdatePeerWallpaper"; + static fromReader(reader: Reader): UpdatePeerWallpaper; + // flags: null; + wallpaperOverridden?: boolean; + peer: Api.TypePeer; + wallpaper?: Api.TypeWallPaper; + } + export class UpdateBotMessageReaction extends VirtualClass<{ + peer: Api.TypePeer; + msgId: int; + date: int; + actor: Api.TypePeer; + oldReactions: Api.TypeReaction[]; + newReactions: Api.TypeReaction[]; + qts: int; + }> { + CONSTRUCTOR_ID: 2887898062; + SUBCLASS_OF_ID: 2676568142; + classType: "constructor"; + className: "UpdateBotMessageReaction"; + static fromReader(reader: Reader): UpdateBotMessageReaction; + peer: Api.TypePeer; + msgId: int; + date: int; + actor: Api.TypePeer; + oldReactions: Api.TypeReaction[]; + newReactions: Api.TypeReaction[]; + qts: int; + } + export class UpdateBotMessageReactions extends VirtualClass<{ + peer: Api.TypePeer; + msgId: int; + date: int; + reactions: Api.TypeReactionCount[]; + qts: int; + }> { + CONSTRUCTOR_ID: 164329305; + SUBCLASS_OF_ID: 2676568142; + classType: "constructor"; + className: "UpdateBotMessageReactions"; + static fromReader(reader: Reader): UpdateBotMessageReactions; + peer: Api.TypePeer; + msgId: int; + date: int; + reactions: Api.TypeReactionCount[]; + qts: int; + } + export class UpdateSavedDialogPinned extends VirtualClass<{ + // flags: null; + pinned?: boolean; + peer: Api.TypeDialogPeer; + }> { + CONSTRUCTOR_ID: 2930744948; + SUBCLASS_OF_ID: 2676568142; + classType: "constructor"; + className: "UpdateSavedDialogPinned"; + static fromReader(reader: Reader): UpdateSavedDialogPinned; + // flags: null; + pinned?: boolean; + peer: Api.TypeDialogPeer; + } + export class UpdatePinnedSavedDialogs extends VirtualClass<{ + // flags: null; + order?: Api.TypeDialogPeer[]; + }> { + CONSTRUCTOR_ID: 1751942566; + SUBCLASS_OF_ID: 2676568142; + classType: "constructor"; + className: "UpdatePinnedSavedDialogs"; + static fromReader(reader: Reader): UpdatePinnedSavedDialogs; + // flags: null; + order?: Api.TypeDialogPeer[]; + } + export class UpdateSavedReactionTags extends VirtualClass { + CONSTRUCTOR_ID: 969307186; + SUBCLASS_OF_ID: 2676568142; + classType: "constructor"; + className: "UpdateSavedReactionTags"; + static fromReader(reader: Reader): UpdateSavedReactionTags; + } export class UpdatesTooLong extends VirtualClass { CONSTRUCTOR_ID: 3809980286; SUBCLASS_OF_ID: 2331323052; @@ -5920,6 +6142,15 @@ export namespace Api { reader: Reader ): InputStickerSetEmojiDefaultTopicIcons; } + export class InputStickerSetEmojiChannelDefaultStatuses extends VirtualClass { + CONSTRUCTOR_ID: 1232373075; + SUBCLASS_OF_ID: 1034127786; + classType: "constructor"; + className: "InputStickerSetEmojiChannelDefaultStatuses"; + static fromReader( + reader: Reader + ): InputStickerSetEmojiChannelDefaultStatuses; + } export class StickerSet extends VirtualClass<{ // flags: null; archived?: boolean; @@ -5929,6 +6160,7 @@ export namespace Api { videos?: boolean; emojis?: boolean; textColor?: boolean; + channelEmojiStatus?: boolean; installedDate?: int; id: long; accessHash: long; @@ -5954,6 +6186,7 @@ export namespace Api { videos?: boolean; emojis?: boolean; textColor?: boolean; + channelEmojiStatus?: boolean; installedDate?: int; id: long; accessHash: long; @@ -6200,8 +6433,9 @@ export namespace Api { text: string; buttonId: int; peerType: Api.TypeRequestPeerType; + maxQuantity: int; }> { - CONSTRUCTOR_ID: 218842764; + CONSTRUCTOR_ID: 1406648280; SUBCLASS_OF_ID: 195916963; classType: "constructor"; className: "KeyboardButtonRequestPeer"; @@ -6209,6 +6443,7 @@ export namespace Api { text: string; buttonId: int; peerType: Api.TypeRequestPeerType; + maxQuantity: int; } export class KeyboardButtonRow extends VirtualClass<{ buttons: Api.TypeKeyboardButton[]; @@ -7250,6 +7485,7 @@ export namespace Api { export class MessageFwdHeader extends VirtualClass<{ // flags: null; imported?: boolean; + savedOut?: boolean; fromId?: Api.TypePeer; fromName?: string; date: int; @@ -7257,15 +7493,19 @@ export namespace Api { postAuthor?: string; savedFromPeer?: Api.TypePeer; savedFromMsgId?: int; + savedFromId?: Api.TypePeer; + savedFromName?: string; + savedDate?: int; psaType?: string; }> { - CONSTRUCTOR_ID: 1601666510; + CONSTRUCTOR_ID: 1313731771; SUBCLASS_OF_ID: 2049468420; classType: "constructor"; className: "MessageFwdHeader"; static fromReader(reader: Reader): MessageFwdHeader; // flags: null; imported?: boolean; + savedOut?: boolean; fromId?: Api.TypePeer; fromName?: string; date: int; @@ -7273,6 +7513,9 @@ export namespace Api { postAuthor?: string; savedFromPeer?: Api.TypePeer; savedFromMsgId?: int; + savedFromId?: Api.TypePeer; + savedFromName?: string; + savedDate?: int; psaType?: string; } export class InputBotInlineMessageID extends VirtualClass<{ @@ -9336,33 +9579,75 @@ export namespace Api { ): ChannelAdminLogEventActionToggleAntiSpam; newValue: Bool; } - export class ChannelAdminLogEventActionChangeColor extends VirtualClass<{ - prevValue: int; - newValue: int; + export class ChannelAdminLogEventActionChangePeerColor extends VirtualClass<{ + prevValue: Api.TypePeerColor; + newValue: Api.TypePeerColor; }> { - CONSTRUCTOR_ID: 1009460347; + CONSTRUCTOR_ID: 1469507456; SUBCLASS_OF_ID: 2998503411; classType: "constructor"; - className: "ChannelAdminLogEventActionChangeColor"; + className: "ChannelAdminLogEventActionChangePeerColor"; static fromReader( reader: Reader - ): ChannelAdminLogEventActionChangeColor; - prevValue: int; - newValue: int; + ): ChannelAdminLogEventActionChangePeerColor; + prevValue: Api.TypePeerColor; + newValue: Api.TypePeerColor; } - export class ChannelAdminLogEventActionChangeBackgroundEmoji extends VirtualClass<{ - prevValue: long; - newValue: long; + export class ChannelAdminLogEventActionChangeProfilePeerColor extends VirtualClass<{ + prevValue: Api.TypePeerColor; + newValue: Api.TypePeerColor; }> { - CONSTRUCTOR_ID: 1147126836; + CONSTRUCTOR_ID: 1581742885; SUBCLASS_OF_ID: 2998503411; classType: "constructor"; - className: "ChannelAdminLogEventActionChangeBackgroundEmoji"; + className: "ChannelAdminLogEventActionChangeProfilePeerColor"; static fromReader( reader: Reader - ): ChannelAdminLogEventActionChangeBackgroundEmoji; - prevValue: long; - newValue: long; + ): ChannelAdminLogEventActionChangeProfilePeerColor; + prevValue: Api.TypePeerColor; + newValue: Api.TypePeerColor; + } + export class ChannelAdminLogEventActionChangeWallpaper extends VirtualClass<{ + prevValue: Api.TypeWallPaper; + newValue: Api.TypeWallPaper; + }> { + CONSTRUCTOR_ID: 834362706; + SUBCLASS_OF_ID: 2998503411; + classType: "constructor"; + className: "ChannelAdminLogEventActionChangeWallpaper"; + static fromReader( + reader: Reader + ): ChannelAdminLogEventActionChangeWallpaper; + prevValue: Api.TypeWallPaper; + newValue: Api.TypeWallPaper; + } + export class ChannelAdminLogEventActionChangeEmojiStatus extends VirtualClass<{ + prevValue: Api.TypeEmojiStatus; + newValue: Api.TypeEmojiStatus; + }> { + CONSTRUCTOR_ID: 1051328177; + SUBCLASS_OF_ID: 2998503411; + classType: "constructor"; + className: "ChannelAdminLogEventActionChangeEmojiStatus"; + static fromReader( + reader: Reader + ): ChannelAdminLogEventActionChangeEmojiStatus; + prevValue: Api.TypeEmojiStatus; + newValue: Api.TypeEmojiStatus; + } + export class ChannelAdminLogEventActionChangeEmojiStickerSet extends VirtualClass<{ + prevStickerset: Api.TypeInputStickerSet; + newStickerset: Api.TypeInputStickerSet; + }> { + CONSTRUCTOR_ID: 1188577451; + SUBCLASS_OF_ID: 2998503411; + classType: "constructor"; + className: "ChannelAdminLogEventActionChangeEmojiStickerSet"; + static fromReader( + reader: Reader + ): ChannelAdminLogEventActionChangeEmojiStickerSet; + prevStickerset: Api.TypeInputStickerSet; + newStickerset: Api.TypeInputStickerSet; } export class ChannelAdminLogEvent extends VirtualClass<{ id: long; @@ -10657,8 +10942,9 @@ export namespace Api { fourthBackgroundColor?: int; intensity?: int; rotation?: int; + emoticon?: string; }> { - CONSTRUCTOR_ID: 499236004; + CONSTRUCTOR_ID: 925826256; SUBCLASS_OF_ID: 1098244882; classType: "constructor"; className: "WallPaperSettings"; @@ -10672,6 +10958,7 @@ export namespace Api { fourthBackgroundColor?: int; intensity?: int; rotation?: int; + emoticon?: string; } export class AutoDownloadSettings extends VirtualClass<{ // flags: null; @@ -11227,20 +11514,6 @@ export namespace Api { json: Api.TypeDataJSON; zoomToken?: string; } - export class MessageInteractionCounters extends VirtualClass<{ - msgId: int; - views: int; - forwards: int; - }> { - CONSTRUCTOR_ID: 2907687357; - SUBCLASS_OF_ID: 641251104; - classType: "constructor"; - className: "MessageInteractionCounters"; - static fromReader(reader: Reader): MessageInteractionCounters; - msgId: int; - views: int; - forwards: int; - } export class VideoSize extends VirtualClass<{ // flags: null; type: string; @@ -11334,6 +11607,8 @@ export namespace Api { archiveAndMuteNewNoncontactPeers?: boolean; keepArchivedUnmuted?: boolean; keepArchivedFolders?: boolean; + hideReadMarks?: boolean; + newNoncontactPeersRequirePremium?: boolean; }> { CONSTRUCTOR_ID: 1934380235; SUBCLASS_OF_ID: 3373160304; @@ -11344,6 +11619,8 @@ export namespace Api { archiveAndMuteNewNoncontactPeers?: boolean; keepArchivedUnmuted?: boolean; keepArchivedFolders?: boolean; + hideReadMarks?: boolean; + newNoncontactPeersRequirePremium?: boolean; } export class MessageViews extends VirtualClass<{ // flags: null; @@ -11373,8 +11650,9 @@ export namespace Api { replyToTopId?: int; quoteText?: string; quoteEntities?: Api.TypeMessageEntity[]; + quoteOffset?: int; }> { - CONSTRUCTOR_ID: 1860946621; + CONSTRUCTOR_ID: 2948336091; SUBCLASS_OF_ID: 1531810151; classType: "constructor"; className: "MessageReplyHeader"; @@ -11390,17 +11668,18 @@ export namespace Api { replyToTopId?: int; quoteText?: string; quoteEntities?: Api.TypeMessageEntity[]; + quoteOffset?: int; } export class MessageReplyStoryHeader extends VirtualClass<{ - userId: long; + peer: Api.TypePeer; storyId: int; }> { - CONSTRUCTOR_ID: 2627256257; + CONSTRUCTOR_ID: 240843065; SUBCLASS_OF_ID: 1531810151; classType: "constructor"; className: "MessageReplyStoryHeader"; static fromReader(reader: Reader): MessageReplyStoryHeader; - userId: long; + peer: Api.TypePeer; storyId: int; } export class MessageReplies extends VirtualClass<{ @@ -11738,12 +12017,14 @@ export namespace Api { channelPost?: int; startParam?: string; webpage?: Api.TypeSponsoredWebPage; + app?: Api.TypeBotApp; message: string; entities?: Api.TypeMessageEntity[]; + buttonText?: string; sponsorInfo?: string; additionalInfo?: string; }> { - CONSTRUCTOR_ID: 3668967275; + CONSTRUCTOR_ID: 3981673463; SUBCLASS_OF_ID: 3780630582; classType: "constructor"; className: "SponsoredMessage"; @@ -11758,8 +12039,10 @@ export namespace Api { channelPost?: int; startParam?: string; webpage?: Api.TypeSponsoredWebPage; + app?: Api.TypeBotApp; message: string; entities?: Api.TypeMessageEntity[]; + buttonText?: string; sponsorInfo?: string; additionalInfo?: string; } @@ -11813,6 +12096,7 @@ export namespace Api { // flags: null; min?: boolean; canSeeList?: boolean; + reactionsAsTags?: boolean; results: Api.TypeReactionCount[]; recentReactions?: Api.TypeMessagePeerReaction[]; }> { @@ -11824,6 +12108,7 @@ export namespace Api { // flags: null; min?: boolean; canSeeList?: boolean; + reactionsAsTags?: boolean; results: Api.TypeReactionCount[]; recentReactions?: Api.TypeMessagePeerReaction[]; } @@ -12200,24 +12485,28 @@ export namespace Api { export class InputStorePaymentPremiumGiveaway extends VirtualClass<{ // flags: null; onlyNewSubscribers?: boolean; + winnersAreVisible?: boolean; boostPeer: Api.TypeInputPeer; additionalPeers?: Api.TypeInputPeer[]; countriesIso2?: string[]; + prizeDescription?: string; randomId?: long; untilDate: int; currency: string; amount: long; }> { - CONSTRUCTOR_ID: 2090038758; + CONSTRUCTOR_ID: 369444042; SUBCLASS_OF_ID: 3886290765; classType: "constructor"; className: "InputStorePaymentPremiumGiveaway"; static fromReader(reader: Reader): InputStorePaymentPremiumGiveaway; // flags: null; onlyNewSubscribers?: boolean; + winnersAreVisible?: boolean; boostPeer: Api.TypeInputPeer; additionalPeers?: Api.TypeInputPeer[]; countriesIso2?: string[]; + prizeDescription?: string; randomId?: long; untilDate: int; currency: string; @@ -12935,6 +13224,8 @@ export namespace Api { out?: boolean; id: int; date: int; + fromId?: Api.TypePeer; + fwdFrom?: Api.TypeStoryFwdHeader; expireDate: int; caption?: string; entities?: Api.TypeMessageEntity[]; @@ -12944,7 +13235,7 @@ export namespace Api { views?: Api.TypeStoryViews; sentReaction?: Api.TypeReaction; }> { - CONSTRUCTOR_ID: 1153718222; + CONSTRUCTOR_ID: 2041735716; SUBCLASS_OF_ID: 3564613939; classType: "constructor"; className: "StoryItem"; @@ -12961,6 +13252,8 @@ export namespace Api { out?: boolean; id: int; date: int; + fromId?: Api.TypePeer; + fwdFrom?: Api.TypeStoryFwdHeader; expireDate: int; caption?: string; entities?: Api.TypeMessageEntity[]; @@ -12990,6 +13283,40 @@ export namespace Api { date: int; reaction?: Api.TypeReaction; } + export class StoryViewPublicForward extends VirtualClass<{ + // flags: null; + blocked?: boolean; + blockedMyStoriesFrom?: boolean; + message: Api.TypeMessage; + }> { + CONSTRUCTOR_ID: 2424530699; + SUBCLASS_OF_ID: 898711459; + classType: "constructor"; + className: "StoryViewPublicForward"; + static fromReader(reader: Reader): StoryViewPublicForward; + // flags: null; + blocked?: boolean; + blockedMyStoriesFrom?: boolean; + message: Api.TypeMessage; + } + export class StoryViewPublicRepost extends VirtualClass<{ + // flags: null; + blocked?: boolean; + blockedMyStoriesFrom?: boolean; + peerId: Api.TypePeer; + story: Api.TypeStoryItem; + }> { + CONSTRUCTOR_ID: 3178549065; + SUBCLASS_OF_ID: 898711459; + classType: "constructor"; + className: "StoryViewPublicRepost"; + static fromReader(reader: Reader): StoryViewPublicRepost; + // flags: null; + blocked?: boolean; + blockedMyStoriesFrom?: boolean; + peerId: Api.TypePeer; + story: Api.TypeStoryItem; + } export class InputReplyToMessage extends VirtualClass<{ // flags: null; replyToMsgId: int; @@ -12997,8 +13324,9 @@ export namespace Api { replyToPeerId?: Api.TypeInputPeer; quoteText?: string; quoteEntities?: Api.TypeMessageEntity[]; + quoteOffset?: int; }> { - CONSTRUCTOR_ID: 121554949; + CONSTRUCTOR_ID: 583071445; SUBCLASS_OF_ID: 2356220701; classType: "constructor"; className: "InputReplyToMessage"; @@ -13009,17 +13337,18 @@ export namespace Api { replyToPeerId?: Api.TypeInputPeer; quoteText?: string; quoteEntities?: Api.TypeMessageEntity[]; + quoteOffset?: int; } export class InputReplyToStory extends VirtualClass<{ - userId: Api.TypeInputUser; + peer: Api.TypeInputPeer; storyId: int; }> { - CONSTRUCTOR_ID: 363917955; + CONSTRUCTOR_ID: 1484862010; SUBCLASS_OF_ID: 2356220701; classType: "constructor"; className: "InputReplyToStory"; static fromReader(reader: Reader): InputReplyToStory; - userId: Api.TypeInputUser; + peer: Api.TypeInputPeer; storyId: int; } export class ExportedStoryLink extends VirtualClass<{ @@ -13130,6 +13459,34 @@ export namespace Api { coordinates: Api.TypeMediaAreaCoordinates; reaction: Api.TypeReaction; } + export class MediaAreaChannelPost extends VirtualClass<{ + coordinates: Api.TypeMediaAreaCoordinates; + channelId: long; + msgId: int; + }> { + CONSTRUCTOR_ID: 1996756655; + SUBCLASS_OF_ID: 4084038642; + classType: "constructor"; + className: "MediaAreaChannelPost"; + static fromReader(reader: Reader): MediaAreaChannelPost; + coordinates: Api.TypeMediaAreaCoordinates; + channelId: long; + msgId: int; + } + export class InputMediaAreaChannelPost extends VirtualClass<{ + coordinates: Api.TypeMediaAreaCoordinates; + channel: Api.TypeInputChannel; + msgId: int; + }> { + CONSTRUCTOR_ID: 577893055; + SUBCLASS_OF_ID: 4084038642; + classType: "constructor"; + className: "InputMediaAreaChannelPost"; + static fromReader(reader: Reader): InputMediaAreaChannelPost; + coordinates: Api.TypeMediaAreaCoordinates; + channel: Api.TypeInputChannel; + msgId: int; + } export class PeerStories extends VirtualClass<{ // flags: null; peer: Api.TypePeer; @@ -13234,27 +13591,191 @@ export namespace Api { expires: int; cooldownUntilDate?: int; } - export class ResPQ extends VirtualClass<{ - nonce: int128; - serverNonce: int128; - pq: bytes; - serverPublicKeyFingerprints: long[]; + export class StoryFwdHeader extends VirtualClass<{ + // flags: null; + modified?: boolean; + from?: Api.TypePeer; + fromName?: string; + storyId?: int; }> { - CONSTRUCTOR_ID: 85337187; - SUBCLASS_OF_ID: 2020181688; + CONSTRUCTOR_ID: 3089555792; + SUBCLASS_OF_ID: 2863706412; classType: "constructor"; - className: "ResPQ"; - static fromReader(reader: Reader): ResPQ; - nonce: int128; - serverNonce: int128; - pq: bytes; - serverPublicKeyFingerprints: long[]; + className: "StoryFwdHeader"; + static fromReader(reader: Reader): StoryFwdHeader; + // flags: null; + modified?: boolean; + from?: Api.TypePeer; + fromName?: string; + storyId?: int; } - export class PQInnerData extends VirtualClass<{ - pq: bytes; - p: bytes; - q: bytes; - nonce: int128; + export class PostInteractionCountersMessage extends VirtualClass<{ + msgId: int; + views: int; + forwards: int; + reactions: int; + }> { + CONSTRUCTOR_ID: 3875901055; + SUBCLASS_OF_ID: 1850361243; + classType: "constructor"; + className: "PostInteractionCountersMessage"; + static fromReader(reader: Reader): PostInteractionCountersMessage; + msgId: int; + views: int; + forwards: int; + reactions: int; + } + export class PostInteractionCountersStory extends VirtualClass<{ + storyId: int; + views: int; + forwards: int; + reactions: int; + }> { + CONSTRUCTOR_ID: 2319978023; + SUBCLASS_OF_ID: 1850361243; + classType: "constructor"; + className: "PostInteractionCountersStory"; + static fromReader(reader: Reader): PostInteractionCountersStory; + storyId: int; + views: int; + forwards: int; + reactions: int; + } + export class PublicForwardMessage extends VirtualClass<{ + message: Api.TypeMessage; + }> { + CONSTRUCTOR_ID: 32685898; + SUBCLASS_OF_ID: 1653609939; + classType: "constructor"; + className: "PublicForwardMessage"; + static fromReader(reader: Reader): PublicForwardMessage; + message: Api.TypeMessage; + } + export class PublicForwardStory extends VirtualClass<{ + peer: Api.TypePeer; + story: Api.TypeStoryItem; + }> { + CONSTRUCTOR_ID: 3992169936; + SUBCLASS_OF_ID: 1653609939; + classType: "constructor"; + className: "PublicForwardStory"; + static fromReader(reader: Reader): PublicForwardStory; + peer: Api.TypePeer; + story: Api.TypeStoryItem; + } + export class PeerColor extends VirtualClass<{ + // flags: null; + color?: int; + backgroundEmojiId?: long; + }> { + CONSTRUCTOR_ID: 3041614543; + SUBCLASS_OF_ID: 4068582527; + classType: "constructor"; + className: "PeerColor"; + static fromReader(reader: Reader): PeerColor; + // flags: null; + color?: int; + backgroundEmojiId?: long; + } + export class StoryReaction extends VirtualClass<{ + peerId: Api.TypePeer; + date: int; + reaction: Api.TypeReaction; + }> { + CONSTRUCTOR_ID: 1620104917; + SUBCLASS_OF_ID: 3379257259; + classType: "constructor"; + className: "StoryReaction"; + static fromReader(reader: Reader): StoryReaction; + peerId: Api.TypePeer; + date: int; + reaction: Api.TypeReaction; + } + export class StoryReactionPublicForward extends VirtualClass<{ + message: Api.TypeMessage; + }> { + CONSTRUCTOR_ID: 3148555843; + SUBCLASS_OF_ID: 3379257259; + classType: "constructor"; + className: "StoryReactionPublicForward"; + static fromReader(reader: Reader): StoryReactionPublicForward; + message: Api.TypeMessage; + } + export class StoryReactionPublicRepost extends VirtualClass<{ + peerId: Api.TypePeer; + story: Api.TypeStoryItem; + }> { + CONSTRUCTOR_ID: 3486322451; + SUBCLASS_OF_ID: 3379257259; + classType: "constructor"; + className: "StoryReactionPublicRepost"; + static fromReader(reader: Reader): StoryReactionPublicRepost; + peerId: Api.TypePeer; + story: Api.TypeStoryItem; + } + export class SavedDialog extends VirtualClass<{ + // flags: null; + pinned?: boolean; + peer: Api.TypePeer; + topMessage: int; + }> { + CONSTRUCTOR_ID: 3179793260; + SUBCLASS_OF_ID: 599418118; + classType: "constructor"; + className: "SavedDialog"; + static fromReader(reader: Reader): SavedDialog; + // flags: null; + pinned?: boolean; + peer: Api.TypePeer; + topMessage: int; + } + export class SavedReactionTag extends VirtualClass<{ + // flags: null; + reaction: Api.TypeReaction; + title?: string; + count: int; + }> { + CONSTRUCTOR_ID: 3413112872; + SUBCLASS_OF_ID: 3983021080; + classType: "constructor"; + className: "SavedReactionTag"; + static fromReader(reader: Reader): SavedReactionTag; + // flags: null; + reaction: Api.TypeReaction; + title?: string; + count: int; + } + export class OutboxReadDate extends VirtualClass<{ + date: int; + }> { + CONSTRUCTOR_ID: 1001931436; + SUBCLASS_OF_ID: 1867613126; + classType: "constructor"; + className: "OutboxReadDate"; + static fromReader(reader: Reader): OutboxReadDate; + date: int; + } + export class ResPQ extends VirtualClass<{ + nonce: int128; + serverNonce: int128; + pq: bytes; + serverPublicKeyFingerprints: long[]; + }> { + CONSTRUCTOR_ID: 85337187; + SUBCLASS_OF_ID: 2020181688; + classType: "constructor"; + className: "ResPQ"; + static fromReader(reader: Reader): ResPQ; + nonce: int128; + serverNonce: int128; + pq: bytes; + serverPublicKeyFingerprints: long[]; + } + export class PQInnerData extends VirtualClass<{ + pq: bytes; + p: bytes; + q: bytes; + nonce: int128; serverNonce: int128; newNonce: int256; }> { @@ -15450,8 +15971,10 @@ export namespace Api { pending?: boolean; transcriptionId: long; text: string; + trialRemainsNum?: int; + trialRemainsUntilDate?: int; }> { - CONSTRUCTOR_ID: 2473929810; + CONSTRUCTOR_ID: 3485063511; SUBCLASS_OF_ID: 565332278; classType: "constructor"; className: "messages.TranscribedAudio"; @@ -15460,6 +15983,8 @@ export namespace Api { pending?: boolean; transcriptionId: long; text: string; + trialRemainsNum?: int; + trialRemainsUntilDate?: int; } export class ReactionsNotModified extends VirtualClass { CONSTRUCTOR_ID: 2960120799; @@ -15565,6 +16090,69 @@ export namespace Api { chats: Api.TypeChat[]; users: Api.TypeUser[]; } + export class SavedDialogs extends VirtualClass<{ + dialogs: Api.TypeSavedDialog[]; + messages: Api.TypeMessage[]; + chats: Api.TypeChat[]; + users: Api.TypeUser[]; + }> { + CONSTRUCTOR_ID: 4164608545; + SUBCLASS_OF_ID: 1632352382; + classType: "constructor"; + className: "messages.SavedDialogs"; + static fromReader(reader: Reader): SavedDialogs; + dialogs: Api.TypeSavedDialog[]; + messages: Api.TypeMessage[]; + chats: Api.TypeChat[]; + users: Api.TypeUser[]; + } + export class SavedDialogsSlice extends VirtualClass<{ + count: int; + dialogs: Api.TypeSavedDialog[]; + messages: Api.TypeMessage[]; + chats: Api.TypeChat[]; + users: Api.TypeUser[]; + }> { + CONSTRUCTOR_ID: 1153080793; + SUBCLASS_OF_ID: 1632352382; + classType: "constructor"; + className: "messages.SavedDialogsSlice"; + static fromReader(reader: Reader): SavedDialogsSlice; + count: int; + dialogs: Api.TypeSavedDialog[]; + messages: Api.TypeMessage[]; + chats: Api.TypeChat[]; + users: Api.TypeUser[]; + } + export class SavedDialogsNotModified extends VirtualClass<{ + count: int; + }> { + CONSTRUCTOR_ID: 3223285736; + SUBCLASS_OF_ID: 1632352382; + classType: "constructor"; + className: "messages.SavedDialogsNotModified"; + static fromReader(reader: Reader): SavedDialogsNotModified; + count: int; + } + export class SavedReactionTagsNotModified extends VirtualClass { + CONSTRUCTOR_ID: 2291882479; + SUBCLASS_OF_ID: 2744867811; + classType: "constructor"; + className: "messages.SavedReactionTagsNotModified"; + static fromReader(reader: Reader): SavedReactionTagsNotModified; + } + export class SavedReactionTags extends VirtualClass<{ + tags: Api.TypeSavedReactionTag[]; + hash: long; + }> { + CONSTRUCTOR_ID: 844731658; + SUBCLASS_OF_ID: 2744867811; + classType: "constructor"; + className: "messages.SavedReactionTags"; + static fromReader(reader: Reader): SavedReactionTags; + tags: Api.TypeSavedReactionTag[]; + hash: long; + } } export namespace updates { @@ -16141,6 +16729,71 @@ export namespace Api { hash: int; config: Api.TypeJSONValue; } + export class PeerColorSet extends VirtualClass<{ + colors: int[]; + }> { + CONSTRUCTOR_ID: 639736408; + SUBCLASS_OF_ID: 298574124; + classType: "constructor"; + className: "help.PeerColorSet"; + static fromReader(reader: Reader): PeerColorSet; + colors: int[]; + } + export class PeerColorProfileSet extends VirtualClass<{ + paletteColors: int[]; + bgColors: int[]; + storyColors: int[]; + }> { + CONSTRUCTOR_ID: 1987928555; + SUBCLASS_OF_ID: 298574124; + classType: "constructor"; + className: "help.PeerColorProfileSet"; + static fromReader(reader: Reader): PeerColorProfileSet; + paletteColors: int[]; + bgColors: int[]; + storyColors: int[]; + } + export class PeerColorOption extends VirtualClass<{ + // flags: null; + hidden?: boolean; + colorId: int; + colors?: help.TypePeerColorSet; + darkColors?: help.TypePeerColorSet; + channelMinLevel?: int; + groupMinLevel?: int; + }> { + CONSTRUCTOR_ID: 2917953214; + SUBCLASS_OF_ID: 1454943896; + classType: "constructor"; + className: "help.PeerColorOption"; + static fromReader(reader: Reader): PeerColorOption; + // flags: null; + hidden?: boolean; + colorId: int; + colors?: help.TypePeerColorSet; + darkColors?: help.TypePeerColorSet; + channelMinLevel?: int; + groupMinLevel?: int; + } + export class PeerColorsNotModified extends VirtualClass { + CONSTRUCTOR_ID: 732034510; + SUBCLASS_OF_ID: 239036211; + classType: "constructor"; + className: "help.PeerColorsNotModified"; + static fromReader(reader: Reader): PeerColorsNotModified; + } + export class PeerColors extends VirtualClass<{ + hash: int; + colors: help.TypePeerColorOption[]; + }> { + CONSTRUCTOR_ID: 16313608; + SUBCLASS_OF_ID: 239036211; + classType: "constructor"; + className: "help.PeerColors"; + static fromReader(reader: Reader): PeerColors; + hash: int; + colors: help.TypePeerColorOption[]; + } export class ConfigSimple extends VirtualClass<{ date: int; expires: int; @@ -16734,7 +17387,7 @@ export namespace Api { export class CheckedGiftCode extends VirtualClass<{ // flags: null; viaGiveaway?: boolean; - fromId: Api.TypePeer; + fromId?: Api.TypePeer; giveawayMsgId?: int; toId?: long; date: int; @@ -16743,14 +17396,14 @@ export namespace Api { chats: Api.TypeChat[]; users: Api.TypeUser[]; }> { - CONSTRUCTOR_ID: 3072520536; + CONSTRUCTOR_ID: 675942550; SUBCLASS_OF_ID: 1529452520; classType: "constructor"; className: "payments.CheckedGiftCode"; static fromReader(reader: Reader): CheckedGiftCode; // flags: null; viaGiveaway?: boolean; - fromId: Api.TypePeer; + fromId?: Api.TypePeer; giveawayMsgId?: int; toId?: long; date: int; @@ -16912,6 +17565,10 @@ export namespace Api { followers: Api.TypeStatsAbsValueAndPrev; viewsPerPost: Api.TypeStatsAbsValueAndPrev; sharesPerPost: Api.TypeStatsAbsValueAndPrev; + reactionsPerPost: Api.TypeStatsAbsValueAndPrev; + viewsPerStory: Api.TypeStatsAbsValueAndPrev; + sharesPerStory: Api.TypeStatsAbsValueAndPrev; + reactionsPerStory: Api.TypeStatsAbsValueAndPrev; enabledNotifications: Api.TypeStatsPercentValue; growthGraph: Api.TypeStatsGraph; followersGraph: Api.TypeStatsGraph; @@ -16922,9 +17579,12 @@ export namespace Api { viewsBySourceGraph: Api.TypeStatsGraph; newFollowersBySourceGraph: Api.TypeStatsGraph; languagesGraph: Api.TypeStatsGraph; - recentMessageInteractions: Api.TypeMessageInteractionCounters[]; + reactionsByEmotionGraph: Api.TypeStatsGraph; + storyInteractionsGraph: Api.TypeStatsGraph; + storyReactionsByEmotionGraph: Api.TypeStatsGraph; + recentPostsInteractions: Api.TypePostInteractionCounters[]; }> { - CONSTRUCTOR_ID: 3187114900; + CONSTRUCTOR_ID: 963421692; SUBCLASS_OF_ID: 2146587688; classType: "constructor"; className: "stats.BroadcastStats"; @@ -16933,6 +17593,10 @@ export namespace Api { followers: Api.TypeStatsAbsValueAndPrev; viewsPerPost: Api.TypeStatsAbsValueAndPrev; sharesPerPost: Api.TypeStatsAbsValueAndPrev; + reactionsPerPost: Api.TypeStatsAbsValueAndPrev; + viewsPerStory: Api.TypeStatsAbsValueAndPrev; + sharesPerStory: Api.TypeStatsAbsValueAndPrev; + reactionsPerStory: Api.TypeStatsAbsValueAndPrev; enabledNotifications: Api.TypeStatsPercentValue; growthGraph: Api.TypeStatsGraph; followersGraph: Api.TypeStatsGraph; @@ -16943,7 +17607,10 @@ export namespace Api { viewsBySourceGraph: Api.TypeStatsGraph; newFollowersBySourceGraph: Api.TypeStatsGraph; languagesGraph: Api.TypeStatsGraph; - recentMessageInteractions: Api.TypeMessageInteractionCounters[]; + reactionsByEmotionGraph: Api.TypeStatsGraph; + storyInteractionsGraph: Api.TypeStatsGraph; + storyReactionsByEmotionGraph: Api.TypeStatsGraph; + recentPostsInteractions: Api.TypePostInteractionCounters[]; } export class MegagroupStats extends VirtualClass<{ period: Api.TypeStatsDateRangeDays; @@ -16989,13 +17656,47 @@ export namespace Api { } export class MessageStats extends VirtualClass<{ viewsGraph: Api.TypeStatsGraph; + reactionsByEmotionGraph: Api.TypeStatsGraph; }> { - CONSTRUCTOR_ID: 2308567701; + CONSTRUCTOR_ID: 2145983508; SUBCLASS_OF_ID: 2516886306; classType: "constructor"; className: "stats.MessageStats"; static fromReader(reader: Reader): MessageStats; viewsGraph: Api.TypeStatsGraph; + reactionsByEmotionGraph: Api.TypeStatsGraph; + } + export class StoryStats extends VirtualClass<{ + viewsGraph: Api.TypeStatsGraph; + reactionsByEmotionGraph: Api.TypeStatsGraph; + }> { + CONSTRUCTOR_ID: 1355613820; + SUBCLASS_OF_ID: 2337096660; + classType: "constructor"; + className: "stats.StoryStats"; + static fromReader(reader: Reader): StoryStats; + viewsGraph: Api.TypeStatsGraph; + reactionsByEmotionGraph: Api.TypeStatsGraph; + } + export class PublicForwards extends VirtualClass<{ + // flags: null; + count: int; + forwards: Api.TypePublicForward[]; + nextOffset?: string; + chats: Api.TypeChat[]; + users: Api.TypeUser[]; + }> { + CONSTRUCTOR_ID: 2466479648; + SUBCLASS_OF_ID: 2804429329; + classType: "constructor"; + className: "stats.PublicForwards"; + static fromReader(reader: Reader): PublicForwards; + // flags: null; + count: int; + forwards: Api.TypePublicForward[]; + nextOffset?: string; + chats: Api.TypeChat[]; + users: Api.TypeUser[]; } } @@ -17185,20 +17886,26 @@ export namespace Api { export class StoryViewsList extends VirtualClass<{ // flags: null; count: int; + viewsCount: int; + forwardsCount: int; reactionsCount: int; views: Api.TypeStoryView[]; + chats: Api.TypeChat[]; users: Api.TypeUser[]; nextOffset?: string; }> { - CONSTRUCTOR_ID: 1189722604; + CONSTRUCTOR_ID: 1507299269; SUBCLASS_OF_ID: 3108205920; classType: "constructor"; className: "stories.StoryViewsList"; static fromReader(reader: Reader): StoryViewsList; // flags: null; count: int; + viewsCount: int; + forwardsCount: int; reactionsCount: int; views: Api.TypeStoryView[]; + chats: Api.TypeChat[]; users: Api.TypeUser[]; nextOffset?: string; } @@ -17228,6 +17935,26 @@ export namespace Api { chats: Api.TypeChat[]; users: Api.TypeUser[]; } + export class StoryReactionsList extends VirtualClass<{ + // flags: null; + count: int; + reactions: Api.TypeStoryReaction[]; + chats: Api.TypeChat[]; + users: Api.TypeUser[]; + nextOffset?: string; + }> { + CONSTRUCTOR_ID: 2858383516; + SUBCLASS_OF_ID: 74420707; + classType: "constructor"; + className: "stories.StoryReactionsList"; + static fromReader(reader: Reader): StoryReactionsList; + // flags: null; + count: int; + reactions: Api.TypeStoryReaction[]; + chats: Api.TypeChat[]; + users: Api.TypeUser[]; + nextOffset?: string; + } } export namespace premium { @@ -17444,6 +18171,13 @@ export namespace Api { export type TypeTranslatedText = messages.TranslateResult; export type TypeBotApp = messages.BotApp; export type TypeWebPage = messages.WebPage; + export type TypeSavedDialogs = + | messages.SavedDialogs + | messages.SavedDialogsSlice + | messages.SavedDialogsNotModified; + export type TypeSavedReactionTags = + | messages.SavedReactionTagsNotModified + | messages.SavedReactionTags; } export namespace updates { @@ -17495,6 +18229,13 @@ export namespace Api { | help.CountriesList; export type TypePremiumPromo = help.PremiumPromo; export type TypeAppConfig = help.AppConfigNotModified | help.AppConfig; + export type TypePeerColorSet = + | help.PeerColorSet + | help.PeerColorProfileSet; + export type TypePeerColorOption = help.PeerColorOption; + export type TypePeerColors = + | help.PeerColorsNotModified + | help.PeerColors; export type TypeConfigSimple = help.ConfigSimple; } @@ -17574,6 +18315,8 @@ export namespace Api { export type TypeBroadcastStats = stats.BroadcastStats; export type TypeMegagroupStats = stats.MegagroupStats; export type TypeMessageStats = stats.MessageStats; + export type TypeStoryStats = stats.StoryStats; + export type TypePublicForwards = stats.PublicForwards; } export namespace stickers { @@ -17606,6 +18349,7 @@ export namespace Api { export type TypeStoryViewsList = stories.StoryViewsList; export type TypeStoryViews = stories.StoryViews; export type TypePeerStories = stories.PeerStories; + export type TypeStoryReactionsList = stories.StoryReactionsList; } export namespace premium { @@ -17636,6 +18380,8 @@ export namespace Api { } export class SignUp extends Request< Partial<{ + // flags: null; + noJoinedNotifications?: boolean; phoneNumber: string; phoneCodeHash: string; firstName: string; @@ -17643,11 +18389,13 @@ export namespace Api { }>, auth.TypeAuthorization > { - CONSTRUCTOR_ID: 2163139623; + CONSTRUCTOR_ID: 2865215255; SUBCLASS_OF_ID: 3118485049; classType: "request"; className: "auth.SignUp"; static fromReader(reader: Reader): SignUp; + // flags: null; + noJoinedNotifications?: boolean; phoneNumber: string; phoneCodeHash: string; firstName: string; @@ -19199,18 +19947,20 @@ export namespace Api { export class UpdateColor extends Request< Partial<{ // flags: null; - color: int; + forProfile?: boolean; + color?: int; backgroundEmojiId?: long; }>, Bool > { - CONSTRUCTOR_ID: 2684472387; + CONSTRUCTOR_ID: 2096079197; SUBCLASS_OF_ID: 4122188204; classType: "request"; className: "account.UpdateColor"; static fromReader(reader: Reader): UpdateColor; // flags: null; - color: int; + forProfile?: boolean; + color?: int; backgroundEmojiId?: long; } export class GetDefaultBackgroundEmojis extends Request< @@ -19226,6 +19976,32 @@ export namespace Api { static fromReader(reader: Reader): GetDefaultBackgroundEmojis; hash: long; } + export class GetChannelDefaultEmojiStatuses extends Request< + Partial<{ + hash: long; + }>, + account.TypeEmojiStatuses + > { + CONSTRUCTOR_ID: 1999087573; + SUBCLASS_OF_ID: 3554674122; + classType: "request"; + className: "account.GetChannelDefaultEmojiStatuses"; + static fromReader(reader: Reader): GetChannelDefaultEmojiStatuses; + hash: long; + } + export class GetChannelRestrictedStatusEmojis extends Request< + Partial<{ + hash: long; + }>, + Api.TypeEmojiList + > { + CONSTRUCTOR_ID: 900325589; + SUBCLASS_OF_ID: 3169807034; + classType: "request"; + className: "account.GetChannelRestrictedStatusEmojis"; + static fromReader(reader: Reader): GetChannelRestrictedStatusEmojis; + hash: long; + } } export namespace users { @@ -19270,6 +20046,19 @@ export namespace Api { id: Api.TypeEntityLike; errors: Api.TypeSecureValueError[]; } + export class GetIsPremiumRequiredToContact extends Request< + Partial<{ + id: Api.TypeEntityLike[]; + }>, + Bool + > { + CONSTRUCTOR_ID: 2787289616; + SUBCLASS_OF_ID: 366986225; + classType: "request"; + className: "users.GetIsPremiumRequiredToContact"; + static fromReader(reader: Reader): GetIsPremiumRequiredToContact; + id: Api.TypeEntityLike[]; + } } export namespace contacts { @@ -19726,6 +20515,8 @@ export namespace Api { peer: Api.TypeEntityLike; q: string; fromId?: Api.TypeEntityLike; + savedPeerId?: Api.TypeEntityLike; + savedReaction?: Api.TypeReaction[]; topMsgId?: MessageIDLike; filter: Api.TypeMessagesFilter; minDate: int; @@ -19739,7 +20530,7 @@ export namespace Api { }>, messages.TypeMessages > { - CONSTRUCTOR_ID: 2700978018; + CONSTRUCTOR_ID: 703497338; SUBCLASS_OF_ID: 3568569182; classType: "request"; className: "messages.Search"; @@ -19748,6 +20539,8 @@ export namespace Api { peer: Api.TypeEntityLike; q: string; fromId?: Api.TypeEntityLike; + savedPeerId?: Api.TypeEntityLike; + savedReaction?: Api.TypeReaction[]; topMsgId?: MessageIDLike; filter: Api.TypeMessagesFilter; minDate: int; @@ -21591,18 +22384,20 @@ export namespace Api { Partial<{ // flags: null; peer: Api.TypeEntityLike; + savedPeerId?: Api.TypeEntityLike; topMsgId?: MessageIDLike; filters: Api.TypeMessagesFilter[]; }>, messages.TypeSearchCounter[] > { - CONSTRUCTOR_ID: 11435201; + CONSTRUCTOR_ID: 465367808; SUBCLASS_OF_ID: 1809726574; classType: "request"; className: "messages.GetSearchCounters"; static fromReader(reader: Reader): GetSearchCounters; // flags: null; peer: Api.TypeEntityLike; + savedPeerId?: Api.TypeEntityLike; topMsgId?: MessageIDLike; filters: Api.TypeMessagesFilter[]; } @@ -22201,38 +22996,46 @@ export namespace Api { } export class GetSearchResultsCalendar extends Request< Partial<{ + // flags: null; peer: Api.TypeEntityLike; + savedPeerId?: Api.TypeEntityLike; filter: Api.TypeMessagesFilter; offsetId: int; offsetDate: int; }>, messages.TypeSearchResultsCalendar > { - CONSTRUCTOR_ID: 1240514025; + CONSTRUCTOR_ID: 1789130429; SUBCLASS_OF_ID: 2462409743; classType: "request"; className: "messages.GetSearchResultsCalendar"; static fromReader(reader: Reader): GetSearchResultsCalendar; + // flags: null; peer: Api.TypeEntityLike; + savedPeerId?: Api.TypeEntityLike; filter: Api.TypeMessagesFilter; offsetId: int; offsetDate: int; } export class GetSearchResultsPositions extends Request< Partial<{ + // flags: null; peer: Api.TypeEntityLike; + savedPeerId?: Api.TypeEntityLike; filter: Api.TypeMessagesFilter; offsetId: int; limit: int; }>, messages.TypeSearchResultsPositions > { - CONSTRUCTOR_ID: 1855292323; + CONSTRUCTOR_ID: 2625580816; SUBCLASS_OF_ID: 3647172749; classType: "request"; className: "messages.GetSearchResultsPositions"; static fromReader(reader: Reader): GetSearchResultsPositions; + // flags: null; peer: Api.TypeEntityLike; + savedPeerId?: Api.TypeEntityLike; filter: Api.TypeMessagesFilter; offsetId: int; limit: int; @@ -22823,11 +23626,11 @@ export namespace Api { peer: Api.TypeEntityLike; msgId: MessageIDLike; buttonId: int; - requestedPeer: Api.TypeEntityLike; + requestedPeers: Api.TypeEntityLike[]; }>, Api.TypeUpdates > { - CONSTRUCTOR_ID: 4265136155; + CONSTRUCTOR_ID: 2444415072; SUBCLASS_OF_ID: 2331323052; classType: "request"; className: "messages.SendBotRequestedPeer"; @@ -22835,7 +23638,7 @@ export namespace Api { peer: Api.TypeEntityLike; msgId: MessageIDLike; buttonId: int; - requestedPeer: Api.TypeEntityLike; + requestedPeers: Api.TypeEntityLike[]; } export class GetEmojiGroups extends Request< Partial<{ @@ -22951,6 +23754,8 @@ export namespace Api { export class SetChatWallPaper extends Request< Partial<{ // flags: null; + forBoth?: boolean; + revert?: boolean; peer: Api.TypeEntityLike; wallpaper?: Api.TypeInputWallPaper; settings?: Api.TypeWallPaperSettings; @@ -22964,11 +23769,211 @@ export namespace Api { className: "messages.SetChatWallPaper"; static fromReader(reader: Reader): SetChatWallPaper; // flags: null; + forBoth?: boolean; + revert?: boolean; peer: Api.TypeEntityLike; wallpaper?: Api.TypeInputWallPaper; settings?: Api.TypeWallPaperSettings; id?: int; } + export class SearchEmojiStickerSets extends Request< + Partial<{ + // flags: null; + excludeFeatured?: boolean; + q: string; + hash: long; + }>, + messages.TypeFoundStickerSets + > { + CONSTRUCTOR_ID: 2461288780; + SUBCLASS_OF_ID: 68023137; + classType: "request"; + className: "messages.SearchEmojiStickerSets"; + static fromReader(reader: Reader): SearchEmojiStickerSets; + // flags: null; + excludeFeatured?: boolean; + q: string; + hash: long; + } + export class GetSavedDialogs extends Request< + Partial<{ + // flags: null; + excludePinned?: boolean; + offsetDate: int; + offsetId: int; + offsetPeer: Api.TypeEntityLike; + limit: int; + hash: long; + }>, + messages.TypeSavedDialogs + > { + CONSTRUCTOR_ID: 1401016858; + SUBCLASS_OF_ID: 1632352382; + classType: "request"; + className: "messages.GetSavedDialogs"; + static fromReader(reader: Reader): GetSavedDialogs; + // flags: null; + excludePinned?: boolean; + offsetDate: int; + offsetId: int; + offsetPeer: Api.TypeEntityLike; + limit: int; + hash: long; + } + export class GetSavedHistory extends Request< + Partial<{ + peer: Api.TypeEntityLike; + offsetId: int; + offsetDate: int; + addOffset: int; + limit: int; + maxId: int; + minId: int; + hash: long; + }>, + messages.TypeMessages + > { + CONSTRUCTOR_ID: 1033519437; + SUBCLASS_OF_ID: 3568569182; + classType: "request"; + className: "messages.GetSavedHistory"; + static fromReader(reader: Reader): GetSavedHistory; + peer: Api.TypeEntityLike; + offsetId: int; + offsetDate: int; + addOffset: int; + limit: int; + maxId: int; + minId: int; + hash: long; + } + export class DeleteSavedHistory extends Request< + Partial<{ + // flags: null; + peer: Api.TypeEntityLike; + maxId: int; + minDate?: int; + maxDate?: int; + }>, + messages.TypeAffectedHistory + > { + CONSTRUCTOR_ID: 1855459371; + SUBCLASS_OF_ID: 743031062; + classType: "request"; + className: "messages.DeleteSavedHistory"; + static fromReader(reader: Reader): DeleteSavedHistory; + // flags: null; + peer: Api.TypeEntityLike; + maxId: int; + minDate?: int; + maxDate?: int; + } + export class GetPinnedSavedDialogs extends Request< + void, + messages.TypeSavedDialogs + > { + CONSTRUCTOR_ID: 3594360032; + SUBCLASS_OF_ID: 1632352382; + classType: "request"; + className: "messages.GetPinnedSavedDialogs"; + static fromReader(reader: Reader): GetPinnedSavedDialogs; + } + export class ToggleSavedDialogPin extends Request< + Partial<{ + // flags: null; + pinned?: boolean; + peer: Api.TypeInputDialogPeer; + }>, + Bool + > { + CONSTRUCTOR_ID: 2894183390; + SUBCLASS_OF_ID: 4122188204; + classType: "request"; + className: "messages.ToggleSavedDialogPin"; + static fromReader(reader: Reader): ToggleSavedDialogPin; + // flags: null; + pinned?: boolean; + peer: Api.TypeInputDialogPeer; + } + export class ReorderPinnedSavedDialogs extends Request< + Partial<{ + // flags: null; + force?: boolean; + order: Api.TypeInputDialogPeer[]; + }>, + Bool + > { + CONSTRUCTOR_ID: 2339464583; + SUBCLASS_OF_ID: 4122188204; + classType: "request"; + className: "messages.ReorderPinnedSavedDialogs"; + static fromReader(reader: Reader): ReorderPinnedSavedDialogs; + // flags: null; + force?: boolean; + order: Api.TypeInputDialogPeer[]; + } + export class GetSavedReactionTags extends Request< + Partial<{ + // flags: null; + peer?: Api.TypeEntityLike; + hash: long; + }>, + messages.TypeSavedReactionTags + > { + CONSTRUCTOR_ID: 909631579; + SUBCLASS_OF_ID: 2744867811; + classType: "request"; + className: "messages.GetSavedReactionTags"; + static fromReader(reader: Reader): GetSavedReactionTags; + // flags: null; + peer?: Api.TypeEntityLike; + hash: long; + } + export class UpdateSavedReactionTag extends Request< + Partial<{ + // flags: null; + reaction: Api.TypeReaction; + title?: string; + }>, + Bool + > { + CONSTRUCTOR_ID: 1613331948; + SUBCLASS_OF_ID: 4122188204; + classType: "request"; + className: "messages.UpdateSavedReactionTag"; + static fromReader(reader: Reader): UpdateSavedReactionTag; + // flags: null; + reaction: Api.TypeReaction; + title?: string; + } + export class GetDefaultTagReactions extends Request< + Partial<{ + hash: long; + }>, + messages.TypeReactions + > { + CONSTRUCTOR_ID: 3187225640; + SUBCLASS_OF_ID: 2915271460; + classType: "request"; + className: "messages.GetDefaultTagReactions"; + static fromReader(reader: Reader): GetDefaultTagReactions; + hash: long; + } + export class GetOutboxReadDate extends Request< + Partial<{ + peer: Api.TypeEntityLike; + msgId: MessageIDLike; + }>, + Api.TypeOutboxReadDate + > { + CONSTRUCTOR_ID: 2353790557; + SUBCLASS_OF_ID: 1867613126; + classType: "request"; + className: "messages.GetOutboxReadDate"; + static fromReader(reader: Reader): GetOutboxReadDate; + peer: Api.TypeEntityLike; + msgId: MessageIDLike; + } } export namespace updates { @@ -23318,19 +24323,6 @@ export namespace Api { className: "help.GetSupport"; static fromReader(reader: Reader): GetSupport; } - export class GetAppChangelog extends Request< - Partial<{ - prevAppVersion: string; - }>, - Api.TypeUpdates - > { - CONSTRUCTOR_ID: 2417028975; - SUBCLASS_OF_ID: 2331323052; - classType: "request"; - className: "help.GetAppChangelog"; - static fromReader(reader: Reader): GetAppChangelog; - prevAppVersion: string; - } export class SetBotUpdatesStatus extends Request< Partial<{ pendingUpdatesCount: int; @@ -23541,6 +24533,32 @@ export namespace Api { className: "help.GetPremiumPromo"; static fromReader(reader: Reader): GetPremiumPromo; } + export class GetPeerColors extends Request< + Partial<{ + hash: int; + }>, + help.TypePeerColors + > { + CONSTRUCTOR_ID: 3665884207; + SUBCLASS_OF_ID: 239036211; + classType: "request"; + className: "help.GetPeerColors"; + static fromReader(reader: Reader): GetPeerColors; + hash: int; + } + export class GetPeerProfileColors extends Request< + Partial<{ + hash: int; + }>, + help.TypePeerColors + > { + CONSTRUCTOR_ID: 2882513405; + SUBCLASS_OF_ID: 239036211; + classType: "request"; + className: "help.GetPeerProfileColors"; + static fromReader(reader: Reader): GetPeerProfileColors; + hash: int; + } } export namespace channels { @@ -24453,22 +25471,97 @@ export namespace Api { export class UpdateColor extends Request< Partial<{ // flags: null; + forProfile?: boolean; channel: Api.TypeEntityLike; - color: int; + color?: int; backgroundEmojiId?: long; }>, Api.TypeUpdates > { - CONSTRUCTOR_ID: 1645879327; + CONSTRUCTOR_ID: 3635033713; SUBCLASS_OF_ID: 2331323052; classType: "request"; className: "channels.UpdateColor"; static fromReader(reader: Reader): UpdateColor; // flags: null; + forProfile?: boolean; channel: Api.TypeEntityLike; - color: int; + color?: int; backgroundEmojiId?: long; } + export class ToggleViewForumAsMessages extends Request< + Partial<{ + channel: Api.TypeEntityLike; + enabled: Bool; + }>, + Api.TypeUpdates + > { + CONSTRUCTOR_ID: 2537077525; + SUBCLASS_OF_ID: 2331323052; + classType: "request"; + className: "channels.ToggleViewForumAsMessages"; + static fromReader(reader: Reader): ToggleViewForumAsMessages; + channel: Api.TypeEntityLike; + enabled: Bool; + } + export class GetChannelRecommendations extends Request< + Partial<{ + channel: Api.TypeEntityLike; + }>, + messages.TypeChats + > { + CONSTRUCTOR_ID: 2209811863; + SUBCLASS_OF_ID: 2580925204; + classType: "request"; + className: "channels.GetChannelRecommendations"; + static fromReader(reader: Reader): GetChannelRecommendations; + channel: Api.TypeEntityLike; + } + export class UpdateEmojiStatus extends Request< + Partial<{ + channel: Api.TypeEntityLike; + emojiStatus: Api.TypeEmojiStatus; + }>, + Api.TypeUpdates + > { + CONSTRUCTOR_ID: 4040418984; + SUBCLASS_OF_ID: 2331323052; + classType: "request"; + className: "channels.UpdateEmojiStatus"; + static fromReader(reader: Reader): UpdateEmojiStatus; + channel: Api.TypeEntityLike; + emojiStatus: Api.TypeEmojiStatus; + } + export class SetBoostsToUnblockRestrictions extends Request< + Partial<{ + channel: Api.TypeEntityLike; + boosts: int; + }>, + Api.TypeUpdates + > { + CONSTRUCTOR_ID: 2906234094; + SUBCLASS_OF_ID: 2331323052; + classType: "request"; + className: "channels.SetBoostsToUnblockRestrictions"; + static fromReader(reader: Reader): SetBoostsToUnblockRestrictions; + channel: Api.TypeEntityLike; + boosts: int; + } + export class SetEmojiStickers extends Request< + Partial<{ + channel: Api.TypeEntityLike; + stickerset: Api.TypeInputStickerSet; + }>, + Bool + > { + CONSTRUCTOR_ID: 1020866743; + SUBCLASS_OF_ID: 4122188204; + classType: "request"; + className: "channels.SetEmojiStickers"; + static fromReader(reader: Reader): SetEmojiStickers; + channel: Api.TypeEntityLike; + stickerset: Api.TypeInputStickerSet; + } } export namespace bots { @@ -25825,23 +26918,19 @@ export namespace Api { Partial<{ channel: Api.TypeEntityLike; msgId: MessageIDLike; - offsetRate: int; - offsetPeer: Api.TypeEntityLike; - offsetId: int; + offset: string; limit: int; }>, - messages.TypeMessages + stats.TypePublicForwards > { - CONSTRUCTOR_ID: 1445996571; - SUBCLASS_OF_ID: 3568569182; + CONSTRUCTOR_ID: 1595212100; + SUBCLASS_OF_ID: 2804429329; classType: "request"; className: "stats.GetMessagePublicForwards"; static fromReader(reader: Reader): GetMessagePublicForwards; channel: Api.TypeEntityLike; msgId: MessageIDLike; - offsetRate: int; - offsetPeer: Api.TypeEntityLike; - offsetId: int; + offset: string; limit: int; } export class GetMessageStats extends Request< @@ -25863,6 +26952,44 @@ export namespace Api { channel: Api.TypeEntityLike; msgId: MessageIDLike; } + export class GetStoryStats extends Request< + Partial<{ + // flags: null; + dark?: boolean; + peer: Api.TypeEntityLike; + id: int; + }>, + stats.TypeStoryStats + > { + CONSTRUCTOR_ID: 927985472; + SUBCLASS_OF_ID: 2337096660; + classType: "request"; + className: "stats.GetStoryStats"; + static fromReader(reader: Reader): GetStoryStats; + // flags: null; + dark?: boolean; + peer: Api.TypeEntityLike; + id: int; + } + export class GetStoryPublicForwards extends Request< + Partial<{ + peer: Api.TypeEntityLike; + id: int; + offset: string; + limit: int; + }>, + stats.TypePublicForwards + > { + CONSTRUCTOR_ID: 2789441270; + SUBCLASS_OF_ID: 2804429329; + classType: "request"; + className: "stats.GetStoryPublicForwards"; + static fromReader(reader: Reader): GetStoryPublicForwards; + peer: Api.TypeEntityLike; + id: int; + offset: string; + limit: int; + } } export namespace chatlists { @@ -26050,6 +27177,7 @@ export namespace Api { // flags: null; pinned?: boolean; noforwards?: boolean; + fwdModified?: boolean; peer: Api.TypeEntityLike; media: Api.TypeInputMedia; mediaAreas?: Api.TypeMediaArea[]; @@ -26058,10 +27186,12 @@ export namespace Api { privacyRules: Api.TypeInputPrivacyRule[]; randomId?: long; period?: int; + fwdFromId?: Api.TypeEntityLike; + fwdFromStory?: int; }>, Api.TypeUpdates > { - CONSTRUCTOR_ID: 3166123588; + CONSTRUCTOR_ID: 3840305483; SUBCLASS_OF_ID: 2331323052; classType: "request"; className: "stories.SendStory"; @@ -26069,6 +27199,7 @@ export namespace Api { // flags: null; pinned?: boolean; noforwards?: boolean; + fwdModified?: boolean; peer: Api.TypeEntityLike; media: Api.TypeInputMedia; mediaAreas?: Api.TypeMediaArea[]; @@ -26077,6 +27208,8 @@ export namespace Api { privacyRules: Api.TypeInputPrivacyRule[]; randomId?: long; period?: int; + fwdFromId?: Api.TypeEntityLike; + fwdFromStory?: int; } export class EditStory extends Request< Partial<{ @@ -26253,6 +27386,7 @@ export namespace Api { // flags: null; justContacts?: boolean; reactionsFirst?: boolean; + forwardsFirst?: boolean; peer: Api.TypeEntityLike; q?: string; id: int; @@ -26269,6 +27403,7 @@ export namespace Api { // flags: null; justContacts?: boolean; reactionsFirst?: boolean; + forwardsFirst?: boolean; peer: Api.TypeEntityLike; q?: string; id: int; @@ -26420,6 +27555,31 @@ export namespace Api { peer: Api.TypeEntityLike; hidden: Bool; } + export class GetStoryReactionsList extends Request< + Partial<{ + // flags: null; + forwardsFirst?: boolean; + peer: Api.TypeEntityLike; + id: int; + reaction?: Api.TypeReaction; + offset?: string; + limit: int; + }>, + stories.TypeStoryReactionsList + > { + CONSTRUCTOR_ID: 3115485215; + SUBCLASS_OF_ID: 74420707; + classType: "request"; + className: "stories.GetStoryReactionsList"; + static fromReader(reader: Reader): GetStoryReactionsList; + // flags: null; + forwardsFirst?: boolean; + peer: Api.TypeEntityLike; + id: int; + reaction?: Api.TypeReaction; + offset?: string; + limit: int; + } } export namespace premium { @@ -26481,6 +27641,21 @@ export namespace Api { static fromReader(reader: Reader): GetBoostsStatus; peer: Api.TypeEntityLike; } + export class GetUserBoosts extends Request< + Partial<{ + peer: Api.TypeEntityLike; + userId: Api.TypeEntityLike; + }>, + premium.TypeBoostsList + > { + CONSTRUCTOR_ID: 965037343; + SUBCLASS_OF_ID: 573941949; + classType: "request"; + className: "premium.GetUserBoosts"; + static fromReader(reader: Reader): GetUserBoosts; + peer: Api.TypeEntityLike; + userId: Api.TypeEntityLike; + } } // Types export type TypeEntityLike = EntityLike; @@ -26575,7 +27750,8 @@ export namespace Api { | MessageMediaPoll | MessageMediaDice | MessageMediaStory - | MessageMediaGiveaway; + | MessageMediaGiveaway + | MessageMediaGiveawayResults; export type TypeMessageAction = | MessageActionEmpty | MessageActionChatCreate @@ -26615,9 +27791,10 @@ export namespace Api { | MessageActionSuggestProfilePhoto | MessageActionRequestedPeer | MessageActionSetChatWallPaper - | MessageActionSetSameChatWallPaper | MessageActionGiftCode - | MessageActionGiveawayLaunch; + | MessageActionGiveawayLaunch + | MessageActionGiveawayResults + | MessageActionBoostApply; export type TypeDialog = Dialog | DialogFolder; export type TypePhoto = PhotoEmpty | Photo; export type TypePhotoSize = @@ -26788,7 +27965,15 @@ export namespace Api { | UpdateReadStories | UpdateStoryID | UpdateStoriesStealthMode - | UpdateSentStoryReaction; + | UpdateSentStoryReaction + | UpdateBotChatBoost + | UpdateChannelViewForumAsMessages + | UpdatePeerWallpaper + | UpdateBotMessageReaction + | UpdateBotMessageReactions + | UpdateSavedDialogPinned + | UpdatePinnedSavedDialogs + | UpdateSavedReactionTags; export type TypeUpdates = | UpdatesTooLong | UpdateShortMessage @@ -26920,7 +28105,8 @@ export namespace Api { | InputStickerSetPremiumGifts | InputStickerSetEmojiGenericAnimations | InputStickerSetEmojiDefaultStatuses - | InputStickerSetEmojiDefaultTopicIcons; + | InputStickerSetEmojiDefaultTopicIcons + | InputStickerSetEmojiChannelDefaultStatuses; export type TypeStickerSet = StickerSet; export type TypeBotCommand = BotCommand; export type TypeBotInfo = BotInfo; @@ -27180,8 +28366,11 @@ export namespace Api { | ChannelAdminLogEventActionDeleteTopic | ChannelAdminLogEventActionPinTopic | ChannelAdminLogEventActionToggleAntiSpam - | ChannelAdminLogEventActionChangeColor - | ChannelAdminLogEventActionChangeBackgroundEmoji; + | ChannelAdminLogEventActionChangePeerColor + | ChannelAdminLogEventActionChangeProfilePeerColor + | ChannelAdminLogEventActionChangeWallpaper + | ChannelAdminLogEventActionChangeEmojiStatus + | ChannelAdminLogEventActionChangeEmojiStickerSet; export type TypeChannelAdminLogEvent = ChannelAdminLogEvent; export type TypeChannelAdminLogEventsFilter = ChannelAdminLogEventsFilter; export type TypePopularContact = PopularContact; @@ -27319,7 +28508,6 @@ export namespace Api { export type TypeStatsAbsValueAndPrev = StatsAbsValueAndPrev; export type TypeStatsPercentValue = StatsPercentValue; export type TypeStatsGraph = StatsGraphAsync | StatsGraphError | StatsGraph; - export type TypeMessageInteractionCounters = MessageInteractionCounters; export type TypeVideoSize = | VideoSize | VideoSizeEmojiMarkup @@ -27452,7 +28640,10 @@ export namespace Api { export type TypeSponsoredWebPage = SponsoredWebPage; export type TypeStoryViews = StoryViews; export type TypeStoryItem = StoryItemDeleted | StoryItemSkipped | StoryItem; - export type TypeStoryView = StoryView; + export type TypeStoryView = + | StoryView + | StoryViewPublicForward + | StoryViewPublicRepost; export type TypeInputReplyTo = InputReplyToMessage | InputReplyToStory; export type TypeExportedStoryLink = ExportedStoryLink; export type TypeStoriesStealthMode = StoriesStealthMode; @@ -27461,12 +28652,27 @@ export namespace Api { | MediaAreaVenue | InputMediaAreaVenue | MediaAreaGeoPoint - | MediaAreaSuggestedReaction; + | MediaAreaSuggestedReaction + | MediaAreaChannelPost + | InputMediaAreaChannelPost; export type TypePeerStories = PeerStories; export type TypePremiumGiftCodeOption = PremiumGiftCodeOption; export type TypePrepaidGiveaway = PrepaidGiveaway; export type TypeBoost = Boost; export type TypeMyBoost = MyBoost; + export type TypeStoryFwdHeader = StoryFwdHeader; + export type TypePostInteractionCounters = + | PostInteractionCountersMessage + | PostInteractionCountersStory; + export type TypePublicForward = PublicForwardMessage | PublicForwardStory; + export type TypePeerColor = PeerColor; + export type TypeStoryReaction = + | StoryReaction + | StoryReactionPublicForward + | StoryReactionPublicRepost; + export type TypeSavedDialog = SavedDialog; + export type TypeSavedReactionTag = SavedReactionTag; + export type TypeOutboxReadDate = OutboxReadDate; export type TypeResPQ = ResPQ; export type TypeP_Q_inner_data = | PQInnerData @@ -27646,9 +28852,12 @@ export namespace Api { | account.InvalidateSignInCodes | account.UpdateColor | account.GetDefaultBackgroundEmojis + | account.GetChannelDefaultEmojiStatuses + | account.GetChannelRestrictedStatusEmojis | users.GetUsers | users.GetFullUser | users.SetSecureValueErrors + | users.GetIsPremiumRequiredToContact | contacts.GetContactIDs | contacts.GetStatuses | contacts.GetContacts @@ -27861,6 +29070,17 @@ export namespace Api { | messages.GetBotApp | messages.RequestAppWebView | messages.SetChatWallPaper + | messages.SearchEmojiStickerSets + | messages.GetSavedDialogs + | messages.GetSavedHistory + | messages.DeleteSavedHistory + | messages.GetPinnedSavedDialogs + | messages.ToggleSavedDialogPin + | messages.ReorderPinnedSavedDialogs + | messages.GetSavedReactionTags + | messages.UpdateSavedReactionTag + | messages.GetDefaultTagReactions + | messages.GetOutboxReadDate | updates.GetState | updates.GetDifference | updates.GetChannelDifference @@ -27882,7 +29102,6 @@ export namespace Api { | help.GetAppUpdate | help.GetInviteText | help.GetSupport - | help.GetAppChangelog | help.SetBotUpdatesStatus | help.GetCdnConfig | help.GetRecentMeUrls @@ -27900,6 +29119,8 @@ export namespace Api { | help.DismissSuggestion | help.GetCountriesList | help.GetPremiumPromo + | help.GetPeerColors + | help.GetPeerProfileColors | channels.ReadHistory | channels.DeleteMessages | channels.ReportSpam @@ -27957,6 +29178,11 @@ export namespace Api { | channels.ToggleParticipantsHidden | channels.ClickSponsoredMessage | channels.UpdateColor + | channels.ToggleViewForumAsMessages + | channels.GetChannelRecommendations + | channels.UpdateEmojiStatus + | channels.SetBoostsToUnblockRestrictions + | channels.SetEmojiStickers | bots.SendCustomRequest | bots.AnswerWebhookJSONQuery | bots.SetBotCommands @@ -28041,6 +29267,8 @@ export namespace Api { | stats.GetMegagroupStats | stats.GetMessagePublicForwards | stats.GetMessageStats + | stats.GetStoryStats + | stats.GetStoryPublicForwards | chatlists.ExportChatlistInvite | chatlists.DeleteExportedInvite | chatlists.EditExportedInvite @@ -28075,8 +29303,10 @@ export namespace Api { | stories.GetPeerMaxIDs | stories.GetChatsToSend | stories.TogglePeerStoriesHidden + | stories.GetStoryReactionsList | premium.GetBoostsList | premium.GetMyBoosts | premium.ApplyBoost - | premium.GetBoostsStatus; + | premium.GetBoostsStatus + | premium.GetUserBoosts; } diff --git a/gramjs/tl/apiTl.js b/gramjs/tl/apiTl.js index c95a8b2c..b52a6b2f 100644 --- a/gramjs/tl/apiTl.js +++ b/gramjs/tl/apiTl.js @@ -66,22 +66,22 @@ storage.fileMov#4b09ebbc = storage.FileType; storage.fileMp4#b3cea0e4 = storage.FileType; storage.fileWebp#1081464c = storage.FileType; userEmpty#d3bc4b7a id:long = User; -user#eb602f25 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true premium:flags.28?true attach_menu_enabled:flags.29?true flags2:# bot_can_edit:flags2.1?true close_friend:flags2.2?true stories_hidden:flags2.3?true stories_unavailable:flags2.4?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector bot_inline_placeholder:flags.19?string lang_code:flags.22?string emoji_status:flags.30?EmojiStatus usernames:flags2.0?Vector stories_max_id:flags2.5?int color:flags2.7?int background_emoji_id:flags2.6?long = User; +user#215c4438 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true premium:flags.28?true attach_menu_enabled:flags.29?true flags2:# bot_can_edit:flags2.1?true close_friend:flags2.2?true stories_hidden:flags2.3?true stories_unavailable:flags2.4?true contact_require_premium:flags2.10?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector bot_inline_placeholder:flags.19?string lang_code:flags.22?string emoji_status:flags.30?EmojiStatus usernames:flags2.0?Vector stories_max_id:flags2.5?int color:flags2.8?PeerColor profile_color:flags2.9?PeerColor = User; userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; userProfilePhoto#82d1f706 flags:# has_video:flags.0?true personal:flags.2?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = UserProfilePhoto; userStatusEmpty#9d05049 = UserStatus; userStatusOnline#edb93949 expires:int = UserStatus; userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; +userStatusRecently#7b197dc8 flags:# by_me:flags.0?true = UserStatus; +userStatusLastWeek#541a1d1a flags:# by_me:flags.0?true = UserStatus; +userStatusLastMonth#65899777 flags:# by_me:flags.0?true = UserStatus; chatEmpty#29562865 id:long = Chat; chat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; chatForbidden#6592a1a7 id:long title:string = Chat; -channel#1981ea7e flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector stories_max_id:flags2.4?int color:flags2.6?int background_emoji_id:flags2.5?long = Chat; +channel#aadfc8f flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector stories_max_id:flags2.4?int color:flags2.7?PeerColor profile_color:flags2.8?PeerColor emoji_status:flags2.9?EmojiStatus level:flags2.10?int = Chat; channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat; chatFull#c9d31138 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true translations_disabled:flags.19?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector available_reactions:flags.18?ChatReactions = ChatFull; -channelFull#723027bd flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions stories:flags2.4?PeerStories = ChatFull; +channelFull#44c054a7 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true view_forum_as_messages:flags2.6?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions stories:flags2.4?PeerStories wallpaper:flags2.7?WallPaper boosts_applied:flags2.8?int boosts_unrestrict:flags2.9?int emojiset:flags2.10?StickerSet = ChatFull; chatParticipant#c02d4007 user_id:long inviter_id:long date:int = ChatParticipant; chatParticipantCreator#e46bcee4 user_id:long = ChatParticipant; chatParticipantAdmin#a0933f5b user_id:long inviter_id:long date:int = ChatParticipant; @@ -90,14 +90,14 @@ chatParticipants#3cbc93f8 chat_id:long participants:Vector vers chatPhotoEmpty#37c1011c = ChatPhoto; chatPhoto#1c6e1c11 flags:# has_video:flags.0?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = ChatPhoto; messageEmpty#90a6ca84 flags:# id:int peer_id:flags.0?Peer = Message; -message#38116ee0 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true invert_media:flags.27?true id:int from_id:flags.8?Peer peer_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector ttl_period:flags.25?int = Message; +message#1e4c8a69 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true invert_media:flags.27?true id:int from_id:flags.8?Peer from_boosts_applied:flags.29?int peer_id:Peer saved_peer_id:flags.28?Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector ttl_period:flags.25?int = Message; messageService#2b085862 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?Peer peer_id:Peer reply_to:flags.3?MessageReplyHeader date:int action:MessageAction ttl_period:flags.25?int = Message; messageMediaEmpty#3ded6320 = MessageMedia; messageMediaPhoto#695150d7 flags:# spoiler:flags.3?true photo:flags.0?Photo ttl_seconds:flags.2?int = MessageMedia; messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; messageMediaContact#70322949 phone_number:string first_name:string last_name:string vcard:string user_id:long = MessageMedia; messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#4cf4d72d flags:# nopremium:flags.3?true spoiler:flags.4?true document:flags.0?Document alt_document:flags.5?Document ttl_seconds:flags.2?int = MessageMedia; +messageMediaDocument#4cf4d72d flags:# nopremium:flags.3?true spoiler:flags.4?true video:flags.6?true round:flags.7?true voice:flags.8?true document:flags.0?Document alt_document:flags.5?Document ttl_seconds:flags.2?int = MessageMedia; messageMediaWebPage#ddf10c3b flags:# force_large_media:flags.0?true force_small_media:flags.1?true manual:flags.3?true safe:flags.4?true webpage:WebPage = MessageMedia; messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; messageMediaGame#fdb19008 game:Game = MessageMedia; @@ -106,7 +106,8 @@ messageMediaGeoLive#b940c666 flags:# geo:GeoPoint heading:flags.0?int period:int messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; messageMediaDice#3f7ee58b value:int emoticon:string = MessageMedia; messageMediaStory#68cb6283 flags:# via_mention:flags.1?true peer:Peer id:int story:flags.0?StoryItem = MessageMedia; -messageMediaGiveaway#58260664 flags:# only_new_subscribers:flags.0?true channels:Vector countries_iso2:flags.1?Vector quantity:int months:int until_date:int = MessageMedia; +messageMediaGiveaway#daad85b0 flags:# only_new_subscribers:flags.0?true winners_are_visible:flags.2?true channels:Vector countries_iso2:flags.1?Vector prize_description:flags.3?string quantity:int months:int until_date:int = MessageMedia; +messageMediaGiveawayResults#c6991068 flags:# only_new_subscribers:flags.0?true refunded:flags.2?true channel_id:long additional_peers_count:flags.3?int launch_msg_id:int winners_count:int unclaimed_count:int winners:Vector months:int prize_description:flags.1?string until_date:int = MessageMedia; messageActionEmpty#b6aef7b0 = MessageAction; messageActionChatCreate#bd47cbad title:string users:Vector = MessageAction; messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; @@ -143,12 +144,13 @@ messageActionGiftPremium#c83d6aec flags:# currency:string amount:long months:int messageActionTopicCreate#d999256 flags:# title:string icon_color:int icon_emoji_id:flags.0?long = MessageAction; messageActionTopicEdit#c0944820 flags:# title:flags.0?string icon_emoji_id:flags.1?long closed:flags.2?Bool hidden:flags.3?Bool = MessageAction; messageActionSuggestProfilePhoto#57de635e photo:Photo = MessageAction; -messageActionRequestedPeer#fe77345d button_id:int peer:Peer = MessageAction; -messageActionSetChatWallPaper#bc44a927 wallpaper:WallPaper = MessageAction; -messageActionSetSameChatWallPaper#c0787d6d wallpaper:WallPaper = MessageAction; -messageActionGiftCode#d2cfdb0e flags:# via_giveaway:flags.0?true unclaimed:flags.2?true boost_peer:flags.1?Peer months:int slug:string = MessageAction; +messageActionRequestedPeer#31518e9b button_id:int peers:Vector = MessageAction; +messageActionSetChatWallPaper#5060a3f4 flags:# same:flags.0?true for_both:flags.1?true wallpaper:WallPaper = MessageAction; +messageActionGiftCode#678c2e09 flags:# via_giveaway:flags.0?true unclaimed:flags.2?true boost_peer:flags.1?Peer months:int slug:string currency:flags.2?string amount:flags.2?long crypto_currency:flags.3?string crypto_amount:flags.3?long = MessageAction; messageActionGiveawayLaunch#332ba9ed = MessageAction; -dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog; +messageActionGiveawayResults#2a9fadc5 winners_count:int unclaimed_count:int = MessageAction; +messageActionBoostApply#cc02aa6d boosts:int = MessageAction; +dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true view_forum_as_messages:flags.6?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog; dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog; photoEmpty#2331b22d id:long = Photo; photo#fb197a65 flags:# has_stickers:flags.0?true id:long access_hash:long file_reference:bytes date:int sizes:Vector video_sizes:flags.1?Vector dc_id:int = Photo; @@ -185,7 +187,7 @@ inputReportReasonGeoIrrelevant#dbd4feed = ReportReason; inputReportReasonFake#f5ddd6e7 = ReportReason; inputReportReasonIllegalDrugs#a8eb2be = ReportReason; inputReportReasonPersonalDetails#9ec7863d = ReportReason; -userFull#b9b12c6c 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 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 premium_gifts:flags.19?Vector wallpaper:flags.24?WallPaper stories:flags.25?PeerStories = UserFull; +userFull#b9b12c6c 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 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 premium_gifts:flags.19?Vector wallpaper:flags.24?WallPaper stories:flags.25?PeerStories = UserFull; contact#145ade0b user_id:long mutual:Bool = Contact; importedContact#c13e3c50 user_id:long client_id:long = ImportedContact; contactStatus#16d9703b user_id:long status:UserStatus = ContactStatus; @@ -339,6 +341,14 @@ updateReadStories#f74e932b peer:Peer max_id:int = Update; updateStoryID#1bf335b9 id:int random_id:long = Update; updateStoriesStealthMode#2c084dc1 stealth_mode:StoriesStealthMode = Update; updateSentStoryReaction#7d627683 peer:Peer story_id:int reaction:Reaction = Update; +updateBotChatBoost#904dd49c peer:Peer boost:Boost qts:int = Update; +updateChannelViewForumAsMessages#7b68920 channel_id:long enabled:Bool = Update; +updatePeerWallpaper#ae3f101d flags:# wallpaper_overridden:flags.1?true peer:Peer wallpaper:flags.0?WallPaper = Update; +updateBotMessageReaction#ac21d3ce peer:Peer msg_id:int date:int actor:Peer old_reactions:Vector new_reactions:Vector qts:int = Update; +updateBotMessageReactions#9cb7759 peer:Peer msg_id:int date:int reactions:Vector qts:int = Update; +updateSavedDialogPinned#aeaf9e74 flags:# pinned:flags.0?true peer:DialogPeer = Update; +updatePinnedSavedDialogs#686c85a6 flags:# order:flags.0?Vector = Update; +updateSavedReactionTags#39c67432 = Update; updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; @@ -489,7 +499,8 @@ inputStickerSetPremiumGifts#c88b3b02 = InputStickerSet; inputStickerSetEmojiGenericAnimations#4c4d4ce = InputStickerSet; inputStickerSetEmojiDefaultStatuses#29d0f5ee = InputStickerSet; inputStickerSetEmojiDefaultTopicIcons#44c1f8e9 = InputStickerSet; -stickerSet#2dd14edc flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true videos:flags.6?true emojis:flags.7?true text_color:flags.9?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector thumb_dc_id:flags.4?int thumb_version:flags.4?int thumb_document_id:flags.8?long count:int hash:int = StickerSet; +inputStickerSetEmojiChannelDefaultStatuses#49748553 = InputStickerSet; +stickerSet#2dd14edc flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true videos:flags.6?true emojis:flags.7?true text_color:flags.9?true channel_emoji_status:flags.10?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector thumb_dc_id:flags.4?int thumb_version:flags.4?int thumb_document_id:flags.8?long count:int hash:int = StickerSet; messages.stickerSet#6e153f16 set:StickerSet packs:Vector keywords:Vector documents:Vector = messages.StickerSet; messages.stickerSetNotModified#d3f924eb = messages.StickerSet; botCommand#c27ac8c7 command:string description:string = BotCommand; @@ -509,7 +520,7 @@ inputKeyboardButtonUserProfile#e988037b text:string user_id:InputUser = Keyboard keyboardButtonUserProfile#308660c1 text:string user_id:long = KeyboardButton; keyboardButtonWebView#13767230 text:string url:string = KeyboardButton; keyboardButtonSimpleWebView#a0c0505c text:string url:string = KeyboardButton; -keyboardButtonRequestPeer#d0b468c text:string button_id:int peer_type:RequestPeerType = KeyboardButton; +keyboardButtonRequestPeer#53d7bfd8 text:string button_id:int peer_type:RequestPeerType max_quantity:int = KeyboardButton; keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; replyKeyboardForceReply#86b40b08 flags:# single_use:flags.1?true selective:flags.2?true placeholder:flags.3?string = ReplyMarkup; @@ -589,7 +600,7 @@ botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string desc botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult; messages.botResults#e021f2f6 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM switch_webview:flags.3?InlineBotWebView results:Vector cache_time:int users:Vector = messages.BotResults; exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; -messageFwdHeader#5f777dce flags:# imported:flags.7?true from_id:flags.0?Peer from_name:flags.5?string date:int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int psa_type:flags.6?string = MessageFwdHeader; +messageFwdHeader#4e4df4bb flags:# imported:flags.7?true saved_out:flags.11?true from_id:flags.0?Peer from_name:flags.5?string date:int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int saved_from_id:flags.8?Peer saved_from_name:flags.9?string saved_date:flags.10?int psa_type:flags.6?string = MessageFwdHeader; auth.codeTypeSms#72a3158c = auth.CodeType; auth.codeTypeCall#741cd3e3 = auth.CodeType; auth.codeTypeFlashCall#226ccefb = auth.CodeType; @@ -783,8 +794,11 @@ channelAdminLogEventActionEditTopic#f06fe208 prev_topic:ForumTopic new_topic:For channelAdminLogEventActionDeleteTopic#ae168909 topic:ForumTopic = ChannelAdminLogEventAction; channelAdminLogEventActionPinTopic#5d8d353b flags:# prev_topic:flags.0?ForumTopic new_topic:flags.1?ForumTopic = ChannelAdminLogEventAction; channelAdminLogEventActionToggleAntiSpam#64f36dfc new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeColor#3c2b247b prev_value:int new_value:int = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeBackgroundEmoji#445fc434 prev_value:long new_value:long = ChannelAdminLogEventAction; +channelAdminLogEventActionChangePeerColor#5796e780 prev_value:PeerColor new_value:PeerColor = ChannelAdminLogEventAction; +channelAdminLogEventActionChangeProfilePeerColor#5e477b25 prev_value:PeerColor new_value:PeerColor = ChannelAdminLogEventAction; +channelAdminLogEventActionChangeWallpaper#31bb5d52 prev_value:WallPaper new_value:WallPaper = ChannelAdminLogEventAction; +channelAdminLogEventActionChangeEmojiStatus#3ea9feb1 prev_value:EmojiStatus new_value:EmojiStatus = ChannelAdminLogEventAction; +channelAdminLogEventActionChangeEmojiStickerSet#46d840ab prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; channelAdminLogEvent#1fad68cd id:long date:int user_id:long action:ChannelAdminLogEventAction = ChannelAdminLogEvent; channels.adminLogResults#ed8af74d events:Vector chats:Vector users:Vector = channels.AdminLogResults; channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true send:flags.16?true forums:flags.17?true = ChannelAdminLogEventsFilter; @@ -899,7 +913,7 @@ inputWallPaperNoFile#967a462e id:long = InputWallPaper; account.wallPapersNotModified#1c199183 = account.WallPapers; account.wallPapers#cdc3858c hash:long wallpapers:Vector = account.WallPapers; codeSettings#ad253d78 flags:# allow_flashcall:flags.0?true current_number:flags.1?true allow_app_hash:flags.4?true allow_missed_call:flags.5?true allow_firebase:flags.7?true logout_tokens:flags.6?Vector token:flags.8?string app_sandbox:flags.8?Bool = CodeSettings; -wallPaperSettings#1dc1bca4 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int second_background_color:flags.4?int third_background_color:flags.5?int fourth_background_color:flags.6?int intensity:flags.3?int rotation:flags.4?int = WallPaperSettings; +wallPaperSettings#372efcd0 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int second_background_color:flags.4?int third_background_color:flags.5?int fourth_background_color:flags.6?int intensity:flags.3?int rotation:flags.4?int emoticon:flags.7?string = WallPaperSettings; autoDownloadSettings#baa57628 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true stories_preload:flags.4?true photo_size_max:int video_size_max:long file_size_max:long video_upload_maxbitrate:int small_queue_active_operations_max:int large_queue_active_operations_max:int = AutoDownloadSettings; account.autoDownloadSettings#63cacf26 low:AutoDownloadSettings medium:AutoDownloadSettings high:AutoDownloadSettings = account.AutoDownloadSettings; emojiKeyword#d5b3b9f9 keyword:string emoticons:Vector = EmojiKeyword; @@ -951,8 +965,7 @@ statsPercentValue#cbce2fe0 part:double total:double = StatsPercentValue; statsGraphAsync#4a27eb2d token:string = StatsGraph; statsGraphError#bedc9822 error:string = StatsGraph; statsGraph#8ea464b6 flags:# json:DataJSON zoom_token:flags.0?string = StatsGraph; -messageInteractionCounters#ad4fc9bd msg_id:int views:int forwards:int = MessageInteractionCounters; -stats.broadcastStats#bdf78394 period:StatsDateRangeDays followers:StatsAbsValueAndPrev views_per_post:StatsAbsValueAndPrev shares_per_post:StatsAbsValueAndPrev enabled_notifications:StatsPercentValue growth_graph:StatsGraph followers_graph:StatsGraph mute_graph:StatsGraph top_hours_graph:StatsGraph interactions_graph:StatsGraph iv_interactions_graph:StatsGraph views_by_source_graph:StatsGraph new_followers_by_source_graph:StatsGraph languages_graph:StatsGraph recent_message_interactions:Vector = stats.BroadcastStats; +stats.broadcastStats#396ca5fc period:StatsDateRangeDays followers:StatsAbsValueAndPrev views_per_post:StatsAbsValueAndPrev shares_per_post:StatsAbsValueAndPrev reactions_per_post:StatsAbsValueAndPrev views_per_story:StatsAbsValueAndPrev shares_per_story:StatsAbsValueAndPrev reactions_per_story:StatsAbsValueAndPrev enabled_notifications:StatsPercentValue growth_graph:StatsGraph followers_graph:StatsGraph mute_graph:StatsGraph top_hours_graph:StatsGraph interactions_graph:StatsGraph iv_interactions_graph:StatsGraph views_by_source_graph:StatsGraph new_followers_by_source_graph:StatsGraph languages_graph:StatsGraph reactions_by_emotion_graph:StatsGraph story_interactions_graph:StatsGraph story_reactions_by_emotion_graph:StatsGraph recent_posts_interactions:Vector = stats.BroadcastStats; help.promoDataEmpty#98f6ac75 expires:int = help.PromoData; help.promoData#8c39793f flags:# proxy:flags.0?true expires:int peer:Peer chats:Vector users:Vector psa_type:flags.1?string psa_message:flags.2?string = help.PromoData; videoSize#de33b094 flags:# type:string w:int h:int size:int video_start_ts:flags.0?double = VideoSize; @@ -962,7 +975,7 @@ statsGroupTopPoster#9d04af9b user_id:long messages:int avg_chars:int = StatsGrou statsGroupTopAdmin#d7584c87 user_id:long deleted:int kicked:int banned:int = StatsGroupTopAdmin; statsGroupTopInviter#535f779d user_id:long invitations:int = StatsGroupTopInviter; stats.megagroupStats#ef7ff916 period:StatsDateRangeDays members:StatsAbsValueAndPrev messages:StatsAbsValueAndPrev viewers:StatsAbsValueAndPrev posters:StatsAbsValueAndPrev growth_graph:StatsGraph members_graph:StatsGraph new_members_by_source_graph:StatsGraph languages_graph:StatsGraph messages_graph:StatsGraph actions_graph:StatsGraph top_hours_graph:StatsGraph weekdays_graph:StatsGraph top_posters:Vector top_admins:Vector top_inviters:Vector users:Vector = stats.MegagroupStats; -globalPrivacySettings#734c4ccb flags:# archive_and_mute_new_noncontact_peers:flags.0?true keep_archived_unmuted:flags.1?true keep_archived_folders:flags.2?true = GlobalPrivacySettings; +globalPrivacySettings#734c4ccb flags:# archive_and_mute_new_noncontact_peers:flags.0?true keep_archived_unmuted:flags.1?true keep_archived_folders:flags.2?true hide_read_marks:flags.3?true new_noncontact_peers_require_premium:flags.4?true = GlobalPrivacySettings; help.countryCode#4203c5ef flags:# country_code:string prefixes:flags.0?Vector patterns:flags.1?Vector = help.CountryCode; help.country#c3878e23 flags:# hidden:flags.0?true iso2:string default_name:string name:flags.1?string country_codes:Vector = help.Country; help.countriesListNotModified#93cc1f32 = help.CountriesList; @@ -970,11 +983,11 @@ help.countriesList#87d0759e countries:Vector hash:int = help.Count messageViews#455b853d flags:# views:flags.0?int forwards:flags.1?int replies:flags.2?MessageReplies = MessageViews; messages.messageViews#b6c4f543 views:Vector chats:Vector users:Vector = messages.MessageViews; messages.discussionMessage#a6341782 flags:# messages:Vector max_id:flags.0?int read_inbox_max_id:flags.1?int read_outbox_max_id:flags.2?int unread_count:int chats:Vector users:Vector = messages.DiscussionMessage; -messageReplyHeader#6eebcabd flags:# reply_to_scheduled:flags.2?true forum_topic:flags.3?true quote:flags.9?true reply_to_msg_id:flags.4?int reply_to_peer_id:flags.0?Peer reply_from:flags.5?MessageFwdHeader reply_media:flags.8?MessageMedia reply_to_top_id:flags.1?int quote_text:flags.6?string quote_entities:flags.7?Vector = MessageReplyHeader; -messageReplyStoryHeader#9c98bfc1 user_id:long story_id:int = MessageReplyHeader; +messageReplyHeader#afbc09db flags:# reply_to_scheduled:flags.2?true forum_topic:flags.3?true quote:flags.9?true reply_to_msg_id:flags.4?int reply_to_peer_id:flags.0?Peer reply_from:flags.5?MessageFwdHeader reply_media:flags.8?MessageMedia reply_to_top_id:flags.1?int quote_text:flags.6?string quote_entities:flags.7?Vector quote_offset:flags.10?int = MessageReplyHeader; +messageReplyStoryHeader#e5af939 peer:Peer story_id:int = MessageReplyHeader; messageReplies#83d60fc2 flags:# comments:flags.0?true replies:int replies_pts:int recent_repliers:flags.1?Vector channel_id:flags.0?long max_id:flags.2?int read_max_id:flags.3?int = MessageReplies; peerBlocked#e8fd8014 peer_id:Peer date:int = PeerBlocked; -stats.messageStats#8999f295 views_graph:StatsGraph = stats.MessageStats; +stats.messageStats#7fe91c14 views_graph:StatsGraph reactions_by_emotion_graph:StatsGraph = stats.MessageStats; groupCallDiscarded#7780bcb4 id:long access_hash:long duration:int = GroupCall; groupCall#d597650c flags:# join_muted:flags.1?true can_change_join_muted:flags.2?true join_date_asc:flags.6?true schedule_start_subscribed:flags.8?true can_start_video:flags.9?true record_video_active:flags.11?true rtmp_stream:flags.12?true listeners_hidden:flags.13?true id:long access_hash:long participants_count:int title:flags.3?string stream_dc_id:flags.4?int record_start_date:flags.5?int schedule_date:flags.7?int unmuted_video_count:flags.10?int unmuted_video_limit:int version:int = GroupCall; inputGroupCall#d8aa840f id:long access_hash:long = InputGroupCall; @@ -1013,7 +1026,7 @@ botCommandScopePeerUser#a1321f3 peer:InputPeer user_id:InputUser = BotCommandSco account.resetPasswordFailedWait#e3779861 retry_date:int = account.ResetPasswordResult; account.resetPasswordRequestedWait#e9effc7d until_date:int = account.ResetPasswordResult; account.resetPasswordOk#e926d63e = account.ResetPasswordResult; -sponsoredMessage#daafff6b flags:# recommended:flags.5?true show_peer_photo:flags.6?true random_id:bytes from_id:flags.3?Peer chat_invite:flags.4?ChatInvite chat_invite_hash:flags.4?string channel_post:flags.2?int start_param:flags.0?string webpage:flags.9?SponsoredWebPage message:string entities:flags.1?Vector sponsor_info:flags.7?string additional_info:flags.8?string = SponsoredMessage; +sponsoredMessage#ed5383f7 flags:# recommended:flags.5?true show_peer_photo:flags.6?true random_id:bytes from_id:flags.3?Peer chat_invite:flags.4?ChatInvite chat_invite_hash:flags.4?string channel_post:flags.2?int start_param:flags.0?string webpage:flags.9?SponsoredWebPage app:flags.10?BotApp message:string entities:flags.1?Vector button_text:flags.11?string sponsor_info:flags.7?string additional_info:flags.8?string = SponsoredMessage; messages.sponsoredMessages#c9ee1d87 flags:# posts_between:flags.0?int messages:Vector chats:Vector users:Vector = messages.SponsoredMessages; messages.sponsoredMessagesEmpty#1839490f = messages.SponsoredMessages; searchResultsCalendarPeriod#c9b0539f date:int min_msg_id:int max_msg_id:int count:int = SearchResultsCalendarPeriod; @@ -1025,7 +1038,7 @@ users.userFull#3b6d152e full_user:UserFull chats:Vector users:Vector messages.peerSettings#6880b94d settings:PeerSettings chats:Vector users:Vector = messages.PeerSettings; auth.loggedOut#c3a2835f flags:# future_auth_token:flags.0?bytes = auth.LoggedOut; reactionCount#a3d1cb80 flags:# chosen_order:flags.0?int reaction:Reaction count:int = ReactionCount; -messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true results:Vector recent_reactions:flags.1?Vector = MessageReactions; +messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true reactions_as_tags:flags.3?true results:Vector recent_reactions:flags.1?Vector = MessageReactions; messages.messageReactionsList#31bd492d flags:# count:int reactions:Vector chats:Vector users:Vector next_offset:flags.0?string = messages.MessageReactionsList; availableReaction#c077ec01 flags:# inactive:flags.0?true premium:flags.2?true reaction:string title:string static_icon:Document appear_animation:Document select_animation:Document activate_animation:Document effect_animation:Document around_animation:flags.1?Document center_icon:flags.1?Document = AvailableReaction; messages.availableReactionsNotModified#9f071957 = messages.AvailableReactions; @@ -1063,12 +1076,12 @@ inputInvoiceMessage#c5b56859 peer:InputPeer msg_id:int = InputInvoice; inputInvoiceSlug#c326caef slug:string = InputInvoice; inputInvoicePremiumGiftCode#98986c0d purpose:InputStorePaymentPurpose option:PremiumGiftCodeOption = InputInvoice; payments.exportedInvoice#aed0cbd9 url:string = payments.ExportedInvoice; -messages.transcribedAudio#93752c52 flags:# pending:flags.0?true transcription_id:long text:string = messages.TranscribedAudio; +messages.transcribedAudio#cfb9d957 flags:# pending:flags.0?true transcription_id:long text:string trial_remains_num:flags.1?int trial_remains_until_date:flags.1?int = messages.TranscribedAudio; help.premiumPromo#5334759c status_text:string status_entities:Vector video_sections:Vector videos:Vector period_options:Vector users:Vector = help.PremiumPromo; inputStorePaymentPremiumSubscription#a6751e66 flags:# restore:flags.0?true upgrade:flags.1?true = InputStorePaymentPurpose; inputStorePaymentGiftPremium#616f7fe8 user_id:InputUser currency:string amount:long = InputStorePaymentPurpose; inputStorePaymentPremiumGiftCode#a3805f3f flags:# users:Vector boost_peer:flags.0?InputPeer currency:string amount:long = InputStorePaymentPurpose; -inputStorePaymentPremiumGiveaway#7c9375e6 flags:# only_new_subscribers:flags.0?true boost_peer:InputPeer additional_peers:flags.1?Vector countries_iso2:flags.2?Vector random_id:long until_date:int currency:string amount:long = InputStorePaymentPurpose; +inputStorePaymentPremiumGiveaway#160544ca flags:# only_new_subscribers:flags.0?true winners_are_visible:flags.3?true boost_peer:InputPeer additional_peers:flags.1?Vector countries_iso2:flags.2?Vector prize_description:flags.4?string random_id:long until_date:int currency:string amount:long = InputStorePaymentPurpose; premiumGiftOption#74c34319 flags:# months:int currency:string amount:long bot_url:string store_product:flags.0?string = PremiumGiftOption; paymentFormMethod#88f8f21b url:string title:string = PaymentFormMethod; emojiStatusEmpty#2de11aae = EmojiStatus; @@ -1141,15 +1154,17 @@ sponsoredWebPage#3db8ec63 flags:# url:string site_name:string photo:flags.0?Phot storyViews#8d595cd6 flags:# has_viewers:flags.1?true views_count:int forwards_count:flags.2?int reactions:flags.3?Vector reactions_count:flags.4?int recent_viewers:flags.0?Vector = StoryViews; storyItemDeleted#51e6ee4f id:int = StoryItem; storyItemSkipped#ffadc913 flags:# close_friends:flags.8?true id:int date:int expire_date:int = StoryItem; -storyItem#44c457ce flags:# pinned:flags.5?true public:flags.7?true close_friends:flags.8?true min:flags.9?true noforwards:flags.10?true edited:flags.11?true contacts:flags.12?true selected_contacts:flags.13?true out:flags.16?true id:int date:int expire_date:int caption:flags.0?string entities:flags.1?Vector media:MessageMedia media_areas:flags.14?Vector privacy:flags.2?Vector views:flags.3?StoryViews sent_reaction:flags.15?Reaction = StoryItem; +storyItem#79b26a24 flags:# pinned:flags.5?true public:flags.7?true close_friends:flags.8?true min:flags.9?true noforwards:flags.10?true edited:flags.11?true contacts:flags.12?true selected_contacts:flags.13?true out:flags.16?true id:int date:int from_id:flags.18?Peer fwd_from:flags.17?StoryFwdHeader expire_date:int caption:flags.0?string entities:flags.1?Vector media:MessageMedia media_areas:flags.14?Vector privacy:flags.2?Vector views:flags.3?StoryViews sent_reaction:flags.15?Reaction = StoryItem; stories.allStoriesNotModified#1158fe3e flags:# state:string stealth_mode:StoriesStealthMode = stories.AllStories; stories.allStories#6efc5e81 flags:# has_more:flags.0?true count:int state:string peer_stories:Vector chats:Vector users:Vector stealth_mode:StoriesStealthMode = stories.AllStories; stories.stories#5dd8c3c8 count:int stories:Vector chats:Vector users:Vector = stories.Stories; storyView#b0bdeac5 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true user_id:long date:int reaction:flags.2?Reaction = StoryView; -stories.storyViewsList#46e9b9ec flags:# count:int reactions_count:int views:Vector users:Vector next_offset:flags.0?string = stories.StoryViewsList; +storyViewPublicForward#9083670b flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true message:Message = StoryView; +storyViewPublicRepost#bd74cf49 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true peer_id:Peer story:StoryItem = StoryView; +stories.storyViewsList#59d78fc5 flags:# count:int views_count:int forwards_count:int reactions_count:int views:Vector chats:Vector users:Vector next_offset:flags.0?string = stories.StoryViewsList; stories.storyViews#de9eed1d views:Vector users:Vector = stories.StoryViews; -inputReplyToMessage#73ec805 flags:# reply_to_msg_id:int top_msg_id:flags.0?int reply_to_peer_id:flags.1?InputPeer quote_text:flags.2?string quote_entities:flags.3?Vector = InputReplyTo; -inputReplyToStory#15b0f283 user_id:InputUser story_id:int = InputReplyTo; +inputReplyToMessage#22c0f6d5 flags:# reply_to_msg_id:int top_msg_id:flags.0?int reply_to_peer_id:flags.1?InputPeer quote_text:flags.2?string quote_entities:flags.3?Vector quote_offset:flags.4?int = InputReplyTo; +inputReplyToStory#5881323a peer:InputPeer story_id:int = InputReplyTo; exportedStoryLink#3fc9053b link:string = ExportedStoryLink; storiesStealthMode#712e27fd flags:# active_until_date:flags.0?int cooldown_until_date:flags.1?int = StoriesStealthMode; mediaAreaCoordinates#3d1ea4e x:double y:double w:double h:double rotation:double = MediaAreaCoordinates; @@ -1157,11 +1172,13 @@ mediaAreaVenue#be82db9c coordinates:MediaAreaCoordinates geo:GeoPoint title:stri inputMediaAreaVenue#b282217f coordinates:MediaAreaCoordinates query_id:long result_id:string = MediaArea; mediaAreaGeoPoint#df8b3b22 coordinates:MediaAreaCoordinates geo:GeoPoint = MediaArea; mediaAreaSuggestedReaction#14455871 flags:# dark:flags.0?true flipped:flags.1?true coordinates:MediaAreaCoordinates reaction:Reaction = MediaArea; +mediaAreaChannelPost#770416af coordinates:MediaAreaCoordinates channel_id:long msg_id:int = MediaArea; +inputMediaAreaChannelPost#2271f2bf coordinates:MediaAreaCoordinates channel:InputChannel msg_id:int = MediaArea; peerStories#9a35e999 flags:# peer:Peer max_read_id:flags.0?int stories:Vector = PeerStories; stories.peerStories#cae68768 stories:PeerStories chats:Vector users:Vector = stories.PeerStories; messages.webPage#fd5e12bd webpage:WebPage chats:Vector users:Vector = messages.WebPage; premiumGiftCodeOption#257e962b flags:# users:int months:int store_product:flags.0?string store_quantity:flags.1?int currency:string amount:long = PremiumGiftCodeOption; -payments.checkedGiftCode#b722f158 flags:# via_giveaway:flags.2?true from_id:Peer giveaway_msg_id:flags.3?int to_id:flags.0?long date:int months:int used_date:flags.1?int chats:Vector users:Vector = payments.CheckedGiftCode; +payments.checkedGiftCode#284a1096 flags:# via_giveaway:flags.2?true from_id:flags.4?Peer giveaway_msg_id:flags.3?int to_id:flags.0?long date:int months:int used_date:flags.1?int chats:Vector users:Vector = payments.CheckedGiftCode; payments.giveawayInfo#4367daa0 flags:# participating:flags.0?true preparing_results:flags.3?true start_date:int joined_too_early_date:flags.1?int admin_disallowed_chat_id:flags.2?long disallowed_country:flags.4?string = payments.GiveawayInfo; payments.giveawayInfoResults#cd5570 flags:# winner:flags.0?true refunded:flags.1?true start_date:int gift_code_slug:flags.0?string finish_date:int winners_count:int activated_count:int = payments.GiveawayInfo; prepaidGiveaway#b2539d54 id:long months:int quantity:int date:int = PrepaidGiveaway; @@ -1170,6 +1187,31 @@ premium.boostsList#86f8613c flags:# count:int boosts:Vector next_offset:f myBoost#c448415c flags:# slot:int peer:flags.0?Peer date:int expires:int cooldown_until_date:flags.1?int = MyBoost; premium.myBoosts#9ae228e2 my_boosts:Vector chats:Vector users:Vector = premium.MyBoosts; premium.boostsStatus#4959427a flags:# my_boost:flags.2?true level:int current_level_boosts:int boosts:int gift_boosts:flags.4?int next_level_boosts:flags.0?int premium_audience:flags.1?StatsPercentValue boost_url:string prepaid_giveaways:flags.3?Vector my_boost_slots:flags.2?Vector = premium.BoostsStatus; +storyFwdHeader#b826e150 flags:# modified:flags.3?true from:flags.0?Peer from_name:flags.1?string story_id:flags.2?int = StoryFwdHeader; +postInteractionCountersMessage#e7058e7f msg_id:int views:int forwards:int reactions:int = PostInteractionCounters; +postInteractionCountersStory#8a480e27 story_id:int views:int forwards:int reactions:int = PostInteractionCounters; +stats.storyStats#50cd067c views_graph:StatsGraph reactions_by_emotion_graph:StatsGraph = stats.StoryStats; +publicForwardMessage#1f2bf4a message:Message = PublicForward; +publicForwardStory#edf3add0 peer:Peer story:StoryItem = PublicForward; +stats.publicForwards#93037e20 flags:# count:int forwards:Vector next_offset:flags.0?string chats:Vector users:Vector = stats.PublicForwards; +peerColor#b54b5acf flags:# color:flags.0?int background_emoji_id:flags.1?long = PeerColor; +help.peerColorSet#26219a58 colors:Vector = help.PeerColorSet; +help.peerColorProfileSet#767d61eb palette_colors:Vector bg_colors:Vector story_colors:Vector = help.PeerColorSet; +help.peerColorOption#adec6ebe flags:# hidden:flags.0?true color_id:int colors:flags.1?help.PeerColorSet dark_colors:flags.2?help.PeerColorSet channel_min_level:flags.3?int group_min_level:flags.4?int = help.PeerColorOption; +help.peerColorsNotModified#2ba1f5ce = help.PeerColors; +help.peerColors#f8ed08 hash:int colors:Vector = help.PeerColors; +storyReaction#6090d6d5 peer_id:Peer date:int reaction:Reaction = StoryReaction; +storyReactionPublicForward#bbab2643 message:Message = StoryReaction; +storyReactionPublicRepost#cfcd0f13 peer_id:Peer story:StoryItem = StoryReaction; +stories.storyReactionsList#aa5f789c flags:# count:int reactions:Vector chats:Vector users:Vector next_offset:flags.0?string = stories.StoryReactionsList; +savedDialog#bd87cb6c flags:# pinned:flags.2?true peer:Peer top_message:int = SavedDialog; +messages.savedDialogs#f83ae221 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.SavedDialogs; +messages.savedDialogsSlice#44ba9dd9 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.SavedDialogs; +messages.savedDialogsNotModified#c01f6fe8 count:int = messages.SavedDialogs; +savedReactionTag#cb6ff828 flags:# reaction:Reaction title:flags.0?string count:int = SavedReactionTag; +messages.savedReactionTagsNotModified#889b59ef = messages.SavedReactionTags; +messages.savedReactionTags#3259950a tags:Vector hash:long = messages.SavedReactionTags; +outboxReadDate#3bb842ac date:int = OutboxReadDate; ---functions--- invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector query:!X = X; @@ -1179,7 +1221,7 @@ invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X; invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; -auth.signUp#80eee427 phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization; +auth.signUp#aac7b717 flags:# no_joined_notifications:flags.0?true phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization; auth.signIn#8d52a951 flags:# phone_number:string phone_code_hash:string phone_code:flags.0?string email_verification:flags.1?EmailVerification = auth.Authorization; auth.logOut#3e72ba19 = auth.LoggedOut; auth.resetAuthorizations#9fab0d1a = Bool; @@ -1288,11 +1330,14 @@ account.getAutoSaveSettings#adcbbcda = account.AutoSaveSettings; account.saveAutoSaveSettings#d69b8361 flags:# users:flags.0?true chats:flags.1?true broadcasts:flags.2?true peer:flags.3?InputPeer settings:AutoSaveSettings = Bool; account.deleteAutoSaveExceptions#53bc0020 = Bool; account.invalidateSignInCodes#ca8ae8ba codes:Vector = Bool; -account.updateColor#a001cc43 flags:# color:int background_emoji_id:flags.0?long = Bool; +account.updateColor#7cefa15d flags:# for_profile:flags.1?true color:flags.2?int background_emoji_id:flags.0?long = Bool; account.getDefaultBackgroundEmojis#a60ab9ce hash:long = EmojiList; +account.getChannelDefaultEmojiStatuses#7727a7d5 hash:long = account.EmojiStatuses; +account.getChannelRestrictedStatusEmojis#35a9e0d5 hash:long = EmojiList; users.getUsers#d91a548 id:Vector = Vector; users.getFullUser#b60f5918 id:InputUser = users.UserFull; users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; +users.getIsPremiumRequiredToContact#a622aa10 id:Vector = Vector; contacts.getContactIDs#7adc669d hash:long = Vector; contacts.getStatuses#c4a353ee = Vector; contacts.getContacts#5dd69e12 hash:long = contacts.Contacts; @@ -1321,7 +1366,7 @@ contacts.setBlocked#94c65c76 flags:# my_stories_from:flags.0?true id:Vector = messages.Messages; messages.getDialogs#a0f4cb4f flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.Dialogs; messages.getHistory#4423e6c5 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages; -messages.search#a0fda762 flags:# peer:InputPeer q:string from_id:flags.0?InputPeer top_msg_id:flags.1?int filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages; +messages.search#29ee847a flags:# peer:InputPeer q:string from_id:flags.0?InputPeer saved_peer_id:flags.2?InputPeer saved_reaction:flags.3?Vector top_msg_id:flags.1?int filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages; messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; messages.deleteHistory#b08f922a flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory; messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; @@ -1424,7 +1469,7 @@ messages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference; messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference; messages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector = Vector; messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL; -messages.getSearchCounters#ae7cc1 flags:# peer:InputPeer top_msg_id:flags.0?int filters:Vector = Vector; +messages.getSearchCounters#1bbcf300 flags:# peer:InputPeer saved_peer_id:flags.2?InputPeer top_msg_id:flags.0?int filters:Vector = Vector; messages.requestUrlAuth#198fb446 flags:# peer:flags.1?InputPeer msg_id:flags.1?int button_id:flags.1?int url:flags.2?string = UrlAuthResult; messages.acceptUrlAuth#b12c7125 flags:# write_allowed:flags.0?true peer:flags.1?InputPeer msg_id:flags.1?int button_id:flags.1?int url:flags.2?string = UrlAuthResult; messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool; @@ -1460,8 +1505,8 @@ messages.setHistoryTTL#b80e5fe4 peer:InputPeer period:int = Updates; messages.checkHistoryImportPeer#5dc60f03 peer:InputPeer = messages.CheckedHistoryImportPeer; messages.setChatTheme#e63be13f peer:InputPeer emoticon:string = Updates; messages.getMessageReadParticipants#31c1c44f peer:InputPeer msg_id:int = Vector; -messages.getSearchResultsCalendar#49f0bde9 peer:InputPeer filter:MessagesFilter offset_id:int offset_date:int = messages.SearchResultsCalendar; -messages.getSearchResultsPositions#6e9583a3 peer:InputPeer filter:MessagesFilter offset_id:int limit:int = messages.SearchResultsPositions; +messages.getSearchResultsCalendar#6aa3f6bd flags:# peer:InputPeer saved_peer_id:flags.2?InputPeer filter:MessagesFilter offset_id:int offset_date:int = messages.SearchResultsCalendar; +messages.getSearchResultsPositions#9c7f2f10 flags:# peer:InputPeer saved_peer_id:flags.2?InputPeer filter:MessagesFilter offset_id:int limit:int = messages.SearchResultsPositions; messages.hideChatJoinRequest#7fe7e815 flags:# approved:flags.0?true peer:InputPeer user_id:InputUser = Updates; messages.hideAllChatJoinRequests#e085f4ea flags:# approved:flags.0?true peer:InputPeer link:flags.1?string = Updates; messages.toggleNoForwards#b11eafa2 peer:InputPeer enabled:Bool = Updates; @@ -1496,7 +1541,7 @@ messages.clearRecentReactions#9dfeefb4 = Bool; messages.getExtendedMedia#84f80814 peer:InputPeer id:Vector = Updates; messages.setDefaultHistoryTTL#9eb51445 period:int = Bool; messages.getDefaultHistoryTTL#658b7188 = DefaultHistoryTTL; -messages.sendBotRequestedPeer#fe38d01b peer:InputPeer msg_id:int button_id:int requested_peer:InputPeer = Updates; +messages.sendBotRequestedPeer#91b2d060 peer:InputPeer msg_id:int button_id:int requested_peers:Vector = Updates; messages.getEmojiGroups#7488ce5b hash:int = messages.EmojiGroups; messages.getEmojiStatusGroups#2ecd56cd hash:int = messages.EmojiGroups; messages.getEmojiProfilePhotoGroups#21a548f3 hash:int = messages.EmojiGroups; @@ -1504,7 +1549,18 @@ messages.searchCustomEmoji#2c11c0d7 emoticon:string hash:long = EmojiList; messages.togglePeerTranslations#e47cb579 flags:# disabled:flags.0?true peer:InputPeer = Bool; messages.getBotApp#34fdc5c3 app:InputBotApp hash:long = messages.BotApp; messages.requestAppWebView#8c5a3b3c flags:# write_allowed:flags.0?true peer:InputPeer app:InputBotApp start_param:flags.1?string theme_params:flags.2?DataJSON platform:string = AppWebViewResult; -messages.setChatWallPaper#8ffacae1 flags:# peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = Updates; +messages.setChatWallPaper#8ffacae1 flags:# for_both:flags.3?true revert:flags.4?true peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = Updates; +messages.searchEmojiStickerSets#92b4494c flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets; +messages.getSavedDialogs#5381d21a flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs; +messages.getSavedHistory#3d9a414d peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages; +messages.deleteSavedHistory#6e98102b flags:# peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory; +messages.getPinnedSavedDialogs#d63d94e0 = messages.SavedDialogs; +messages.toggleSavedDialogPin#ac81bbde flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; +messages.reorderPinnedSavedDialogs#8b716587 flags:# force:flags.0?true order:Vector = Bool; +messages.getSavedReactionTags#3637e05b flags:# peer:flags.0?InputPeer hash:long = messages.SavedReactionTags; +messages.updateSavedReactionTag#60297dec flags:# reaction:Reaction title:flags.0?string = Bool; +messages.getDefaultTagReactions#bdf93428 hash:long = messages.Reactions; +messages.getOutboxReadDate#8c4bfe5d peer:InputPeer msg_id:int = OutboxReadDate; updates.getState#edd4882a = updates.State; updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference; updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference; @@ -1526,7 +1582,6 @@ help.getNearestDc#1fb33026 = NearestDc; help.getAppUpdate#522d5a7d source:string = help.AppUpdate; help.getInviteText#4d392343 = help.InviteText; help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; help.getCdnConfig#52029342 = CdnConfig; help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; @@ -1544,6 +1599,8 @@ help.hidePromoData#1e251c95 peer:InputPeer = Bool; help.dismissSuggestion#f50dbaa1 peer:InputPeer suggestion:string = Bool; help.getCountriesList#735787a8 lang_code:string hash:int = help.CountriesList; help.getPremiumPromo#b81b93d4 = help.PremiumPromo; +help.getPeerColors#da80f42f hash:int = help.PeerColors; +help.getPeerProfileColors#abcfa9fd hash:int = help.PeerColors; channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; channels.reportSpam#f44a8315 channel:InputChannel participant:InputPeer id:Vector = Bool; @@ -1600,7 +1657,12 @@ channels.toggleAntiSpam#68f3e4eb channel:InputChannel enabled:Bool = Updates; channels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int = Bool; channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates; channels.clickSponsoredMessage#18afbc93 channel:InputChannel random_id:bytes = Bool; -channels.updateColor#621a201f flags:# channel:InputChannel color:int background_emoji_id:flags.0?long = Updates; +channels.updateColor#d8aa3671 flags:# for_profile:flags.1?true channel:InputChannel color:flags.2?int background_emoji_id:flags.0?long = Updates; +channels.toggleViewForumAsMessages#9738bb15 channel:InputChannel enabled:Bool = Updates; +channels.getChannelRecommendations#83b70d97 channel:InputChannel = messages.Chats; +channels.updateEmojiStatus#f0d3e6a8 channel:InputChannel emoji_status:EmojiStatus = Updates; +channels.setBoostsToUnblockRestrictions#ad399cee channel:InputChannel boosts:int = Updates; +channels.setEmojiStickers#3cd930b7 channel:InputChannel stickerset:InputStickerSet = Bool; bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; bots.setBotCommands#517165a scope:BotCommandScope lang_code:string commands:Vector = Bool; @@ -1683,8 +1745,10 @@ folders.editPeerFolders#6847d0ab folder_peers:Vector = Updates; stats.getBroadcastStats#ab42441a flags:# dark:flags.0?true channel:InputChannel = stats.BroadcastStats; stats.loadAsyncGraph#621d5fa0 flags:# token:string x:flags.0?long = StatsGraph; stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel = stats.MegagroupStats; -stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; +stats.getMessagePublicForwards#5f150144 channel:InputChannel msg_id:int offset:string limit:int = stats.PublicForwards; stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats; +stats.getStoryStats#374fef40 flags:# dark:flags.0?true peer:InputPeer id:int = stats.StoryStats; +stats.getStoryPublicForwards#a6437ef6 peer:InputPeer id:int offset:string limit:int = stats.PublicForwards; chatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector = chatlists.ExportedChatlistInvite; chatlists.deleteExportedInvite#719c5c5e chatlist:InputChatlist slug:string = Bool; chatlists.editExportedInvite#653db63d flags:# chatlist:InputChatlist slug:string title:flags.1?string peers:flags.2?Vector = ExportedChatlistInvite; @@ -1697,7 +1761,7 @@ chatlists.hideChatlistUpdates#66e486fb chatlist:InputChatlist = Bool; chatlists.getLeaveChatlistSuggestions#fdbcd714 chatlist:InputChatlist = Vector; chatlists.leaveChatlist#74fae13a chatlist:InputChatlist peers:Vector = Updates; stories.canSendStory#c7dfdfdd peer:InputPeer = Bool; -stories.sendStory#bcb73644 flags:# pinned:flags.2?true noforwards:flags.4?true peer:InputPeer media:InputMedia media_areas:flags.5?Vector caption:flags.0?string entities:flags.1?Vector privacy_rules:Vector random_id:long period:flags.3?int = Updates; +stories.sendStory#e4e6694b flags:# pinned:flags.2?true noforwards:flags.4?true fwd_modified:flags.7?true peer:InputPeer media:InputMedia media_areas:flags.5?Vector caption:flags.0?string entities:flags.1?Vector privacy_rules:Vector random_id:long period:flags.3?int fwd_from_id:flags.6?InputPeer fwd_from_story:flags.6?int = Updates; stories.editStory#b583ba46 flags:# peer:InputPeer id:int media:flags.0?InputMedia media_areas:flags.3?Vector caption:flags.1?string entities:flags.1?Vector privacy_rules:flags.2?Vector = Updates; stories.deleteStories#ae59db5f peer:InputPeer id:Vector = Vector; stories.togglePinned#9a75a1ef peer:InputPeer id:Vector pinned:Bool = Vector; @@ -1708,7 +1772,7 @@ stories.getStoriesByID#5774ca74 peer:InputPeer id:Vector = stories.Stories; stories.toggleAllStoriesHidden#7c2557c4 hidden:Bool = Bool; stories.readStories#a556dac8 peer:InputPeer max_id:int = Vector; stories.incrementStoryViews#b2028afb peer:InputPeer id:Vector = Bool; -stories.getStoryViewsList#7ed23c57 flags:# just_contacts:flags.0?true reactions_first:flags.2?true peer:InputPeer q:flags.1?string id:int offset:string limit:int = stories.StoryViewsList; +stories.getStoryViewsList#7ed23c57 flags:# just_contacts:flags.0?true reactions_first:flags.2?true forwards_first:flags.3?true peer:InputPeer q:flags.1?string id:int offset:string limit:int = stories.StoryViewsList; stories.getStoriesViews#28e16cc8 peer:InputPeer id:Vector = stories.StoryViews; stories.exportStoryLink#7b8def20 peer:InputPeer id:int = ExportedStoryLink; stories.report#1923fa8c peer:InputPeer id:Vector reason:ReportReason message:string = Bool; @@ -1719,8 +1783,10 @@ stories.getAllReadPeerStories#9b5ae7f9 = Updates; stories.getPeerMaxIDs#535983c3 id:Vector = Vector; stories.getChatsToSend#a56a8b60 = messages.Chats; stories.togglePeerStoriesHidden#bd0415c4 peer:InputPeer hidden:Bool = Bool; +stories.getStoryReactionsList#b9b2881f flags:# forwards_first:flags.2?true peer:InputPeer id:int reaction:flags.0?Reaction offset:flags.1?string limit:int = stories.StoryReactionsList; premium.getBoostsList#60f67660 flags:# gifts:flags.0?true peer:InputPeer offset:string limit:int = premium.BoostsList; premium.getMyBoosts#be77b4a = premium.MyBoosts; premium.applyBoost#6b7da746 flags:# slots:flags.0?Vector peer:InputPeer = premium.MyBoosts; premium.getBoostsStatus#42f1f61 peer:InputPeer = premium.BoostsStatus; +premium.getUserBoosts#39854d1f peer:InputPeer user_id:InputUser = premium.BoostsList; `; diff --git a/gramjs/tl/custom/draft.ts b/gramjs/tl/custom/draft.ts index 6dc26595..3459bf24 100644 --- a/gramjs/tl/custom/draft.ts +++ b/gramjs/tl/custom/draft.ts @@ -42,9 +42,9 @@ export class Draft { : draft.message; this._rawText = draft.message; this.date = draft.date; - const replyTo = draft.replyTo - if (replyTo != undefined){ - if ("replyToMsgId" in replyTo){ + const replyTo = draft.replyTo; + if (replyTo != undefined) { + if ("replyToMsgId" in replyTo) { this.replyToMsgId = replyTo.replyToMsgId; } } diff --git a/gramjs/tl/static/api.tl b/gramjs/tl/static/api.tl index 22c0db14..1f17c1a7 100644 --- a/gramjs/tl/static/api.tl +++ b/gramjs/tl/static/api.tl @@ -82,7 +82,7 @@ storage.fileMp4#b3cea0e4 = storage.FileType; storage.fileWebp#1081464c = storage.FileType; userEmpty#d3bc4b7a id:long = User; -user#eb602f25 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true premium:flags.28?true attach_menu_enabled:flags.29?true flags2:# bot_can_edit:flags2.1?true close_friend:flags2.2?true stories_hidden:flags2.3?true stories_unavailable:flags2.4?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector bot_inline_placeholder:flags.19?string lang_code:flags.22?string emoji_status:flags.30?EmojiStatus usernames:flags2.0?Vector stories_max_id:flags2.5?int color:flags2.7?int background_emoji_id:flags2.6?long = User; +user#215c4438 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true premium:flags.28?true attach_menu_enabled:flags.29?true flags2:# bot_can_edit:flags2.1?true close_friend:flags2.2?true stories_hidden:flags2.3?true stories_unavailable:flags2.4?true contact_require_premium:flags2.10?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector bot_inline_placeholder:flags.19?string lang_code:flags.22?string emoji_status:flags.30?EmojiStatus usernames:flags2.0?Vector stories_max_id:flags2.5?int color:flags2.8?PeerColor profile_color:flags2.9?PeerColor = User; userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; userProfilePhoto#82d1f706 flags:# has_video:flags.0?true personal:flags.2?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = UserProfilePhoto; @@ -90,18 +90,18 @@ userProfilePhoto#82d1f706 flags:# has_video:flags.0?true personal:flags.2?true p userStatusEmpty#9d05049 = UserStatus; userStatusOnline#edb93949 expires:int = UserStatus; userStatusOffline#8c703f was_online:int = UserStatus; -userStatusRecently#e26f42f1 = UserStatus; -userStatusLastWeek#7bf09fc = UserStatus; -userStatusLastMonth#77ebc742 = UserStatus; +userStatusRecently#7b197dc8 flags:# by_me:flags.0?true = UserStatus; +userStatusLastWeek#541a1d1a flags:# by_me:flags.0?true = UserStatus; +userStatusLastMonth#65899777 flags:# by_me:flags.0?true = UserStatus; chatEmpty#29562865 id:long = Chat; chat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; chatForbidden#6592a1a7 id:long title:string = Chat; -channel#1981ea7e flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector stories_max_id:flags2.4?int color:flags2.6?int background_emoji_id:flags2.5?long = Chat; +channel#aadfc8f flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector stories_max_id:flags2.4?int color:flags2.7?PeerColor profile_color:flags2.8?PeerColor emoji_status:flags2.9?EmojiStatus level:flags2.10?int = Chat; channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat; chatFull#c9d31138 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true translations_disabled:flags.19?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector available_reactions:flags.18?ChatReactions = ChatFull; -channelFull#723027bd flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions stories:flags2.4?PeerStories = ChatFull; +channelFull#44c054a7 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true view_forum_as_messages:flags2.6?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions stories:flags2.4?PeerStories wallpaper:flags2.7?WallPaper boosts_applied:flags2.8?int boosts_unrestrict:flags2.9?int emojiset:flags2.10?StickerSet = ChatFull; chatParticipant#c02d4007 user_id:long inviter_id:long date:int = ChatParticipant; chatParticipantCreator#e46bcee4 user_id:long = ChatParticipant; @@ -114,7 +114,7 @@ chatPhotoEmpty#37c1011c = ChatPhoto; chatPhoto#1c6e1c11 flags:# has_video:flags.0?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = ChatPhoto; messageEmpty#90a6ca84 flags:# id:int peer_id:flags.0?Peer = Message; -message#38116ee0 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true invert_media:flags.27?true id:int from_id:flags.8?Peer peer_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector ttl_period:flags.25?int = Message; +message#1e4c8a69 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true invert_media:flags.27?true id:int from_id:flags.8?Peer from_boosts_applied:flags.29?int peer_id:Peer saved_peer_id:flags.28?Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector ttl_period:flags.25?int = Message; messageService#2b085862 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?Peer peer_id:Peer reply_to:flags.3?MessageReplyHeader date:int action:MessageAction ttl_period:flags.25?int = Message; messageMediaEmpty#3ded6320 = MessageMedia; @@ -122,7 +122,7 @@ messageMediaPhoto#695150d7 flags:# spoiler:flags.3?true photo:flags.0?Photo ttl_ messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; messageMediaContact#70322949 phone_number:string first_name:string last_name:string vcard:string user_id:long = MessageMedia; messageMediaUnsupported#9f84f49e = MessageMedia; -messageMediaDocument#4cf4d72d flags:# nopremium:flags.3?true spoiler:flags.4?true document:flags.0?Document alt_document:flags.5?Document ttl_seconds:flags.2?int = MessageMedia; +messageMediaDocument#4cf4d72d flags:# nopremium:flags.3?true spoiler:flags.4?true video:flags.6?true round:flags.7?true voice:flags.8?true document:flags.0?Document alt_document:flags.5?Document ttl_seconds:flags.2?int = MessageMedia; messageMediaWebPage#ddf10c3b flags:# force_large_media:flags.0?true force_small_media:flags.1?true manual:flags.3?true safe:flags.4?true webpage:WebPage = MessageMedia; messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia; messageMediaGame#fdb19008 game:Game = MessageMedia; @@ -131,7 +131,8 @@ messageMediaGeoLive#b940c666 flags:# geo:GeoPoint heading:flags.0?int period:int messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia; messageMediaDice#3f7ee58b value:int emoticon:string = MessageMedia; messageMediaStory#68cb6283 flags:# via_mention:flags.1?true peer:Peer id:int story:flags.0?StoryItem = MessageMedia; -messageMediaGiveaway#58260664 flags:# only_new_subscribers:flags.0?true channels:Vector countries_iso2:flags.1?Vector quantity:int months:int until_date:int = MessageMedia; +messageMediaGiveaway#daad85b0 flags:# only_new_subscribers:flags.0?true winners_are_visible:flags.2?true channels:Vector countries_iso2:flags.1?Vector prize_description:flags.3?string quantity:int months:int until_date:int = MessageMedia; +messageMediaGiveawayResults#c6991068 flags:# only_new_subscribers:flags.0?true refunded:flags.2?true channel_id:long additional_peers_count:flags.3?int launch_msg_id:int winners_count:int unclaimed_count:int winners:Vector months:int prize_description:flags.1?string until_date:int = MessageMedia; messageActionEmpty#b6aef7b0 = MessageAction; messageActionChatCreate#bd47cbad title:string users:Vector = MessageAction; @@ -169,13 +170,14 @@ messageActionGiftPremium#c83d6aec flags:# currency:string amount:long months:int messageActionTopicCreate#d999256 flags:# title:string icon_color:int icon_emoji_id:flags.0?long = MessageAction; messageActionTopicEdit#c0944820 flags:# title:flags.0?string icon_emoji_id:flags.1?long closed:flags.2?Bool hidden:flags.3?Bool = MessageAction; messageActionSuggestProfilePhoto#57de635e photo:Photo = MessageAction; -messageActionRequestedPeer#fe77345d button_id:int peer:Peer = MessageAction; -messageActionSetChatWallPaper#bc44a927 wallpaper:WallPaper = MessageAction; -messageActionSetSameChatWallPaper#c0787d6d wallpaper:WallPaper = MessageAction; -messageActionGiftCode#d2cfdb0e flags:# via_giveaway:flags.0?true unclaimed:flags.2?true boost_peer:flags.1?Peer months:int slug:string = MessageAction; +messageActionRequestedPeer#31518e9b button_id:int peers:Vector = MessageAction; +messageActionSetChatWallPaper#5060a3f4 flags:# same:flags.0?true for_both:flags.1?true wallpaper:WallPaper = MessageAction; +messageActionGiftCode#678c2e09 flags:# via_giveaway:flags.0?true unclaimed:flags.2?true boost_peer:flags.1?Peer months:int slug:string currency:flags.2?string amount:flags.2?long crypto_currency:flags.3?string crypto_amount:flags.3?long = MessageAction; messageActionGiveawayLaunch#332ba9ed = MessageAction; +messageActionGiveawayResults#2a9fadc5 winners_count:int unclaimed_count:int = MessageAction; +messageActionBoostApply#cc02aa6d boosts:int = MessageAction; -dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog; +dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true view_forum_as_messages:flags.6?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog; dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog; photoEmpty#2331b22d id:long = Photo; @@ -225,7 +227,7 @@ inputReportReasonFake#f5ddd6e7 = ReportReason; inputReportReasonIllegalDrugs#a8eb2be = ReportReason; inputReportReasonPersonalDetails#9ec7863d = ReportReason; -userFull#b9b12c6c 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 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 premium_gifts:flags.19?Vector wallpaper:flags.24?WallPaper stories:flags.25?PeerStories = UserFull; +userFull#b9b12c6c 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 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 premium_gifts:flags.19?Vector wallpaper:flags.24?WallPaper stories:flags.25?PeerStories = UserFull; contact#145ade0b user_id:long mutual:Bool = Contact; @@ -392,6 +394,14 @@ updateReadStories#f74e932b peer:Peer max_id:int = Update; updateStoryID#1bf335b9 id:int random_id:long = Update; updateStoriesStealthMode#2c084dc1 stealth_mode:StoriesStealthMode = Update; updateSentStoryReaction#7d627683 peer:Peer story_id:int reaction:Reaction = Update; +updateBotChatBoost#904dd49c peer:Peer boost:Boost qts:int = Update; +updateChannelViewForumAsMessages#7b68920 channel_id:long enabled:Bool = Update; +updatePeerWallpaper#ae3f101d flags:# wallpaper_overridden:flags.1?true peer:Peer wallpaper:flags.0?WallPaper = Update; +updateBotMessageReaction#ac21d3ce peer:Peer msg_id:int date:int actor:Peer old_reactions:Vector new_reactions:Vector qts:int = Update; +updateBotMessageReactions#9cb7759 peer:Peer msg_id:int date:int reactions:Vector qts:int = Update; +updateSavedDialogPinned#aeaf9e74 flags:# pinned:flags.0?true peer:DialogPeer = Update; +updatePinnedSavedDialogs#686c85a6 flags:# order:flags.0?Vector = Update; +updateSavedReactionTags#39c67432 = Update; updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; @@ -588,8 +598,9 @@ inputStickerSetPremiumGifts#c88b3b02 = InputStickerSet; inputStickerSetEmojiGenericAnimations#4c4d4ce = InputStickerSet; inputStickerSetEmojiDefaultStatuses#29d0f5ee = InputStickerSet; inputStickerSetEmojiDefaultTopicIcons#44c1f8e9 = InputStickerSet; +inputStickerSetEmojiChannelDefaultStatuses#49748553 = InputStickerSet; -stickerSet#2dd14edc flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true videos:flags.6?true emojis:flags.7?true text_color:flags.9?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector thumb_dc_id:flags.4?int thumb_version:flags.4?int thumb_document_id:flags.8?long count:int hash:int = StickerSet; +stickerSet#2dd14edc flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true videos:flags.6?true emojis:flags.7?true text_color:flags.9?true channel_emoji_status:flags.10?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector thumb_dc_id:flags.4?int thumb_version:flags.4?int thumb_document_id:flags.8?long count:int hash:int = StickerSet; messages.stickerSet#6e153f16 set:StickerSet packs:Vector keywords:Vector documents:Vector = messages.StickerSet; messages.stickerSetNotModified#d3f924eb = messages.StickerSet; @@ -613,7 +624,7 @@ inputKeyboardButtonUserProfile#e988037b text:string user_id:InputUser = Keyboard keyboardButtonUserProfile#308660c1 text:string user_id:long = KeyboardButton; keyboardButtonWebView#13767230 text:string url:string = KeyboardButton; keyboardButtonSimpleWebView#a0c0505c text:string url:string = KeyboardButton; -keyboardButtonRequestPeer#d0b468c text:string button_id:int peer_type:RequestPeerType = KeyboardButton; +keyboardButtonRequestPeer#53d7bfd8 text:string button_id:int peer_type:RequestPeerType max_quantity:int = KeyboardButton; keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; @@ -714,7 +725,7 @@ messages.botResults#e021f2f6 flags:# gallery:flags.0?true query_id:long next_off exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink; -messageFwdHeader#5f777dce flags:# imported:flags.7?true from_id:flags.0?Peer from_name:flags.5?string date:int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int psa_type:flags.6?string = MessageFwdHeader; +messageFwdHeader#4e4df4bb flags:# imported:flags.7?true saved_out:flags.11?true from_id:flags.0?Peer from_name:flags.5?string date:int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int saved_from_id:flags.8?Peer saved_from_name:flags.9?string saved_date:flags.10?int psa_type:flags.6?string = MessageFwdHeader; auth.codeTypeSms#72a3158c = auth.CodeType; auth.codeTypeCall#741cd3e3 = auth.CodeType; @@ -966,8 +977,11 @@ channelAdminLogEventActionEditTopic#f06fe208 prev_topic:ForumTopic new_topic:For channelAdminLogEventActionDeleteTopic#ae168909 topic:ForumTopic = ChannelAdminLogEventAction; channelAdminLogEventActionPinTopic#5d8d353b flags:# prev_topic:flags.0?ForumTopic new_topic:flags.1?ForumTopic = ChannelAdminLogEventAction; channelAdminLogEventActionToggleAntiSpam#64f36dfc new_value:Bool = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeColor#3c2b247b prev_value:int new_value:int = ChannelAdminLogEventAction; -channelAdminLogEventActionChangeBackgroundEmoji#445fc434 prev_value:long new_value:long = ChannelAdminLogEventAction; +channelAdminLogEventActionChangePeerColor#5796e780 prev_value:PeerColor new_value:PeerColor = ChannelAdminLogEventAction; +channelAdminLogEventActionChangeProfilePeerColor#5e477b25 prev_value:PeerColor new_value:PeerColor = ChannelAdminLogEventAction; +channelAdminLogEventActionChangeWallpaper#31bb5d52 prev_value:WallPaper new_value:WallPaper = ChannelAdminLogEventAction; +channelAdminLogEventActionChangeEmojiStatus#3ea9feb1 prev_value:EmojiStatus new_value:EmojiStatus = ChannelAdminLogEventAction; +channelAdminLogEventActionChangeEmojiStickerSet#46d840ab prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; channelAdminLogEvent#1fad68cd id:long date:int user_id:long action:ChannelAdminLogEventAction = ChannelAdminLogEvent; @@ -1144,7 +1158,7 @@ account.wallPapers#cdc3858c hash:long wallpapers:Vector = account.Wal codeSettings#ad253d78 flags:# allow_flashcall:flags.0?true current_number:flags.1?true allow_app_hash:flags.4?true allow_missed_call:flags.5?true allow_firebase:flags.7?true logout_tokens:flags.6?Vector token:flags.8?string app_sandbox:flags.8?Bool = CodeSettings; -wallPaperSettings#1dc1bca4 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int second_background_color:flags.4?int third_background_color:flags.5?int fourth_background_color:flags.6?int intensity:flags.3?int rotation:flags.4?int = WallPaperSettings; +wallPaperSettings#372efcd0 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int second_background_color:flags.4?int third_background_color:flags.5?int fourth_background_color:flags.6?int intensity:flags.3?int rotation:flags.4?int emoticon:flags.7?string = WallPaperSettings; autoDownloadSettings#baa57628 flags:# disabled:flags.0?true video_preload_large:flags.1?true audio_preload_next:flags.2?true phonecalls_less_data:flags.3?true stories_preload:flags.4?true photo_size_max:int video_size_max:long file_size_max:long video_upload_maxbitrate:int small_queue_active_operations_max:int large_queue_active_operations_max:int = AutoDownloadSettings; @@ -1230,9 +1244,7 @@ statsGraphAsync#4a27eb2d token:string = StatsGraph; statsGraphError#bedc9822 error:string = StatsGraph; statsGraph#8ea464b6 flags:# json:DataJSON zoom_token:flags.0?string = StatsGraph; -messageInteractionCounters#ad4fc9bd msg_id:int views:int forwards:int = MessageInteractionCounters; - -stats.broadcastStats#bdf78394 period:StatsDateRangeDays followers:StatsAbsValueAndPrev views_per_post:StatsAbsValueAndPrev shares_per_post:StatsAbsValueAndPrev enabled_notifications:StatsPercentValue growth_graph:StatsGraph followers_graph:StatsGraph mute_graph:StatsGraph top_hours_graph:StatsGraph interactions_graph:StatsGraph iv_interactions_graph:StatsGraph views_by_source_graph:StatsGraph new_followers_by_source_graph:StatsGraph languages_graph:StatsGraph recent_message_interactions:Vector = stats.BroadcastStats; +stats.broadcastStats#396ca5fc period:StatsDateRangeDays followers:StatsAbsValueAndPrev views_per_post:StatsAbsValueAndPrev shares_per_post:StatsAbsValueAndPrev reactions_per_post:StatsAbsValueAndPrev views_per_story:StatsAbsValueAndPrev shares_per_story:StatsAbsValueAndPrev reactions_per_story:StatsAbsValueAndPrev enabled_notifications:StatsPercentValue growth_graph:StatsGraph followers_graph:StatsGraph mute_graph:StatsGraph top_hours_graph:StatsGraph interactions_graph:StatsGraph iv_interactions_graph:StatsGraph views_by_source_graph:StatsGraph new_followers_by_source_graph:StatsGraph languages_graph:StatsGraph reactions_by_emotion_graph:StatsGraph story_interactions_graph:StatsGraph story_reactions_by_emotion_graph:StatsGraph recent_posts_interactions:Vector = stats.BroadcastStats; help.promoDataEmpty#98f6ac75 expires:int = help.PromoData; help.promoData#8c39793f flags:# proxy:flags.0?true expires:int peer:Peer chats:Vector users:Vector psa_type:flags.1?string psa_message:flags.2?string = help.PromoData; @@ -1249,7 +1261,7 @@ statsGroupTopInviter#535f779d user_id:long invitations:int = StatsGroupTopInvite stats.megagroupStats#ef7ff916 period:StatsDateRangeDays members:StatsAbsValueAndPrev messages:StatsAbsValueAndPrev viewers:StatsAbsValueAndPrev posters:StatsAbsValueAndPrev growth_graph:StatsGraph members_graph:StatsGraph new_members_by_source_graph:StatsGraph languages_graph:StatsGraph messages_graph:StatsGraph actions_graph:StatsGraph top_hours_graph:StatsGraph weekdays_graph:StatsGraph top_posters:Vector top_admins:Vector top_inviters:Vector users:Vector = stats.MegagroupStats; -globalPrivacySettings#734c4ccb flags:# archive_and_mute_new_noncontact_peers:flags.0?true keep_archived_unmuted:flags.1?true keep_archived_folders:flags.2?true = GlobalPrivacySettings; +globalPrivacySettings#734c4ccb flags:# archive_and_mute_new_noncontact_peers:flags.0?true keep_archived_unmuted:flags.1?true keep_archived_folders:flags.2?true hide_read_marks:flags.3?true new_noncontact_peers_require_premium:flags.4?true = GlobalPrivacySettings; help.countryCode#4203c5ef flags:# country_code:string prefixes:flags.0?Vector patterns:flags.1?Vector = help.CountryCode; @@ -1264,14 +1276,14 @@ messages.messageViews#b6c4f543 views:Vector chats:Vector use messages.discussionMessage#a6341782 flags:# messages:Vector max_id:flags.0?int read_inbox_max_id:flags.1?int read_outbox_max_id:flags.2?int unread_count:int chats:Vector users:Vector = messages.DiscussionMessage; -messageReplyHeader#6eebcabd flags:# reply_to_scheduled:flags.2?true forum_topic:flags.3?true quote:flags.9?true reply_to_msg_id:flags.4?int reply_to_peer_id:flags.0?Peer reply_from:flags.5?MessageFwdHeader reply_media:flags.8?MessageMedia reply_to_top_id:flags.1?int quote_text:flags.6?string quote_entities:flags.7?Vector = MessageReplyHeader; -messageReplyStoryHeader#9c98bfc1 user_id:long story_id:int = MessageReplyHeader; +messageReplyHeader#afbc09db flags:# reply_to_scheduled:flags.2?true forum_topic:flags.3?true quote:flags.9?true reply_to_msg_id:flags.4?int reply_to_peer_id:flags.0?Peer reply_from:flags.5?MessageFwdHeader reply_media:flags.8?MessageMedia reply_to_top_id:flags.1?int quote_text:flags.6?string quote_entities:flags.7?Vector quote_offset:flags.10?int = MessageReplyHeader; +messageReplyStoryHeader#e5af939 peer:Peer story_id:int = MessageReplyHeader; messageReplies#83d60fc2 flags:# comments:flags.0?true replies:int replies_pts:int recent_repliers:flags.1?Vector channel_id:flags.0?long max_id:flags.2?int read_max_id:flags.3?int = MessageReplies; peerBlocked#e8fd8014 peer_id:Peer date:int = PeerBlocked; -stats.messageStats#8999f295 views_graph:StatsGraph = stats.MessageStats; +stats.messageStats#7fe91c14 views_graph:StatsGraph reactions_by_emotion_graph:StatsGraph = stats.MessageStats; groupCallDiscarded#7780bcb4 id:long access_hash:long duration:int = GroupCall; groupCall#d597650c flags:# join_muted:flags.1?true can_change_join_muted:flags.2?true join_date_asc:flags.6?true schedule_start_subscribed:flags.8?true can_start_video:flags.9?true record_video_active:flags.11?true rtmp_stream:flags.12?true listeners_hidden:flags.13?true id:long access_hash:long participants_count:int title:flags.3?string stream_dc_id:flags.4?int record_start_date:flags.5?int schedule_date:flags.7?int unmuted_video_count:flags.10?int unmuted_video_limit:int version:int = GroupCall; @@ -1334,7 +1346,7 @@ account.resetPasswordFailedWait#e3779861 retry_date:int = account.ResetPasswordR account.resetPasswordRequestedWait#e9effc7d until_date:int = account.ResetPasswordResult; account.resetPasswordOk#e926d63e = account.ResetPasswordResult; -sponsoredMessage#daafff6b flags:# recommended:flags.5?true show_peer_photo:flags.6?true random_id:bytes from_id:flags.3?Peer chat_invite:flags.4?ChatInvite chat_invite_hash:flags.4?string channel_post:flags.2?int start_param:flags.0?string webpage:flags.9?SponsoredWebPage message:string entities:flags.1?Vector sponsor_info:flags.7?string additional_info:flags.8?string = SponsoredMessage; +sponsoredMessage#ed5383f7 flags:# recommended:flags.5?true show_peer_photo:flags.6?true random_id:bytes from_id:flags.3?Peer chat_invite:flags.4?ChatInvite chat_invite_hash:flags.4?string channel_post:flags.2?int start_param:flags.0?string webpage:flags.9?SponsoredWebPage app:flags.10?BotApp message:string entities:flags.1?Vector button_text:flags.11?string sponsor_info:flags.7?string additional_info:flags.8?string = SponsoredMessage; messages.sponsoredMessages#c9ee1d87 flags:# posts_between:flags.0?int messages:Vector chats:Vector users:Vector = messages.SponsoredMessages; messages.sponsoredMessagesEmpty#1839490f = messages.SponsoredMessages; @@ -1357,7 +1369,7 @@ auth.loggedOut#c3a2835f flags:# future_auth_token:flags.0?bytes = auth.LoggedOut reactionCount#a3d1cb80 flags:# chosen_order:flags.0?int reaction:Reaction count:int = ReactionCount; -messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true results:Vector recent_reactions:flags.1?Vector = MessageReactions; +messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true reactions_as_tags:flags.3?true results:Vector recent_reactions:flags.1?Vector = MessageReactions; messages.messageReactionsList#31bd492d flags:# count:int reactions:Vector chats:Vector users:Vector next_offset:flags.0?string = messages.MessageReactionsList; @@ -1418,14 +1430,14 @@ inputInvoicePremiumGiftCode#98986c0d purpose:InputStorePaymentPurpose option:Pre payments.exportedInvoice#aed0cbd9 url:string = payments.ExportedInvoice; -messages.transcribedAudio#93752c52 flags:# pending:flags.0?true transcription_id:long text:string = messages.TranscribedAudio; +messages.transcribedAudio#cfb9d957 flags:# pending:flags.0?true transcription_id:long text:string trial_remains_num:flags.1?int trial_remains_until_date:flags.1?int = messages.TranscribedAudio; help.premiumPromo#5334759c status_text:string status_entities:Vector video_sections:Vector videos:Vector period_options:Vector users:Vector = help.PremiumPromo; inputStorePaymentPremiumSubscription#a6751e66 flags:# restore:flags.0?true upgrade:flags.1?true = InputStorePaymentPurpose; inputStorePaymentGiftPremium#616f7fe8 user_id:InputUser currency:string amount:long = InputStorePaymentPurpose; inputStorePaymentPremiumGiftCode#a3805f3f flags:# users:Vector boost_peer:flags.0?InputPeer currency:string amount:long = InputStorePaymentPurpose; -inputStorePaymentPremiumGiveaway#7c9375e6 flags:# only_new_subscribers:flags.0?true boost_peer:InputPeer additional_peers:flags.1?Vector countries_iso2:flags.2?Vector random_id:long until_date:int currency:string amount:long = InputStorePaymentPurpose; +inputStorePaymentPremiumGiveaway#160544ca flags:# only_new_subscribers:flags.0?true winners_are_visible:flags.3?true boost_peer:InputPeer additional_peers:flags.1?Vector countries_iso2:flags.2?Vector prize_description:flags.4?string random_id:long until_date:int currency:string amount:long = InputStorePaymentPurpose; premiumGiftOption#74c34319 flags:# months:int currency:string amount:long bot_url:string store_product:flags.0?string = PremiumGiftOption; @@ -1544,7 +1556,7 @@ storyViews#8d595cd6 flags:# has_viewers:flags.1?true views_count:int forwards_co storyItemDeleted#51e6ee4f id:int = StoryItem; storyItemSkipped#ffadc913 flags:# close_friends:flags.8?true id:int date:int expire_date:int = StoryItem; -storyItem#44c457ce flags:# pinned:flags.5?true public:flags.7?true close_friends:flags.8?true min:flags.9?true noforwards:flags.10?true edited:flags.11?true contacts:flags.12?true selected_contacts:flags.13?true out:flags.16?true id:int date:int expire_date:int caption:flags.0?string entities:flags.1?Vector media:MessageMedia media_areas:flags.14?Vector privacy:flags.2?Vector views:flags.3?StoryViews sent_reaction:flags.15?Reaction = StoryItem; +storyItem#79b26a24 flags:# pinned:flags.5?true public:flags.7?true close_friends:flags.8?true min:flags.9?true noforwards:flags.10?true edited:flags.11?true contacts:flags.12?true selected_contacts:flags.13?true out:flags.16?true id:int date:int from_id:flags.18?Peer fwd_from:flags.17?StoryFwdHeader expire_date:int caption:flags.0?string entities:flags.1?Vector media:MessageMedia media_areas:flags.14?Vector privacy:flags.2?Vector views:flags.3?StoryViews sent_reaction:flags.15?Reaction = StoryItem; stories.allStoriesNotModified#1158fe3e flags:# state:string stealth_mode:StoriesStealthMode = stories.AllStories; stories.allStories#6efc5e81 flags:# has_more:flags.0?true count:int state:string peer_stories:Vector chats:Vector users:Vector stealth_mode:StoriesStealthMode = stories.AllStories; @@ -1552,13 +1564,15 @@ stories.allStories#6efc5e81 flags:# has_more:flags.0?true count:int state:string stories.stories#5dd8c3c8 count:int stories:Vector chats:Vector users:Vector = stories.Stories; storyView#b0bdeac5 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true user_id:long date:int reaction:flags.2?Reaction = StoryView; +storyViewPublicForward#9083670b flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true message:Message = StoryView; +storyViewPublicRepost#bd74cf49 flags:# blocked:flags.0?true blocked_my_stories_from:flags.1?true peer_id:Peer story:StoryItem = StoryView; -stories.storyViewsList#46e9b9ec flags:# count:int reactions_count:int views:Vector users:Vector next_offset:flags.0?string = stories.StoryViewsList; +stories.storyViewsList#59d78fc5 flags:# count:int views_count:int forwards_count:int reactions_count:int views:Vector chats:Vector users:Vector next_offset:flags.0?string = stories.StoryViewsList; stories.storyViews#de9eed1d views:Vector users:Vector = stories.StoryViews; -inputReplyToMessage#73ec805 flags:# reply_to_msg_id:int top_msg_id:flags.0?int reply_to_peer_id:flags.1?InputPeer quote_text:flags.2?string quote_entities:flags.3?Vector = InputReplyTo; -inputReplyToStory#15b0f283 user_id:InputUser story_id:int = InputReplyTo; +inputReplyToMessage#22c0f6d5 flags:# reply_to_msg_id:int top_msg_id:flags.0?int reply_to_peer_id:flags.1?InputPeer quote_text:flags.2?string quote_entities:flags.3?Vector quote_offset:flags.4?int = InputReplyTo; +inputReplyToStory#5881323a peer:InputPeer story_id:int = InputReplyTo; exportedStoryLink#3fc9053b link:string = ExportedStoryLink; @@ -1570,6 +1584,8 @@ mediaAreaVenue#be82db9c coordinates:MediaAreaCoordinates geo:GeoPoint title:stri inputMediaAreaVenue#b282217f coordinates:MediaAreaCoordinates query_id:long result_id:string = MediaArea; mediaAreaGeoPoint#df8b3b22 coordinates:MediaAreaCoordinates geo:GeoPoint = MediaArea; mediaAreaSuggestedReaction#14455871 flags:# dark:flags.0?true flipped:flags.1?true coordinates:MediaAreaCoordinates reaction:Reaction = MediaArea; +mediaAreaChannelPost#770416af coordinates:MediaAreaCoordinates channel_id:long msg_id:int = MediaArea; +inputMediaAreaChannelPost#2271f2bf coordinates:MediaAreaCoordinates channel:InputChannel msg_id:int = MediaArea; peerStories#9a35e999 flags:# peer:Peer max_read_id:flags.0?int stories:Vector = PeerStories; @@ -1579,7 +1595,7 @@ messages.webPage#fd5e12bd webpage:WebPage chats:Vector users:Vector premiumGiftCodeOption#257e962b flags:# users:int months:int store_product:flags.0?string store_quantity:flags.1?int currency:string amount:long = PremiumGiftCodeOption; -payments.checkedGiftCode#b722f158 flags:# via_giveaway:flags.2?true from_id:Peer giveaway_msg_id:flags.3?int to_id:flags.0?long date:int months:int used_date:flags.1?int chats:Vector users:Vector = payments.CheckedGiftCode; +payments.checkedGiftCode#284a1096 flags:# via_giveaway:flags.2?true from_id:flags.4?Peer giveaway_msg_id:flags.3?int to_id:flags.0?long date:int months:int used_date:flags.1?int chats:Vector users:Vector = payments.CheckedGiftCode; payments.giveawayInfo#4367daa0 flags:# participating:flags.0?true preparing_results:flags.3?true start_date:int joined_too_early_date:flags.1?int admin_disallowed_chat_id:flags.2?long disallowed_country:flags.4?string = payments.GiveawayInfo; payments.giveawayInfoResults#cd5570 flags:# winner:flags.0?true refunded:flags.1?true start_date:int gift_code_slug:flags.0?string finish_date:int winners_count:int activated_count:int = payments.GiveawayInfo; @@ -1596,6 +1612,47 @@ premium.myBoosts#9ae228e2 my_boosts:Vector chats:Vector users:Vec premium.boostsStatus#4959427a flags:# my_boost:flags.2?true level:int current_level_boosts:int boosts:int gift_boosts:flags.4?int next_level_boosts:flags.0?int premium_audience:flags.1?StatsPercentValue boost_url:string prepaid_giveaways:flags.3?Vector my_boost_slots:flags.2?Vector = premium.BoostsStatus; +storyFwdHeader#b826e150 flags:# modified:flags.3?true from:flags.0?Peer from_name:flags.1?string story_id:flags.2?int = StoryFwdHeader; + +postInteractionCountersMessage#e7058e7f msg_id:int views:int forwards:int reactions:int = PostInteractionCounters; +postInteractionCountersStory#8a480e27 story_id:int views:int forwards:int reactions:int = PostInteractionCounters; + +stats.storyStats#50cd067c views_graph:StatsGraph reactions_by_emotion_graph:StatsGraph = stats.StoryStats; + +publicForwardMessage#1f2bf4a message:Message = PublicForward; +publicForwardStory#edf3add0 peer:Peer story:StoryItem = PublicForward; + +stats.publicForwards#93037e20 flags:# count:int forwards:Vector next_offset:flags.0?string chats:Vector users:Vector = stats.PublicForwards; + +peerColor#b54b5acf flags:# color:flags.0?int background_emoji_id:flags.1?long = PeerColor; + +help.peerColorSet#26219a58 colors:Vector = help.PeerColorSet; +help.peerColorProfileSet#767d61eb palette_colors:Vector bg_colors:Vector story_colors:Vector = help.PeerColorSet; + +help.peerColorOption#adec6ebe flags:# hidden:flags.0?true color_id:int colors:flags.1?help.PeerColorSet dark_colors:flags.2?help.PeerColorSet channel_min_level:flags.3?int group_min_level:flags.4?int = help.PeerColorOption; + +help.peerColorsNotModified#2ba1f5ce = help.PeerColors; +help.peerColors#f8ed08 hash:int colors:Vector = help.PeerColors; + +storyReaction#6090d6d5 peer_id:Peer date:int reaction:Reaction = StoryReaction; +storyReactionPublicForward#bbab2643 message:Message = StoryReaction; +storyReactionPublicRepost#cfcd0f13 peer_id:Peer story:StoryItem = StoryReaction; + +stories.storyReactionsList#aa5f789c flags:# count:int reactions:Vector chats:Vector users:Vector next_offset:flags.0?string = stories.StoryReactionsList; + +savedDialog#bd87cb6c flags:# pinned:flags.2?true peer:Peer top_message:int = SavedDialog; + +messages.savedDialogs#f83ae221 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.SavedDialogs; +messages.savedDialogsSlice#44ba9dd9 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.SavedDialogs; +messages.savedDialogsNotModified#c01f6fe8 count:int = messages.SavedDialogs; + +savedReactionTag#cb6ff828 flags:# reaction:Reaction title:flags.0?string count:int = SavedReactionTag; + +messages.savedReactionTagsNotModified#889b59ef = messages.SavedReactionTags; +messages.savedReactionTags#3259950a tags:Vector hash:long = messages.SavedReactionTags; + +outboxReadDate#3bb842ac date:int = OutboxReadDate; + ---functions--- invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X; @@ -1607,7 +1664,7 @@ invokeWithMessagesRange#365275f2 {X:Type} range:MessageRange query:!X = X; invokeWithTakeout#aca9fd2e {X:Type} takeout_id:long query:!X = X; auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; -auth.signUp#80eee427 phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization; +auth.signUp#aac7b717 flags:# no_joined_notifications:flags.0?true phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization; auth.signIn#8d52a951 flags:# phone_number:string phone_code_hash:string phone_code:flags.0?string email_verification:flags.1?EmailVerification = auth.Authorization; auth.logOut#3e72ba19 = auth.LoggedOut; auth.resetAuthorizations#9fab0d1a = Bool; @@ -1717,12 +1774,15 @@ account.getAutoSaveSettings#adcbbcda = account.AutoSaveSettings; account.saveAutoSaveSettings#d69b8361 flags:# users:flags.0?true chats:flags.1?true broadcasts:flags.2?true peer:flags.3?InputPeer settings:AutoSaveSettings = Bool; account.deleteAutoSaveExceptions#53bc0020 = Bool; account.invalidateSignInCodes#ca8ae8ba codes:Vector = Bool; -account.updateColor#a001cc43 flags:# color:int background_emoji_id:flags.0?long = Bool; +account.updateColor#7cefa15d flags:# for_profile:flags.1?true color:flags.2?int background_emoji_id:flags.0?long = Bool; account.getDefaultBackgroundEmojis#a60ab9ce hash:long = EmojiList; +account.getChannelDefaultEmojiStatuses#7727a7d5 hash:long = account.EmojiStatuses; +account.getChannelRestrictedStatusEmojis#35a9e0d5 hash:long = EmojiList; users.getUsers#d91a548 id:Vector = Vector; users.getFullUser#b60f5918 id:InputUser = users.UserFull; users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector = Bool; +users.getIsPremiumRequiredToContact#a622aa10 id:Vector = Vector; contacts.getContactIDs#7adc669d hash:long = Vector; contacts.getStatuses#c4a353ee = Vector; @@ -1753,7 +1813,7 @@ contacts.setBlocked#94c65c76 flags:# my_stories_from:flags.0?true id:Vector = messages.Messages; messages.getDialogs#a0f4cb4f flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.Dialogs; messages.getHistory#4423e6c5 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages; -messages.search#a0fda762 flags:# peer:InputPeer q:string from_id:flags.0?InputPeer top_msg_id:flags.1?int filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages; +messages.search#29ee847a flags:# peer:InputPeer q:string from_id:flags.0?InputPeer saved_peer_id:flags.2?InputPeer saved_reaction:flags.3?Vector top_msg_id:flags.1?int filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages; messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages; messages.deleteHistory#b08f922a flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory; messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; @@ -1856,7 +1916,7 @@ messages.getEmojiKeywords#35a0e062 lang_code:string = EmojiKeywordsDifference; messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int = EmojiKeywordsDifference; messages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector = Vector; messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL; -messages.getSearchCounters#ae7cc1 flags:# peer:InputPeer top_msg_id:flags.0?int filters:Vector = Vector; +messages.getSearchCounters#1bbcf300 flags:# peer:InputPeer saved_peer_id:flags.2?InputPeer top_msg_id:flags.0?int filters:Vector = Vector; messages.requestUrlAuth#198fb446 flags:# peer:flags.1?InputPeer msg_id:flags.1?int button_id:flags.1?int url:flags.2?string = UrlAuthResult; messages.acceptUrlAuth#b12c7125 flags:# write_allowed:flags.0?true peer:flags.1?InputPeer msg_id:flags.1?int button_id:flags.1?int url:flags.2?string = UrlAuthResult; messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool; @@ -1892,8 +1952,8 @@ messages.setHistoryTTL#b80e5fe4 peer:InputPeer period:int = Updates; messages.checkHistoryImportPeer#5dc60f03 peer:InputPeer = messages.CheckedHistoryImportPeer; messages.setChatTheme#e63be13f peer:InputPeer emoticon:string = Updates; messages.getMessageReadParticipants#31c1c44f peer:InputPeer msg_id:int = Vector; -messages.getSearchResultsCalendar#49f0bde9 peer:InputPeer filter:MessagesFilter offset_id:int offset_date:int = messages.SearchResultsCalendar; -messages.getSearchResultsPositions#6e9583a3 peer:InputPeer filter:MessagesFilter offset_id:int limit:int = messages.SearchResultsPositions; +messages.getSearchResultsCalendar#6aa3f6bd flags:# peer:InputPeer saved_peer_id:flags.2?InputPeer filter:MessagesFilter offset_id:int offset_date:int = messages.SearchResultsCalendar; +messages.getSearchResultsPositions#9c7f2f10 flags:# peer:InputPeer saved_peer_id:flags.2?InputPeer filter:MessagesFilter offset_id:int limit:int = messages.SearchResultsPositions; messages.hideChatJoinRequest#7fe7e815 flags:# approved:flags.0?true peer:InputPeer user_id:InputUser = Updates; messages.hideAllChatJoinRequests#e085f4ea flags:# approved:flags.0?true peer:InputPeer link:flags.1?string = Updates; messages.toggleNoForwards#b11eafa2 peer:InputPeer enabled:Bool = Updates; @@ -1928,7 +1988,7 @@ messages.clearRecentReactions#9dfeefb4 = Bool; messages.getExtendedMedia#84f80814 peer:InputPeer id:Vector = Updates; messages.setDefaultHistoryTTL#9eb51445 period:int = Bool; messages.getDefaultHistoryTTL#658b7188 = DefaultHistoryTTL; -messages.sendBotRequestedPeer#fe38d01b peer:InputPeer msg_id:int button_id:int requested_peer:InputPeer = Updates; +messages.sendBotRequestedPeer#91b2d060 peer:InputPeer msg_id:int button_id:int requested_peers:Vector = Updates; messages.getEmojiGroups#7488ce5b hash:int = messages.EmojiGroups; messages.getEmojiStatusGroups#2ecd56cd hash:int = messages.EmojiGroups; messages.getEmojiProfilePhotoGroups#21a548f3 hash:int = messages.EmojiGroups; @@ -1936,7 +1996,18 @@ messages.searchCustomEmoji#2c11c0d7 emoticon:string hash:long = EmojiList; messages.togglePeerTranslations#e47cb579 flags:# disabled:flags.0?true peer:InputPeer = Bool; messages.getBotApp#34fdc5c3 app:InputBotApp hash:long = messages.BotApp; messages.requestAppWebView#8c5a3b3c flags:# write_allowed:flags.0?true peer:InputPeer app:InputBotApp start_param:flags.1?string theme_params:flags.2?DataJSON platform:string = AppWebViewResult; -messages.setChatWallPaper#8ffacae1 flags:# peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = Updates; +messages.setChatWallPaper#8ffacae1 flags:# for_both:flags.3?true revert:flags.4?true peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = Updates; +messages.searchEmojiStickerSets#92b4494c flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets; +messages.getSavedDialogs#5381d21a flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs; +messages.getSavedHistory#3d9a414d peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages; +messages.deleteSavedHistory#6e98102b flags:# peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory; +messages.getPinnedSavedDialogs#d63d94e0 = messages.SavedDialogs; +messages.toggleSavedDialogPin#ac81bbde flags:# pinned:flags.0?true peer:InputDialogPeer = Bool; +messages.reorderPinnedSavedDialogs#8b716587 flags:# force:flags.0?true order:Vector = Bool; +messages.getSavedReactionTags#3637e05b flags:# peer:flags.0?InputPeer hash:long = messages.SavedReactionTags; +messages.updateSavedReactionTag#60297dec flags:# reaction:Reaction title:flags.0?string = Bool; +messages.getDefaultTagReactions#bdf93428 hash:long = messages.Reactions; +messages.getOutboxReadDate#8c4bfe5d peer:InputPeer msg_id:int = OutboxReadDate; updates.getState#edd4882a = updates.State; updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference; @@ -1962,7 +2033,6 @@ help.getNearestDc#1fb33026 = NearestDc; help.getAppUpdate#522d5a7d source:string = help.AppUpdate; help.getInviteText#4d392343 = help.InviteText; help.getSupport#9cdf08cd = help.Support; -help.getAppChangelog#9010ef6f prev_app_version:string = Updates; help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool; help.getCdnConfig#52029342 = CdnConfig; help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls; @@ -1980,6 +2050,8 @@ help.hidePromoData#1e251c95 peer:InputPeer = Bool; help.dismissSuggestion#f50dbaa1 peer:InputPeer suggestion:string = Bool; help.getCountriesList#735787a8 lang_code:string hash:int = help.CountriesList; help.getPremiumPromo#b81b93d4 = help.PremiumPromo; +help.getPeerColors#da80f42f hash:int = help.PeerColors; +help.getPeerProfileColors#abcfa9fd hash:int = help.PeerColors; channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; @@ -2037,7 +2109,12 @@ channels.toggleAntiSpam#68f3e4eb channel:InputChannel enabled:Bool = Updates; channels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int = Bool; channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates; channels.clickSponsoredMessage#18afbc93 channel:InputChannel random_id:bytes = Bool; -channels.updateColor#621a201f flags:# channel:InputChannel color:int background_emoji_id:flags.0?long = Updates; +channels.updateColor#d8aa3671 flags:# for_profile:flags.1?true channel:InputChannel color:flags.2?int background_emoji_id:flags.0?long = Updates; +channels.toggleViewForumAsMessages#9738bb15 channel:InputChannel enabled:Bool = Updates; +channels.getChannelRecommendations#83b70d97 channel:InputChannel = messages.Chats; +channels.updateEmojiStatus#f0d3e6a8 channel:InputChannel emoji_status:EmojiStatus = Updates; +channels.setBoostsToUnblockRestrictions#ad399cee channel:InputChannel boosts:int = Updates; +channels.setEmojiStickers#3cd930b7 channel:InputChannel stickerset:InputStickerSet = Bool; bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; @@ -2127,8 +2204,10 @@ folders.editPeerFolders#6847d0ab folder_peers:Vector = Updates; stats.getBroadcastStats#ab42441a flags:# dark:flags.0?true channel:InputChannel = stats.BroadcastStats; stats.loadAsyncGraph#621d5fa0 flags:# token:string x:flags.0?long = StatsGraph; stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel = stats.MegagroupStats; -stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; +stats.getMessagePublicForwards#5f150144 channel:InputChannel msg_id:int offset:string limit:int = stats.PublicForwards; stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats; +stats.getStoryStats#374fef40 flags:# dark:flags.0?true peer:InputPeer id:int = stats.StoryStats; +stats.getStoryPublicForwards#a6437ef6 peer:InputPeer id:int offset:string limit:int = stats.PublicForwards; chatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector = chatlists.ExportedChatlistInvite; chatlists.deleteExportedInvite#719c5c5e chatlist:InputChatlist slug:string = Bool; @@ -2143,7 +2222,7 @@ chatlists.getLeaveChatlistSuggestions#fdbcd714 chatlist:InputChatlist = Vector

= Updates; stories.canSendStory#c7dfdfdd peer:InputPeer = Bool; -stories.sendStory#bcb73644 flags:# pinned:flags.2?true noforwards:flags.4?true peer:InputPeer media:InputMedia media_areas:flags.5?Vector caption:flags.0?string entities:flags.1?Vector privacy_rules:Vector random_id:long period:flags.3?int = Updates; +stories.sendStory#e4e6694b flags:# pinned:flags.2?true noforwards:flags.4?true fwd_modified:flags.7?true peer:InputPeer media:InputMedia media_areas:flags.5?Vector caption:flags.0?string entities:flags.1?Vector privacy_rules:Vector random_id:long period:flags.3?int fwd_from_id:flags.6?InputPeer fwd_from_story:flags.6?int = Updates; stories.editStory#b583ba46 flags:# peer:InputPeer id:int media:flags.0?InputMedia media_areas:flags.3?Vector caption:flags.1?string entities:flags.1?Vector privacy_rules:flags.2?Vector = Updates; stories.deleteStories#ae59db5f peer:InputPeer id:Vector = Vector; stories.togglePinned#9a75a1ef peer:InputPeer id:Vector pinned:Bool = Vector; @@ -2154,7 +2233,7 @@ stories.getStoriesByID#5774ca74 peer:InputPeer id:Vector = stories.Stories; stories.toggleAllStoriesHidden#7c2557c4 hidden:Bool = Bool; stories.readStories#a556dac8 peer:InputPeer max_id:int = Vector; stories.incrementStoryViews#b2028afb peer:InputPeer id:Vector = Bool; -stories.getStoryViewsList#7ed23c57 flags:# just_contacts:flags.0?true reactions_first:flags.2?true peer:InputPeer q:flags.1?string id:int offset:string limit:int = stories.StoryViewsList; +stories.getStoryViewsList#7ed23c57 flags:# just_contacts:flags.0?true reactions_first:flags.2?true forwards_first:flags.3?true peer:InputPeer q:flags.1?string id:int offset:string limit:int = stories.StoryViewsList; stories.getStoriesViews#28e16cc8 peer:InputPeer id:Vector = stories.StoryViews; stories.exportStoryLink#7b8def20 peer:InputPeer id:int = ExportedStoryLink; stories.report#1923fa8c peer:InputPeer id:Vector reason:ReportReason message:string = Bool; @@ -2165,10 +2244,12 @@ stories.getAllReadPeerStories#9b5ae7f9 = Updates; stories.getPeerMaxIDs#535983c3 id:Vector = Vector; stories.getChatsToSend#a56a8b60 = messages.Chats; stories.togglePeerStoriesHidden#bd0415c4 peer:InputPeer hidden:Bool = Bool; +stories.getStoryReactionsList#b9b2881f flags:# forwards_first:flags.2?true peer:InputPeer id:int reaction:flags.0?Reaction offset:flags.1?string limit:int = stories.StoryReactionsList; premium.getBoostsList#60f67660 flags:# gifts:flags.0?true peer:InputPeer offset:string limit:int = premium.BoostsList; premium.getMyBoosts#be77b4a = premium.MyBoosts; premium.applyBoost#6b7da746 flags:# slots:flags.0?Vector peer:InputPeer = premium.MyBoosts; premium.getBoostsStatus#42f1f61 peer:InputPeer = premium.BoostsStatus; +premium.getUserBoosts#39854d1f peer:InputPeer user_id:InputUser = premium.BoostsList; -// LAYER 166 +// LAYER 174 diff --git a/package.json b/package.json index 19942e72..1bf7a66c 100644 --- a/package.json +++ b/package.json @@ -70,4 +70,4 @@ "node-localstorage": "^2.2.1", "socks": "^2.6.2" } -} \ No newline at end of file +}