@mtcute/core 0.29.7 → 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.cjs +8 -0
- package/client.js +8 -0
- package/highlevel/client.d.cts +67 -7
- package/highlevel/client.d.ts +67 -7
- package/highlevel/methods/chats/join-chat.cjs +38 -16
- package/highlevel/methods/chats/join-chat.d.cts +20 -6
- package/highlevel/methods/chats/join-chat.d.ts +20 -6
- package/highlevel/methods/chats/join-chat.js +38 -16
- package/highlevel/methods/chats/save-draft.d.cts +4 -1
- package/highlevel/methods/chats/save-draft.d.ts +4 -1
- package/highlevel/methods/files/normalize-input-media.cjs +8 -0
- package/highlevel/methods/files/normalize-input-media.js +9 -1
- package/highlevel/methods/messages/create-rich-streaming-draft.cjs +39 -0
- package/highlevel/methods/messages/create-rich-streaming-draft.d.cts +42 -0
- package/highlevel/methods/messages/create-rich-streaming-draft.d.ts +42 -0
- package/highlevel/methods/messages/create-rich-streaming-draft.js +34 -0
- package/highlevel/methods/messages/normalize-rich-message.cjs +157 -0
- package/highlevel/methods/messages/normalize-rich-message.d.cts +10 -0
- package/highlevel/methods/messages/normalize-rich-message.d.ts +10 -0
- package/highlevel/methods/messages/normalize-rich-message.js +152 -0
- package/highlevel/methods/messages/send-rich-message.cjs +49 -0
- package/highlevel/methods/messages/send-rich-message.d.cts +38 -0
- package/highlevel/methods/messages/send-rich-message.d.ts +38 -0
- package/highlevel/methods/messages/send-rich-message.js +44 -0
- package/highlevel/methods.d.cts +5 -0
- package/highlevel/methods.d.ts +5 -0
- package/highlevel/storage/service/peers.cjs +1 -0
- package/highlevel/storage/service/peers.js +1 -0
- package/highlevel/types/bots/inline-message/factories.cjs +14 -0
- package/highlevel/types/bots/inline-message/factories.d.cts +9 -1
- package/highlevel/types/bots/inline-message/factories.d.ts +9 -1
- package/highlevel/types/bots/inline-message/factories.js +14 -0
- package/highlevel/types/bots/inline-message/types.d.cts +17 -1
- package/highlevel/types/bots/inline-message/types.d.ts +17 -1
- package/highlevel/types/files/utils.d.cts +1 -1
- package/highlevel/types/files/utils.d.ts +1 -1
- package/highlevel/types/media/input-media/types.d.cts +1 -1
- package/highlevel/types/media/input-media/types.d.ts +1 -1
- package/highlevel/types/messages/index.d.cts +1 -0
- package/highlevel/types/messages/index.d.ts +1 -0
- package/highlevel/types/messages/message.cjs +5 -0
- package/highlevel/types/messages/message.d.cts +3 -0
- package/highlevel/types/messages/message.d.ts +3 -0
- package/highlevel/types/messages/message.js +5 -0
- package/highlevel/types/messages/rich/index.d.cts +4 -0
- package/highlevel/types/messages/rich/index.d.ts +4 -0
- package/highlevel/types/messages/rich/inner.cjs +219 -0
- package/highlevel/types/messages/rich/inner.d.cts +127 -0
- package/highlevel/types/messages/rich/inner.d.ts +127 -0
- package/highlevel/types/messages/rich/inner.js +214 -0
- package/highlevel/types/messages/rich/rich-message.cjs +50 -0
- package/highlevel/types/messages/rich/rich-message.d.cts +18 -0
- package/highlevel/types/messages/rich/rich-message.d.ts +18 -0
- package/highlevel/types/messages/rich/rich-message.js +45 -0
- package/highlevel/types/messages/rich/types.d.cts +76 -0
- package/highlevel/types/messages/rich/types.d.ts +76 -0
- package/highlevel/types/peers/full-chat.cjs +6 -0
- package/highlevel/types/peers/full-chat.d.cts +2 -0
- package/highlevel/types/peers/full-chat.d.ts +2 -0
- package/highlevel/types/peers/full-chat.js +6 -0
- package/highlevel/types/peers/user.cjs +4 -0
- package/highlevel/types/peers/user.d.cts +2 -0
- package/highlevel/types/peers/user.d.ts +2 -0
- package/highlevel/types/peers/user.js +4 -0
- package/highlevel/types/updates/user-typing-update.cjs +2 -0
- package/highlevel/types/updates/user-typing-update.js +2 -0
- package/highlevel/updates/manager.cjs +195 -0
- package/highlevel/updates/manager.js +195 -0
- package/highlevel/utils/entities.cjs +176 -0
- package/highlevel/utils/entities.d.cts +18 -0
- package/highlevel/utils/entities.d.ts +18 -0
- package/highlevel/utils/entities.js +177 -1
- package/highlevel/utils/inspectable.cjs +1 -0
- package/highlevel/utils/inspectable.d.cts +1 -0
- package/highlevel/utils/inspectable.d.ts +1 -0
- package/highlevel/utils/inspectable.js +1 -0
- package/index.cjs +4 -0
- package/index.js +4 -0
- package/methods.cjs +4 -0
- package/methods.js +4 -0
- package/network/flood-control.cjs +149 -0
- package/network/flood-control.d.cts +79 -0
- package/network/flood-control.d.ts +79 -0
- package/network/flood-control.js +144 -0
- package/network/flood-control.test.d.cts +1 -0
- package/network/flood-control.test.d.ts +1 -0
- package/network/mtproto-session.cjs +1 -21
- package/network/mtproto-session.d.cts +1 -5
- package/network/mtproto-session.d.ts +1 -5
- package/network/mtproto-session.js +2 -22
- package/network/mtproxy/_fake-tls.cjs +169 -107
- package/network/mtproxy/_fake-tls.js +169 -107
- package/network/mtproxy/_fake-tls.test.d.cts +1 -0
- package/network/mtproxy/_fake-tls.test.d.ts +1 -0
- package/network/multi-session-connection.cjs +26 -16
- package/network/multi-session-connection.d.cts +1 -1
- package/network/multi-session-connection.d.ts +1 -1
- package/network/multi-session-connection.js +26 -16
- package/network/multi-session-connection.test.d.cts +1 -0
- package/network/multi-session-connection.test.d.ts +1 -0
- package/network/network-manager.cjs +3 -2
- package/network/network-manager.d.cts +12 -0
- package/network/network-manager.d.ts +12 -0
- package/network/network-manager.js +3 -2
- package/network/persistent-connection.cjs +25 -1
- package/network/persistent-connection.d.cts +5 -0
- package/network/persistent-connection.d.ts +5 -0
- package/network/persistent-connection.js +25 -1
- package/network/session-connection.cjs +5 -10
- package/network/session-connection.d.cts +0 -2
- package/network/session-connection.d.ts +0 -2
- package/network/session-connection.js +5 -10
- package/package.json +1 -1
- package/tl/api-schema.json +1 -1
- package/tl/binary/reader.cjs +182 -26
- package/tl/binary/reader.js +182 -26
- package/tl/binary/writer.cjs +437 -20
- package/tl/binary/writer.js +437 -20
- package/tl/compat/reader.cjs +23 -0
- package/tl/compat/reader.js +23 -0
- package/tl/index.d.cts +425 -14
- package/tl/index.d.ts +425 -14
- package/tl/inner-tl.cjs +22 -8
- package/tl/inner-tl.js +22 -8
- package/types/utils.d.cts +4 -0
- package/types/utils.d.ts +4 -0
- package/utils/binary/compat.cjs +79 -0
- package/utils/binary/compat.js +79 -0
- package/utils/index.d.cts +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/long-utils.cjs +10 -0
- package/utils/long-utils.js +10 -0
- package/utils.cjs +9 -0
- package/utils.js +11 -2
package/tl/binary/reader.js
CHANGED
|
@@ -225,7 +225,7 @@ var m = {
|
|
|
225
225
|
},
|
|
226
226
|
829899656: function(r) {
|
|
227
227
|
var flags = r.uint(), flags2 = r.uint();
|
|
228
|
-
return { _: "user", self: !!(flags & 1024), contact: !!(flags & 2048), mutualContact: !!(flags & 4096), deleted: !!(flags & 8192), bot: !!(flags & 16384), botChatHistory: !!(flags & 32768), botNochats: !!(flags & 65536), verified: !!(flags & 131072), restricted: !!(flags & 262144), min: !!(flags & 1048576), botInlineGeo: !!(flags & 2097152), support: !!(flags & 8388608), scam: !!(flags & 16777216), applyMinPhoto: !!(flags & 33554432), fake: !!(flags & 67108864), botAttachMenu: !!(flags & 134217728), premium: !!(flags & 268435456), attachMenuEnabled: !!(flags & 536870912), botCanEdit: !!(flags2 & 2), closeFriend: !!(flags2 & 4), storiesHidden: !!(flags2 & 8), storiesUnavailable: !!(flags2 & 16), contactRequirePremium: !!(flags2 & 1024), botBusiness: !!(flags2 & 2048), botHasMainApp: !!(flags2 & 8192), botForumView: !!(flags2 & 65536), botForumCanManageTopics: !!(flags2 & 131072), botCanManageBots: !!(flags2 & 262144), botGuestchat: !!(flags2 & 524288), id: r.int53(), accessHash: flags & 1 ? r.long() : void 0, firstName: flags & 2 ? r.string() : void 0, lastName: flags & 4 ? r.string() : void 0, username: flags & 8 ? r.string() : void 0, phone: flags & 16 ? r.string() : void 0, photo: flags & 32 ? r.object() : void 0, status: flags & 64 ? r.object() : void 0, botInfoVersion: flags & 16384 ? r.int() : void 0, restrictionReason: flags & 262144 ? r.vector(r.object) : void 0, botInlinePlaceholder: flags & 524288 ? r.string() : void 0, langCode: flags & 4194304 ? r.string() : void 0, emojiStatus: flags & 1073741824 ? r.object() : void 0, usernames: flags2 & 1 ? r.vector(r.object) : void 0, storiesMaxId: flags2 & 32 ? r.object() : void 0, color: flags2 & 256 ? r.object() : void 0, profileColor: flags2 & 512 ? r.object() : void 0, botActiveUsers: flags2 & 4096 ? r.int() : void 0, botVerificationIcon: flags2 & 16384 ? r.long() : void 0, sendPaidMessagesStars: flags2 & 32768 ? r.long() : void 0 };
|
|
228
|
+
return { _: "user", self: !!(flags & 1024), contact: !!(flags & 2048), mutualContact: !!(flags & 4096), deleted: !!(flags & 8192), bot: !!(flags & 16384), botChatHistory: !!(flags & 32768), botNochats: !!(flags & 65536), verified: !!(flags & 131072), restricted: !!(flags & 262144), min: !!(flags & 1048576), botInlineGeo: !!(flags & 2097152), support: !!(flags & 8388608), scam: !!(flags & 16777216), applyMinPhoto: !!(flags & 33554432), fake: !!(flags & 67108864), botAttachMenu: !!(flags & 134217728), premium: !!(flags & 268435456), attachMenuEnabled: !!(flags & 536870912), botCanEdit: !!(flags2 & 2), closeFriend: !!(flags2 & 4), storiesHidden: !!(flags2 & 8), storiesUnavailable: !!(flags2 & 16), contactRequirePremium: !!(flags2 & 1024), botBusiness: !!(flags2 & 2048), botHasMainApp: !!(flags2 & 8192), botForumView: !!(flags2 & 65536), botForumCanManageTopics: !!(flags2 & 131072), botCanManageBots: !!(flags2 & 262144), botGuestchat: !!(flags2 & 524288), botGuard: !!(flags2 & 1048576), id: r.int53(), accessHash: flags & 1 ? r.long() : void 0, firstName: flags & 2 ? r.string() : void 0, lastName: flags & 4 ? r.string() : void 0, username: flags & 8 ? r.string() : void 0, phone: flags & 16 ? r.string() : void 0, photo: flags & 32 ? r.object() : void 0, status: flags & 64 ? r.object() : void 0, botInfoVersion: flags & 16384 ? r.int() : void 0, restrictionReason: flags & 262144 ? r.vector(r.object) : void 0, botInlinePlaceholder: flags & 524288 ? r.string() : void 0, langCode: flags & 4194304 ? r.string() : void 0, emojiStatus: flags & 1073741824 ? r.object() : void 0, usernames: flags2 & 1 ? r.vector(r.object) : void 0, storiesMaxId: flags2 & 32 ? r.object() : void 0, color: flags2 & 256 ? r.object() : void 0, profileColor: flags2 & 512 ? r.object() : void 0, botActiveUsers: flags2 & 4096 ? r.int() : void 0, botVerificationIcon: flags2 & 16384 ? r.long() : void 0, sendPaidMessagesStars: flags2 & 32768 ? r.long() : void 0 };
|
|
229
229
|
},
|
|
230
230
|
1326562017: function(r) {
|
|
231
231
|
return { _: "userProfilePhotoEmpty" };
|
|
@@ -277,9 +277,9 @@ var m = {
|
|
|
277
277
|
var flags = r.uint();
|
|
278
278
|
return { _: "chatFull", canSetUsername: !!(flags & 128), hasScheduled: !!(flags & 256), translationsDisabled: !!(flags & 524288), id: r.int53(), about: r.string(), participants: r.object(), chatPhoto: flags & 4 ? r.object() : void 0, notifySettings: r.object(), exportedInvite: flags & 8192 ? r.object() : void 0, botInfo: flags & 8 ? r.vector(r.object) : void 0, pinnedMsgId: flags & 64 ? r.int() : void 0, folderId: flags & 2048 ? r.int() : void 0, call: flags & 4096 ? r.object() : void 0, ttlPeriod: flags & 16384 ? r.int() : void 0, groupcallDefaultJoinAs: flags & 32768 ? r.object() : void 0, themeEmoticon: flags & 65536 ? r.string() : void 0, requestsPending: flags & 131072 ? r.int() : void 0, recentRequesters: flags & 131072 ? r.vector(r.long) : void 0, availableReactions: flags & 262144 ? r.object() : void 0, reactionsLimit: flags & 1048576 ? r.int() : void 0 };
|
|
279
279
|
},
|
|
280
|
-
|
|
280
|
+
2689502522: function(r) {
|
|
281
281
|
var flags = r.uint(), flags2 = r.uint();
|
|
282
|
-
return { _: "channelFull", canViewParticipants: !!(flags & 8), canSetUsername: !!(flags & 64), canSetStickers: !!(flags & 128), hiddenPrehistory: !!(flags & 1024), canSetLocation: !!(flags & 65536), hasScheduled: !!(flags & 524288), canViewStats: !!(flags & 1048576), blocked: !!(flags & 4194304), canDeleteChannel: !!(flags2 & 1), antispam: !!(flags2 & 2), participantsHidden: !!(flags2 & 4), translationsDisabled: !!(flags2 & 8), storiesPinnedAvailable: !!(flags2 & 32), viewForumAsMessages: !!(flags2 & 64), restrictedSponsored: !!(flags2 & 2048), canViewRevenue: !!(flags2 & 4096), paidMediaAllowed: !!(flags2 & 16384), canViewStarsRevenue: !!(flags2 & 32768), paidReactionsAvailable: !!(flags2 & 65536), stargiftsAvailable: !!(flags2 & 524288), paidMessagesAvailable: !!(flags2 & 1048576), id: r.int53(), about: r.string(), participantsCount: flags & 1 ? r.int() : void 0, adminsCount: flags & 2 ? r.int() : void 0, kickedCount: flags & 4 ? r.int() : void 0, bannedCount: flags & 4 ? r.int() : void 0, onlineCount: flags & 8192 ? r.int() : void 0, readInboxMaxId: r.int(), readOutboxMaxId: r.int(), unreadCount: r.int(), chatPhoto: r.object(), notifySettings: r.object(), exportedInvite: flags & 8388608 ? r.object() : void 0, botInfo: r.vector(r.object), migratedFromChatId: flags & 16 ? r.long() : void 0, migratedFromMaxId: flags & 16 ? r.int() : void 0, pinnedMsgId: flags & 32 ? r.int() : void 0, stickerset: flags & 256 ? r.object() : void 0, availableMinId: flags & 512 ? r.int() : void 0, folderId: flags & 2048 ? r.int() : void 0, linkedChatId: flags & 16384 ? r.int53() : void 0, location: flags & 32768 ? r.object() : void 0, slowmodeSeconds: flags & 131072 ? r.int() : void 0, slowmodeNextSendDate: flags & 262144 ? r.int() : void 0, statsDc: flags & 4096 ? r.int() : void 0, pts: r.int(), call: flags & 2097152 ? r.object() : void 0, ttlPeriod: flags & 16777216 ? r.int() : void 0, pendingSuggestions: flags & 33554432 ? r.vector(r.string) : void 0, groupcallDefaultJoinAs: flags & 67108864 ? r.object() : void 0, themeEmoticon: flags & 134217728 ? r.string() : void 0, requestsPending: flags & 268435456 ? r.int() : void 0, recentRequesters: flags & 268435456 ? r.vector(r.int53) : void 0, defaultSendAs: flags & 536870912 ? r.object() : void 0, availableReactions: flags & 1073741824 ? r.object() : void 0, reactionsLimit: flags2 & 8192 ? r.int() : void 0, stories: flags2 & 16 ? r.object() : void 0, wallpaper: flags2 & 128 ? r.object() : void 0, boostsApplied: flags2 & 256 ? r.int() : void 0, boostsUnrestrict: flags2 & 512 ? r.int() : void 0, emojiset: flags2 & 1024 ? r.object() : void 0, botVerification: flags2 & 131072 ? r.object() : void 0, stargiftsCount: flags2 & 262144 ? r.int() : void 0, sendPaidMessagesStars: flags2 & 2097152 ? r.long() : void 0, mainTab: flags2 & 4194304 ? r.object() : void 0 };
|
|
282
|
+
return { _: "channelFull", canViewParticipants: !!(flags & 8), canSetUsername: !!(flags & 64), canSetStickers: !!(flags & 128), hiddenPrehistory: !!(flags & 1024), canSetLocation: !!(flags & 65536), hasScheduled: !!(flags & 524288), canViewStats: !!(flags & 1048576), blocked: !!(flags & 4194304), canDeleteChannel: !!(flags2 & 1), antispam: !!(flags2 & 2), participantsHidden: !!(flags2 & 4), translationsDisabled: !!(flags2 & 8), storiesPinnedAvailable: !!(flags2 & 32), viewForumAsMessages: !!(flags2 & 64), restrictedSponsored: !!(flags2 & 2048), canViewRevenue: !!(flags2 & 4096), paidMediaAllowed: !!(flags2 & 16384), canViewStarsRevenue: !!(flags2 & 32768), paidReactionsAvailable: !!(flags2 & 65536), stargiftsAvailable: !!(flags2 & 524288), paidMessagesAvailable: !!(flags2 & 1048576), id: r.int53(), about: r.string(), participantsCount: flags & 1 ? r.int() : void 0, adminsCount: flags & 2 ? r.int() : void 0, kickedCount: flags & 4 ? r.int() : void 0, bannedCount: flags & 4 ? r.int() : void 0, onlineCount: flags & 8192 ? r.int() : void 0, readInboxMaxId: r.int(), readOutboxMaxId: r.int(), unreadCount: r.int(), chatPhoto: r.object(), notifySettings: r.object(), exportedInvite: flags & 8388608 ? r.object() : void 0, botInfo: r.vector(r.object), migratedFromChatId: flags & 16 ? r.long() : void 0, migratedFromMaxId: flags & 16 ? r.int() : void 0, pinnedMsgId: flags & 32 ? r.int() : void 0, stickerset: flags & 256 ? r.object() : void 0, availableMinId: flags & 512 ? r.int() : void 0, folderId: flags & 2048 ? r.int() : void 0, linkedChatId: flags & 16384 ? r.int53() : void 0, location: flags & 32768 ? r.object() : void 0, slowmodeSeconds: flags & 131072 ? r.int() : void 0, slowmodeNextSendDate: flags & 262144 ? r.int() : void 0, statsDc: flags & 4096 ? r.int() : void 0, pts: r.int(), call: flags & 2097152 ? r.object() : void 0, ttlPeriod: flags & 16777216 ? r.int() : void 0, pendingSuggestions: flags & 33554432 ? r.vector(r.string) : void 0, groupcallDefaultJoinAs: flags & 67108864 ? r.object() : void 0, themeEmoticon: flags & 134217728 ? r.string() : void 0, requestsPending: flags & 268435456 ? r.int() : void 0, recentRequesters: flags & 268435456 ? r.vector(r.int53) : void 0, defaultSendAs: flags & 536870912 ? r.object() : void 0, availableReactions: flags & 1073741824 ? r.object() : void 0, reactionsLimit: flags2 & 8192 ? r.int() : void 0, stories: flags2 & 16 ? r.object() : void 0, wallpaper: flags2 & 128 ? r.object() : void 0, boostsApplied: flags2 & 256 ? r.int() : void 0, boostsUnrestrict: flags2 & 512 ? r.int() : void 0, emojiset: flags2 & 1024 ? r.object() : void 0, botVerification: flags2 & 131072 ? r.object() : void 0, stargiftsCount: flags2 & 262144 ? r.int() : void 0, sendPaidMessagesStars: flags2 & 2097152 ? r.long() : void 0, mainTab: flags2 & 4194304 ? r.object() : void 0, guardBotId: flags2 & 8388608 ? r.int53() : void 0 };
|
|
283
283
|
},
|
|
284
284
|
954703838: function(r) {
|
|
285
285
|
var flags = r.uint();
|
|
@@ -311,9 +311,9 @@ var m = {
|
|
|
311
311
|
var flags = r.uint();
|
|
312
312
|
return { _: "messageEmpty", id: r.int(), peerId: flags & 1 ? r.object() : void 0 };
|
|
313
313
|
},
|
|
314
|
-
|
|
314
|
+
1979759059: function(r) {
|
|
315
315
|
var flags = r.uint(), flags2 = r.uint();
|
|
316
|
-
return { _: "message", out: !!(flags & 2), mentioned: !!(flags & 16), mediaUnread: !!(flags & 32), silent: !!(flags & 8192), post: !!(flags & 16384), fromScheduled: !!(flags & 262144), legacy: !!(flags & 524288), editHide: !!(flags & 2097152), pinned: !!(flags & 16777216), noforwards: !!(flags & 67108864), invertMedia: !!(flags & 134217728), offline: !!(flags2 & 2), videoProcessingPending: !!(flags2 & 16), paidSuggestedPostStars: !!(flags2 & 256), paidSuggestedPostTon: !!(flags2 & 512), id: r.int(), fromId: flags & 256 ? r.object() : void 0, fromBoostsApplied: flags & 536870912 ? r.int() : void 0, fromRank: flags2 & 4096 ? r.string() : void 0, peerId: r.object(), savedPeerId: flags & 268435456 ? r.object() : void 0, fwdFrom: flags & 4 ? r.object() : void 0, viaBotId: flags & 2048 ? r.int53() : void 0, viaBusinessBotId: flags2 & 1 ? r.int53() : void 0, guestchatViaFrom: flags2 & 524288 ? r.object() : void 0, replyTo: flags & 8 ? r.object() : void 0, date: r.int(), message: r.string(), media: flags & 512 ? r.object() : void 0, replyMarkup: flags & 64 ? r.object() : void 0, entities: flags & 128 ? r.vector(r.object) : void 0, views: flags & 1024 ? r.int() : void 0, forwards: flags & 1024 ? r.int() : void 0, replies: flags & 8388608 ? r.object() : void 0, editDate: flags & 32768 ? r.int() : void 0, postAuthor: flags & 65536 ? r.string() : void 0, groupedId: flags & 131072 ? r.long() : void 0, reactions: flags & 1048576 ? r.object() : void 0, restrictionReason: flags & 4194304 ? r.vector(r.object) : void 0, ttlPeriod: flags & 33554432 ? r.int() : void 0, quickReplyShortcutId: flags & 1073741824 ? r.int() : void 0, effect: flags2 & 4 ? r.long() : void 0, factcheck: flags2 & 8 ? r.object() : void 0, reportDeliveryUntilDate: flags2 & 32 ? r.int() : void 0, paidMessageStars: flags2 & 64 ? r.long() : void 0, suggestedPost: flags2 & 128 ? r.object() : void 0, scheduleRepeatPeriod: flags2 & 1024 ? r.int() : void 0, summaryFromLanguage: flags2 & 2048 ? r.string() : void 0 };
|
|
316
|
+
return { _: "message", out: !!(flags & 2), mentioned: !!(flags & 16), mediaUnread: !!(flags & 32), silent: !!(flags & 8192), post: !!(flags & 16384), fromScheduled: !!(flags & 262144), legacy: !!(flags & 524288), editHide: !!(flags & 2097152), pinned: !!(flags & 16777216), noforwards: !!(flags & 67108864), invertMedia: !!(flags & 134217728), offline: !!(flags2 & 2), videoProcessingPending: !!(flags2 & 16), paidSuggestedPostStars: !!(flags2 & 256), paidSuggestedPostTon: !!(flags2 & 512), id: r.int(), fromId: flags & 256 ? r.object() : void 0, fromBoostsApplied: flags & 536870912 ? r.int() : void 0, fromRank: flags2 & 4096 ? r.string() : void 0, peerId: r.object(), savedPeerId: flags & 268435456 ? r.object() : void 0, fwdFrom: flags & 4 ? r.object() : void 0, viaBotId: flags & 2048 ? r.int53() : void 0, viaBusinessBotId: flags2 & 1 ? r.int53() : void 0, guestchatViaFrom: flags2 & 524288 ? r.object() : void 0, replyTo: flags & 8 ? r.object() : void 0, date: r.int(), message: r.string(), media: flags & 512 ? r.object() : void 0, replyMarkup: flags & 64 ? r.object() : void 0, entities: flags & 128 ? r.vector(r.object) : void 0, views: flags & 1024 ? r.int() : void 0, forwards: flags & 1024 ? r.int() : void 0, replies: flags & 8388608 ? r.object() : void 0, editDate: flags & 32768 ? r.int() : void 0, postAuthor: flags & 65536 ? r.string() : void 0, groupedId: flags & 131072 ? r.long() : void 0, reactions: flags & 1048576 ? r.object() : void 0, restrictionReason: flags & 4194304 ? r.vector(r.object) : void 0, ttlPeriod: flags & 33554432 ? r.int() : void 0, quickReplyShortcutId: flags & 1073741824 ? r.int() : void 0, effect: flags2 & 4 ? r.long() : void 0, factcheck: flags2 & 8 ? r.object() : void 0, reportDeliveryUntilDate: flags2 & 32 ? r.int() : void 0, paidMessageStars: flags2 & 64 ? r.long() : void 0, suggestedPost: flags2 & 128 ? r.object() : void 0, scheduleRepeatPeriod: flags2 & 1024 ? r.int() : void 0, summaryFromLanguage: flags2 & 2048 ? r.string() : void 0, richMessage: flags2 & 8192 ? r.object() : void 0 };
|
|
317
317
|
},
|
|
318
318
|
2055212554: function(r) {
|
|
319
319
|
var flags = r.uint();
|
|
@@ -1173,8 +1173,9 @@ var m = {
|
|
|
1173
1173
|
1885586395: function(r) {
|
|
1174
1174
|
return { _: "updatePendingJoinRequests", peer: r.object(), requestsPending: r.int(), recentRequesters: r.vector(r.int53) };
|
|
1175
1175
|
},
|
|
1176
|
-
|
|
1177
|
-
|
|
1176
|
+
2092125561: function(r) {
|
|
1177
|
+
var flags = r.uint();
|
|
1178
|
+
return { _: "updateBotChatInviteRequester", peer: r.object(), date: r.int(), userId: r.int53(), about: r.string(), invite: r.object(), qts: r.int(), queryId: flags & 1 ? r.long() : void 0 };
|
|
1178
1179
|
},
|
|
1179
1180
|
506035194: function(r) {
|
|
1180
1181
|
var flags = r.uint();
|
|
@@ -1372,6 +1373,21 @@ var m = {
|
|
|
1372
1373
|
2349830651: function(r) {
|
|
1373
1374
|
return { _: "updateAiComposeTones" };
|
|
1374
1375
|
},
|
|
1376
|
+
3182198384: function(r) {
|
|
1377
|
+
return { _: "updateJoinChatWebViewDecision", peer: r.object(), queryId: r.long(), result: r.object() };
|
|
1378
|
+
},
|
|
1379
|
+
2988475302: function(r) {
|
|
1380
|
+
var flags = r.uint();
|
|
1381
|
+
return { _: "updateNewBotConnection", confirmed: !!(flags & 1), botId: r.int53(), date: flags & 2 ? r.int() : void 0, device: flags & 2 ? r.string() : void 0, location: flags & 2 ? r.string() : void 0 };
|
|
1382
|
+
},
|
|
1383
|
+
3281660638: function(r) {
|
|
1384
|
+
var flags = r.uint();
|
|
1385
|
+
return { _: "updateWebBrowserSettings", openExternalBrowser: !!(flags & 1), displayCloseButton: !!(flags & 2) };
|
|
1386
|
+
},
|
|
1387
|
+
335872721: function(r) {
|
|
1388
|
+
var flags = r.uint();
|
|
1389
|
+
return { _: "updateWebBrowserException", delete: !!(flags & 2), openExternalBrowser: flags & 1 ? r.boolean() : void 0, exception: r.object() };
|
|
1390
|
+
},
|
|
1375
1391
|
2775329342: function(r) {
|
|
1376
1392
|
return { _: "updates.state", pts: r.int(), qts: r.int(), date: r.int(), seq: r.int(), unreadCount: r.int() };
|
|
1377
1393
|
},
|
|
@@ -1591,6 +1607,12 @@ var m = {
|
|
|
1591
1607
|
929929052: function(r) {
|
|
1592
1608
|
return { _: "sendMessageTextDraftAction", randomId: r.long(), text: r.object() };
|
|
1593
1609
|
},
|
|
1610
|
+
3803331409: function(r) {
|
|
1611
|
+
return { _: "inputSendMessageRichMessageDraftAction", randomId: r.long(), richMessage: r.object() };
|
|
1612
|
+
},
|
|
1613
|
+
2731222265: function(r) {
|
|
1614
|
+
return { _: "sendMessageRichMessageDraftAction", randomId: r.long(), richMessage: r.object() };
|
|
1615
|
+
},
|
|
1594
1616
|
3004386717: function(r) {
|
|
1595
1617
|
return { _: "contacts.found", myResults: r.vector(r.object), results: r.vector(r.object), chats: r.vector(r.object), users: r.vector(r.object) };
|
|
1596
1618
|
},
|
|
@@ -2213,6 +2235,10 @@ var m = {
|
|
|
2213
2235
|
var flags = r.uint();
|
|
2214
2236
|
return { _: "inputBotInlineMessageMediaWebPage", invertMedia: !!(flags & 8), forceLargeMedia: !!(flags & 16), forceSmallMedia: !!(flags & 32), optional: !!(flags & 64), message: r.string(), entities: flags & 2 ? r.vector(r.object) : void 0, url: r.string(), replyMarkup: flags & 4 ? r.object() : void 0 };
|
|
2215
2237
|
},
|
|
2238
|
+
3023959404: function(r) {
|
|
2239
|
+
var flags = r.uint();
|
|
2240
|
+
return { _: "inputBotInlineMessageRichMessage", replyMarkup: flags & 4 ? r.object() : void 0, richMessage: r.object() };
|
|
2241
|
+
},
|
|
2216
2242
|
2294256409: function(r) {
|
|
2217
2243
|
var flags = r.uint();
|
|
2218
2244
|
return { _: "inputBotInlineResult", id: r.string(), type: r.string(), title: flags & 2 ? r.string() : void 0, description: flags & 4 ? r.string() : void 0, url: flags & 8 ? r.string() : void 0, thumb: flags & 16 ? r.object() : void 0, content: flags & 32 ? r.object() : void 0, sendMessage: r.object() };
|
|
@@ -2255,6 +2281,10 @@ var m = {
|
|
|
2255
2281
|
var flags = r.uint();
|
|
2256
2282
|
return { _: "botInlineMessageMediaWebPage", invertMedia: !!(flags & 8), forceLargeMedia: !!(flags & 16), forceSmallMedia: !!(flags & 32), manual: !!(flags & 128), safe: !!(flags & 256), message: r.string(), entities: flags & 2 ? r.vector(r.object) : void 0, url: r.string(), replyMarkup: flags & 4 ? r.object() : void 0 };
|
|
2257
2283
|
},
|
|
2284
|
+
174161531: function(r) {
|
|
2285
|
+
var flags = r.uint();
|
|
2286
|
+
return { _: "botInlineMessageRichMessage", replyMarkup: flags & 4 ? r.object() : void 0, richMessage: r.object() };
|
|
2287
|
+
},
|
|
2258
2288
|
295067450: function(r) {
|
|
2259
2289
|
var flags = r.uint();
|
|
2260
2290
|
return { _: "botInlineResult", id: r.string(), type: r.string(), title: flags & 2 ? r.string() : void 0, description: flags & 4 ? r.string() : void 0, url: flags & 8 ? r.string() : void 0, thumb: flags & 16 ? r.object() : void 0, content: flags & 32 ? r.object() : void 0, sendMessage: r.object() };
|
|
@@ -2396,9 +2426,9 @@ var m = {
|
|
|
2396
2426
|
var flags = r.uint();
|
|
2397
2427
|
return { _: "draftMessageEmpty", date: flags & 1 ? r.int() : void 0 };
|
|
2398
2428
|
},
|
|
2399
|
-
|
|
2429
|
+
1627271828: function(r) {
|
|
2400
2430
|
var flags = r.uint();
|
|
2401
|
-
return { _: "draftMessage", noWebpage: !!(flags & 2), invertMedia: !!(flags & 64), replyTo: flags & 16 ? r.object() : void 0, message: r.string(), entities: flags & 8 ? r.vector(r.object) : void 0, media: flags & 32 ? r.object() : void 0, date: r.int(), effect: flags & 128 ? r.long() : void 0, suggestedPost: flags & 256 ? r.object() : void 0 };
|
|
2431
|
+
return { _: "draftMessage", noWebpage: !!(flags & 2), invertMedia: !!(flags & 64), replyTo: flags & 16 ? r.object() : void 0, message: r.string(), entities: flags & 8 ? r.vector(r.object) : void 0, media: flags & 32 ? r.object() : void 0, date: r.int(), effect: flags & 128 ? r.long() : void 0, suggestedPost: flags & 256 ? r.object() : void 0, richMessage: flags & 512 ? r.object() : void 0 };
|
|
2402
2432
|
},
|
|
2403
2433
|
3336309862: function(r) {
|
|
2404
2434
|
return { _: "messages.featuredStickersNotModified", count: r.int() };
|
|
@@ -2507,6 +2537,46 @@ var m = {
|
|
|
2507
2537
|
894777186: function(r) {
|
|
2508
2538
|
return { _: "textAnchor", text: r.object(), name: r.string() };
|
|
2509
2539
|
},
|
|
2540
|
+
2637081751: function(r) {
|
|
2541
|
+
return { _: "textMath", source: r.string() };
|
|
2542
|
+
},
|
|
2543
|
+
2724288192: function(r) {
|
|
2544
|
+
return { _: "textCustomEmoji", documentId: r.long(), alt: r.string() };
|
|
2545
|
+
},
|
|
2546
|
+
1277844834: function(r) {
|
|
2547
|
+
return { _: "textSpoiler", text: r.object() };
|
|
2548
|
+
},
|
|
2549
|
+
3441741636: function(r) {
|
|
2550
|
+
return { _: "textMention", text: r.object() };
|
|
2551
|
+
},
|
|
2552
|
+
1368728810: function(r) {
|
|
2553
|
+
return { _: "textHashtag", text: r.object() };
|
|
2554
|
+
},
|
|
2555
|
+
50276819: function(r) {
|
|
2556
|
+
return { _: "textBotCommand", text: r.object() };
|
|
2557
|
+
},
|
|
2558
|
+
2073958401: function(r) {
|
|
2559
|
+
return { _: "textCashtag", text: r.object() };
|
|
2560
|
+
},
|
|
2561
|
+
2892661674: function(r) {
|
|
2562
|
+
return { _: "textAutoUrl", text: r.object() };
|
|
2563
|
+
},
|
|
2564
|
+
3310789725: function(r) {
|
|
2565
|
+
return { _: "textAutoEmail", text: r.object() };
|
|
2566
|
+
},
|
|
2567
|
+
616720265: function(r) {
|
|
2568
|
+
return { _: "textAutoPhone", text: r.object() };
|
|
2569
|
+
},
|
|
2570
|
+
3109454125: function(r) {
|
|
2571
|
+
return { _: "textBankCard", text: r.object() };
|
|
2572
|
+
},
|
|
2573
|
+
27917308: function(r) {
|
|
2574
|
+
return { _: "textMentionName", text: r.object(), userId: r.int53() };
|
|
2575
|
+
},
|
|
2576
|
+
2780061227: function(r) {
|
|
2577
|
+
var flags = r.uint();
|
|
2578
|
+
return { _: "textDate", relative: !!(flags & 1), shortTime: !!(flags & 2), longTime: !!(flags & 4), shortDate: !!(flags & 8), longDate: !!(flags & 16), dayOfWeek: !!(flags & 32), text: r.object(), date: r.int() };
|
|
2579
|
+
},
|
|
2510
2580
|
324435594: function(r) {
|
|
2511
2581
|
return { _: "pageBlockUnsupported" };
|
|
2512
2582
|
},
|
|
@@ -2551,11 +2621,11 @@ var m = {
|
|
|
2551
2621
|
},
|
|
2552
2622
|
391759200: function(r) {
|
|
2553
2623
|
var flags = r.uint();
|
|
2554
|
-
return { _: "pageBlockPhoto", photoId: r.long(), caption: r.object(), url: flags & 1 ? r.string() : void 0, webpageId: flags & 1 ? r.long() : void 0 };
|
|
2624
|
+
return { _: "pageBlockPhoto", spoiler: !!(flags & 2), photoId: r.long(), caption: r.object(), url: flags & 1 ? r.string() : void 0, webpageId: flags & 1 ? r.long() : void 0 };
|
|
2555
2625
|
},
|
|
2556
2626
|
2089805750: function(r) {
|
|
2557
2627
|
var flags = r.uint();
|
|
2558
|
-
return { _: "pageBlockVideo", autoplay: !!(flags & 1), loop: !!(flags & 2), videoId: r.long(), caption: r.object() };
|
|
2628
|
+
return { _: "pageBlockVideo", autoplay: !!(flags & 1), loop: !!(flags & 2), spoiler: !!(flags & 4), videoId: r.long(), caption: r.object() };
|
|
2559
2629
|
},
|
|
2560
2630
|
972174080: function(r) {
|
|
2561
2631
|
return { _: "pageBlockCover", cover: r.object() };
|
|
@@ -2586,8 +2656,9 @@ var m = {
|
|
|
2586
2656
|
var flags = r.uint();
|
|
2587
2657
|
return { _: "pageBlockTable", bordered: !!(flags & 1), striped: !!(flags & 2), title: r.object(), rows: r.vector(r.object) };
|
|
2588
2658
|
},
|
|
2589
|
-
|
|
2590
|
-
|
|
2659
|
+
534181569: function(r) {
|
|
2660
|
+
var flags = r.uint();
|
|
2661
|
+
return { _: "pageBlockOrderedList", reversed: !!(flags & 4), items: r.vector(r.object), start: flags & 1 ? r.int() : void 0, type: flags & 2 ? r.string() : void 0 };
|
|
2591
2662
|
},
|
|
2592
2663
|
1987480557: function(r) {
|
|
2593
2664
|
var flags = r.uint();
|
|
@@ -2599,6 +2670,36 @@ var m = {
|
|
|
2599
2670
|
2756656886: function(r) {
|
|
2600
2671
|
return { _: "pageBlockMap", geo: r.object(), zoom: r.int(), w: r.int(), h: r.int(), caption: r.object() };
|
|
2601
2672
|
},
|
|
2673
|
+
3137275695: function(r) {
|
|
2674
|
+
return { _: "pageBlockHeading1", text: r.object() };
|
|
2675
|
+
},
|
|
2676
|
+
158018284: function(r) {
|
|
2677
|
+
return { _: "pageBlockHeading2", text: r.object() };
|
|
2678
|
+
},
|
|
2679
|
+
1743204781: function(r) {
|
|
2680
|
+
return { _: "pageBlockHeading3", text: r.object() };
|
|
2681
|
+
},
|
|
2682
|
+
3039983403: function(r) {
|
|
2683
|
+
return { _: "pageBlockHeading4", text: r.object() };
|
|
2684
|
+
},
|
|
2685
|
+
3686689898: function(r) {
|
|
2686
|
+
return { _: "pageBlockHeading5", text: r.object() };
|
|
2687
|
+
},
|
|
2688
|
+
1747599785: function(r) {
|
|
2689
|
+
return { _: "pageBlockHeading6", text: r.object() };
|
|
2690
|
+
},
|
|
2691
|
+
1493699616: function(r) {
|
|
2692
|
+
return { _: "pageBlockMath", source: r.string() };
|
|
2693
|
+
},
|
|
2694
|
+
1009361890: function(r) {
|
|
2695
|
+
return { _: "pageBlockThinking", text: r.object() };
|
|
2696
|
+
},
|
|
2697
|
+
1464557951: function(r) {
|
|
2698
|
+
return { _: "inputPageBlockMap", geo: r.object(), zoom: r.int(), w: r.int(), h: r.int(), caption: r.object() };
|
|
2699
|
+
},
|
|
2700
|
+
242108356: function(r) {
|
|
2701
|
+
return { _: "pageBlockBlockquoteBlocks", blocks: r.vector(r.object), caption: r.object() };
|
|
2702
|
+
},
|
|
2602
2703
|
2246320897: function(r) {
|
|
2603
2704
|
return { _: "phoneCallDiscardReasonMissed" };
|
|
2604
2705
|
},
|
|
@@ -3224,17 +3325,21 @@ var m = {
|
|
|
3224
3325
|
1869903447: function(r) {
|
|
3225
3326
|
return { _: "pageCaption", text: r.object(), credit: r.object() };
|
|
3226
3327
|
},
|
|
3227
|
-
|
|
3228
|
-
|
|
3328
|
+
794323004: function(r) {
|
|
3329
|
+
var flags = r.uint();
|
|
3330
|
+
return { _: "pageListItemText", checkbox: !!(flags & 1), checked: !!(flags & 2), text: r.object() };
|
|
3229
3331
|
},
|
|
3230
|
-
|
|
3231
|
-
|
|
3332
|
+
1674209194: function(r) {
|
|
3333
|
+
var flags = r.uint();
|
|
3334
|
+
return { _: "pageListItemBlocks", checkbox: !!(flags & 1), checked: !!(flags & 2), blocks: r.vector(r.object) };
|
|
3232
3335
|
},
|
|
3233
|
-
|
|
3234
|
-
|
|
3336
|
+
352522633: function(r) {
|
|
3337
|
+
var flags = r.uint();
|
|
3338
|
+
return { _: "pageListOrderedItemText", checkbox: !!(flags & 1), checked: !!(flags & 2), num: flags & 4 ? r.string() : void 0, text: r.object(), value: flags & 8 ? r.int() : void 0, type: flags & 16 ? r.string() : void 0 };
|
|
3235
3339
|
},
|
|
3236
|
-
|
|
3237
|
-
|
|
3340
|
+
2415056368: function(r) {
|
|
3341
|
+
var flags = r.uint();
|
|
3342
|
+
return { _: "pageListOrderedItemBlocks", checkbox: !!(flags & 1), checked: !!(flags & 2), num: flags & 4 ? r.string() : void 0, blocks: r.vector(r.object), value: flags & 8 ? r.int() : void 0, type: flags & 16 ? r.string() : void 0 };
|
|
3238
3343
|
},
|
|
3239
3344
|
3012615176: function(r) {
|
|
3240
3345
|
var flags = r.uint();
|
|
@@ -3557,7 +3662,7 @@ var m = {
|
|
|
3557
3662
|
},
|
|
3558
3663
|
462937446: function(r) {
|
|
3559
3664
|
var flags = r.uint();
|
|
3560
|
-
return { _: "messageReplyHeader", replyToScheduled: !!(flags & 4), forumTopic: !!(flags & 8), quote: !!(flags & 512), replyToMsgId: flags & 16 ? r.int() : void 0, replyToPeerId: flags & 1 ? r.object() : void 0, replyFrom: flags & 32 ? r.object() : void 0, replyMedia: flags & 256 ? r.object() : void 0, replyToTopId: flags & 2 ? r.int() : void 0, quoteText: flags & 64 ? r.string() : void 0, quoteEntities: flags & 128 ? r.vector(r.object) : void 0, quoteOffset: flags & 1024 ? r.int() : void 0, todoItemId: flags & 2048 ? r.int() : void 0, pollOption: flags & 4096 ? r.bytes() : void 0 };
|
|
3665
|
+
return { _: "messageReplyHeader", replyToScheduled: !!(flags & 4), forumTopic: !!(flags & 8), quote: !!(flags & 512), replyToMsgId: flags & 16 ? r.int() : void 0, replyToPeerId: flags & 1 ? r.object() : void 0, replyFrom: flags & 32 ? r.object() : void 0, replyMedia: flags & 256 ? r.object() : void 0, replyToTopId: flags & 2 ? r.int() : void 0, quoteText: flags & 64 ? r.string() : void 0, quoteEntities: flags & 128 ? r.vector(r.object) : void 0, quoteOffset: flags & 1024 ? r.int() : void 0, todoItemId: flags & 2048 ? r.int() : void 0, pollOption: flags & 4096 ? r.bytes() : void 0, replyToEphemeral: !!(flags & 8192) };
|
|
3561
3666
|
},
|
|
3562
3667
|
240843065: function(r) {
|
|
3563
3668
|
return { _: "messageReplyStoryHeader", peer: r.object(), storyId: r.int() };
|
|
@@ -3804,7 +3909,7 @@ var m = {
|
|
|
3804
3909
|
},
|
|
3805
3910
|
1294139288: function(r) {
|
|
3806
3911
|
var flags = r.uint();
|
|
3807
|
-
return { _: "webViewResultUrl", fullsize: !!(flags & 2), fullscreen: !!(flags & 4), queryId: flags & 1 ? r.long() : void 0, url: r.string() };
|
|
3912
|
+
return { _: "webViewResultUrl", fullsize: !!(flags & 2), fullscreen: !!(flags & 4), sameOrigin: !!(flags & 8), queryId: flags & 1 ? r.long() : void 0, url: r.string() };
|
|
3808
3913
|
},
|
|
3809
3914
|
211046684: function(r) {
|
|
3810
3915
|
var flags = r.uint();
|
|
@@ -4496,9 +4601,9 @@ var m = {
|
|
|
4496
4601
|
1603398491: function(r) {
|
|
4497
4602
|
return { _: "messages.quickRepliesNotModified" };
|
|
4498
4603
|
},
|
|
4499
|
-
|
|
4500
|
-
r.uint();
|
|
4501
|
-
return { _: "connectedBot", botId: r.int53(), recipients: r.object(), rights: r.object() };
|
|
4604
|
+
54448129: function(r) {
|
|
4605
|
+
var flags = r.uint();
|
|
4606
|
+
return { _: "connectedBot", botId: r.int53(), recipients: r.object(), rights: r.object(), device: flags & 1 ? r.string() : void 0, date: flags & 2 ? r.int() : void 0, location: flags & 4 ? r.string() : void 0 };
|
|
4502
4607
|
},
|
|
4503
4608
|
400029819: function(r) {
|
|
4504
4609
|
return { _: "account.connectedBots", connectedBots: r.vector(r.object), users: r.vector(r.object) };
|
|
@@ -5168,6 +5273,57 @@ var m = {
|
|
|
5168
5273
|
var flags = r.uint();
|
|
5169
5274
|
return { _: "bots.accessSettings", restricted: !!(flags & 1), addUsers: flags & 2 ? r.vector(r.object) : void 0 };
|
|
5170
5275
|
},
|
|
5276
|
+
1146512295: function(r) {
|
|
5277
|
+
return { _: "messages.chatInviteJoinResultOk", updates: r.object() };
|
|
5278
|
+
},
|
|
5279
|
+
793887543: function(r) {
|
|
5280
|
+
return { _: "messages.chatInviteJoinResultWebView", botId: r.int53(), webview: r.object(), users: r.vector(r.object) };
|
|
5281
|
+
},
|
|
5282
|
+
2920622697: function(r) {
|
|
5283
|
+
return { _: "joinChatBotResultApproved" };
|
|
5284
|
+
},
|
|
5285
|
+
251265428: function(r) {
|
|
5286
|
+
return { _: "joinChatBotResultDeclined" };
|
|
5287
|
+
},
|
|
5288
|
+
2560862272: function(r) {
|
|
5289
|
+
return { _: "joinChatBotResultQueued" };
|
|
5290
|
+
},
|
|
5291
|
+
3605248019: function(r) {
|
|
5292
|
+
return { _: "joinChatBotResultWebView", url: r.string() };
|
|
5293
|
+
},
|
|
5294
|
+
2470225303: function(r) {
|
|
5295
|
+
var flags = r.uint();
|
|
5296
|
+
return { _: "webDomainException", domain: r.string(), url: r.string(), title: r.string(), favicon: flags & 1 ? r.long() : void 0 };
|
|
5297
|
+
},
|
|
5298
|
+
3273428814: function(r) {
|
|
5299
|
+
return { _: "account.webBrowserSettingsNotModified" };
|
|
5300
|
+
},
|
|
5301
|
+
2045480115: function(r) {
|
|
5302
|
+
var flags = r.uint();
|
|
5303
|
+
return { _: "account.webBrowserSettings", openExternalBrowser: !!(flags & 1), displayCloseButton: !!(flags & 2), externalExceptions: r.vector(r.object), inappExceptions: r.vector(r.object), hash: r.long() };
|
|
5304
|
+
},
|
|
5305
|
+
2600493611: function(r) {
|
|
5306
|
+
return { _: "inputRichFilePhoto", id: r.string(), photo: r.object() };
|
|
5307
|
+
},
|
|
5308
|
+
2200444349: function(r) {
|
|
5309
|
+
return { _: "inputRichFileDocument", id: r.string(), document: r.object() };
|
|
5310
|
+
},
|
|
5311
|
+
3838069244: function(r) {
|
|
5312
|
+
var flags = r.uint();
|
|
5313
|
+
return { _: "inputRichMessage", rtl: !!(flags & 1), noautolink: !!(flags & 2), blocks: r.vector(r.object), photos: flags & 4 ? r.vector(r.object) : void 0, documents: flags & 8 ? r.vector(r.object) : void 0, users: flags & 16 ? r.vector(r.object) : void 0 };
|
|
5314
|
+
},
|
|
5315
|
+
3670770538: function(r) {
|
|
5316
|
+
var flags = r.uint();
|
|
5317
|
+
return { _: "inputRichMessageHTML", rtl: !!(flags & 1), noautolink: !!(flags & 2), html: r.string(), files: flags & 4 ? r.vector(r.object) : void 0 };
|
|
5318
|
+
},
|
|
5319
|
+
4937516: function(r) {
|
|
5320
|
+
var flags = r.uint();
|
|
5321
|
+
return { _: "inputRichMessageMarkdown", rtl: !!(flags & 1), noautolink: !!(flags & 2), markdown: r.string(), files: flags & 4 ? r.vector(r.object) : void 0 };
|
|
5322
|
+
},
|
|
5323
|
+
3136527755: function(r) {
|
|
5324
|
+
var flags = r.uint();
|
|
5325
|
+
return { _: "richMessage", rtl: !!(flags & 1), part: !!(flags & 2), blocks: r.vector(r.object), photos: r.vector(r.object), documents: r.vector(r.object) };
|
|
5326
|
+
},
|
|
5171
5327
|
422509539: function(r) {
|
|
5172
5328
|
var flags = r.uint();
|
|
5173
5329
|
return { _: "updateChannelPinnedTopic", pinned: !!(flags & 1), channelId: r.int53(), topicId: r.int() };
|