@mtcute/core 0.30.3 → 0.32.0
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 +85 -0
- package/client.js +85 -0
- package/highlevel/client.d.cts +411 -116
- package/highlevel/client.d.ts +411 -116
- package/highlevel/methods/auth/sign-in-qr.cjs +2 -0
- package/highlevel/methods/auth/sign-in-qr.js +2 -0
- package/highlevel/methods/auth/sign-in-qr.test.d.cts +1 -0
- package/highlevel/methods/auth/sign-in-qr.test.d.ts +1 -0
- package/highlevel/methods/chats/build-peers-index.cjs +45 -0
- package/highlevel/methods/chats/build-peers-index.d.cts +13 -0
- package/highlevel/methods/chats/build-peers-index.d.ts +13 -0
- package/highlevel/methods/chats/build-peers-index.js +40 -0
- package/highlevel/methods/chats/join-chat.cjs +1 -1
- package/highlevel/methods/chats/join-chat.d.cts +2 -1
- package/highlevel/methods/chats/join-chat.d.ts +2 -1
- package/highlevel/methods/chats/join-chat.js +1 -1
- package/highlevel/methods/chats/transfer-chat-ownership.cjs +6 -17
- package/highlevel/methods/chats/transfer-chat-ownership.js +6 -17
- package/highlevel/methods/communities/ban-community-participant.cjs +30 -0
- package/highlevel/methods/communities/ban-community-participant.d.cts +20 -0
- package/highlevel/methods/communities/ban-community-participant.d.ts +20 -0
- package/highlevel/methods/communities/ban-community-participant.js +25 -0
- package/highlevel/methods/communities/create-community.cjs +29 -0
- package/highlevel/methods/communities/create-community.d.cts +22 -0
- package/highlevel/methods/communities/create-community.d.ts +22 -0
- package/highlevel/methods/communities/create-community.js +24 -0
- package/highlevel/methods/communities/get-community-link-requests.cjs +27 -0
- package/highlevel/methods/communities/get-community-link-requests.d.cts +17 -0
- package/highlevel/methods/communities/get-community-link-requests.d.ts +17 -0
- package/highlevel/methods/communities/get-community-link-requests.js +22 -0
- package/highlevel/methods/communities/get-community-participant-chats.cjs +24 -0
- package/highlevel/methods/communities/get-community-participant-chats.d.cts +17 -0
- package/highlevel/methods/communities/get-community-participant-chats.d.ts +17 -0
- package/highlevel/methods/communities/get-community-participant-chats.js +19 -0
- package/highlevel/methods/communities/get-joined-communities.cjs +21 -0
- package/highlevel/methods/communities/get-joined-communities.d.cts +6 -0
- package/highlevel/methods/communities/get-joined-communities.d.ts +6 -0
- package/highlevel/methods/communities/get-joined-communities.js +16 -0
- package/highlevel/methods/communities/hide-community-link-request.cjs +30 -0
- package/highlevel/methods/communities/hide-community-link-request.d.cts +22 -0
- package/highlevel/methods/communities/hide-community-link-request.d.ts +22 -0
- package/highlevel/methods/communities/hide-community-link-request.js +25 -0
- package/highlevel/methods/communities/link-community-peer.cjs +32 -0
- package/highlevel/methods/communities/link-community-peer.d.cts +22 -0
- package/highlevel/methods/communities/link-community-peer.d.ts +22 -0
- package/highlevel/methods/communities/link-community-peer.js +27 -0
- package/highlevel/methods/communities/toggle-community-collapsed.cjs +18 -0
- package/highlevel/methods/communities/toggle-community-collapsed.d.cts +16 -0
- package/highlevel/methods/communities/toggle-community-collapsed.d.ts +16 -0
- package/highlevel/methods/communities/toggle-community-collapsed.js +13 -0
- package/highlevel/methods/ephemeral/delete-all-welcome-messages.cjs +17 -0
- package/highlevel/methods/ephemeral/delete-all-welcome-messages.d.cts +8 -0
- package/highlevel/methods/ephemeral/delete-all-welcome-messages.d.ts +8 -0
- package/highlevel/methods/ephemeral/delete-all-welcome-messages.js +12 -0
- package/highlevel/methods/ephemeral/delete-ephemeral-message.cjs +20 -0
- package/highlevel/methods/ephemeral/delete-ephemeral-message.d.cts +13 -0
- package/highlevel/methods/ephemeral/delete-ephemeral-message.d.ts +13 -0
- package/highlevel/methods/ephemeral/delete-ephemeral-message.js +15 -0
- package/highlevel/methods/ephemeral/delete-welcome-message.cjs +18 -0
- package/highlevel/methods/ephemeral/delete-welcome-message.d.cts +9 -0
- package/highlevel/methods/ephemeral/delete-welcome-message.d.ts +9 -0
- package/highlevel/methods/ephemeral/delete-welcome-message.js +13 -0
- package/highlevel/methods/ephemeral/edit-ephemeral-message.cjs +41 -0
- package/highlevel/methods/ephemeral/edit-ephemeral-message.d.cts +39 -0
- package/highlevel/methods/ephemeral/edit-ephemeral-message.d.ts +39 -0
- package/highlevel/methods/ephemeral/edit-ephemeral-message.js +36 -0
- package/highlevel/methods/ephemeral/find-in-update.cjs +27 -0
- package/highlevel/methods/ephemeral/find-in-update.d.cts +8 -0
- package/highlevel/methods/ephemeral/find-in-update.d.ts +8 -0
- package/highlevel/methods/ephemeral/find-in-update.js +22 -0
- package/highlevel/methods/ephemeral/get-ephemeral-callback-answer.cjs +31 -0
- package/highlevel/methods/ephemeral/get-ephemeral-callback-answer.d.cts +29 -0
- package/highlevel/methods/ephemeral/get-ephemeral-callback-answer.d.ts +29 -0
- package/highlevel/methods/ephemeral/get-ephemeral-callback-answer.js +26 -0
- package/highlevel/methods/ephemeral/get-welcome-messages.cjs +29 -0
- package/highlevel/methods/ephemeral/get-welcome-messages.d.cts +8 -0
- package/highlevel/methods/ephemeral/get-welcome-messages.d.ts +8 -0
- package/highlevel/methods/ephemeral/get-welcome-messages.js +24 -0
- package/highlevel/methods/ephemeral/send-ephemeral-message.cjs +48 -0
- package/highlevel/methods/ephemeral/send-ephemeral-message.d.cts +47 -0
- package/highlevel/methods/ephemeral/send-ephemeral-message.d.ts +47 -0
- package/highlevel/methods/ephemeral/send-ephemeral-message.js +43 -0
- package/highlevel/methods/files/download-iterable.cjs +7 -2
- package/highlevel/methods/files/download-iterable.js +7 -2
- package/highlevel/methods/files/download-iterable.test.d.cts +1 -0
- package/highlevel/methods/files/download-iterable.test.d.ts +1 -0
- package/highlevel/methods/files/download-stream.cjs +5 -6
- package/highlevel/methods/files/download-stream.js +5 -6
- package/highlevel/methods/files/normalize-input-media.cjs +25 -4
- package/highlevel/methods/files/normalize-input-media.js +25 -4
- package/highlevel/methods/forums/create-forum-topic.d.cts +7 -0
- package/highlevel/methods/forums/create-forum-topic.d.ts +7 -0
- package/highlevel/methods/forums/delete-forum-topic-history.d.cts +1 -1
- package/highlevel/methods/forums/delete-forum-topic-history.d.ts +1 -1
- package/highlevel/methods/forums/edit-forum-topic.cjs +2 -2
- package/highlevel/methods/forums/edit-forum-topic.d.cts +2 -2
- package/highlevel/methods/forums/edit-forum-topic.d.ts +2 -2
- package/highlevel/methods/forums/edit-forum-topic.js +2 -2
- package/highlevel/methods/forums/get-forum-topics-by-id.cjs +5 -1
- package/highlevel/methods/forums/get-forum-topics-by-id.d.cts +9 -1
- package/highlevel/methods/forums/get-forum-topics-by-id.d.ts +9 -1
- package/highlevel/methods/forums/get-forum-topics-by-id.js +5 -1
- package/highlevel/methods/forums/get-forum-topics-by-id.test.d.cts +1 -0
- package/highlevel/methods/forums/get-forum-topics-by-id.test.d.ts +1 -0
- package/highlevel/methods/forums/get-forum-topics.cjs +1 -1
- package/highlevel/methods/forums/get-forum-topics.js +1 -1
- package/highlevel/methods/forums/toggle-forum-topic-closed.cjs +1 -1
- package/highlevel/methods/forums/toggle-forum-topic-closed.d.cts +1 -1
- package/highlevel/methods/forums/toggle-forum-topic-closed.d.ts +1 -1
- package/highlevel/methods/forums/toggle-forum-topic-closed.js +1 -1
- package/highlevel/methods/forums/toggle-forum-topic-pinned.d.cts +1 -1
- package/highlevel/methods/forums/toggle-forum-topic-pinned.d.ts +1 -1
- package/highlevel/methods/forums/toggle-general-topic-hidden.cjs +3 -3
- package/highlevel/methods/forums/toggle-general-topic-hidden.js +4 -4
- package/highlevel/methods/gifts/buy-resale-gift.cjs +5 -2
- package/highlevel/methods/gifts/buy-resale-gift.d.cts +11 -1
- package/highlevel/methods/gifts/buy-resale-gift.d.ts +11 -1
- package/highlevel/methods/gifts/buy-resale-gift.js +5 -2
- package/highlevel/methods/messages/forward-messages.cjs +1 -0
- package/highlevel/methods/messages/forward-messages.d.cts +2 -0
- package/highlevel/methods/messages/forward-messages.d.ts +2 -0
- package/highlevel/methods/messages/forward-messages.js +1 -0
- package/highlevel/methods/messages/normalize-rich-message.cjs +3 -0
- package/highlevel/methods/messages/normalize-rich-message.js +3 -0
- package/highlevel/methods/messages/send-common.d.cts +7 -1
- package/highlevel/methods/messages/send-common.d.ts +7 -1
- package/highlevel/methods/messages/send-text.cjs +70 -35
- package/highlevel/methods/messages/send-text.js +70 -35
- package/highlevel/methods/messages/send-typing.d.cts +3 -3
- package/highlevel/methods/messages/send-typing.d.ts +3 -3
- package/highlevel/methods/messages/set-typing.cjs +1 -1
- package/highlevel/methods/messages/set-typing.d.cts +2 -2
- package/highlevel/methods/messages/set-typing.d.ts +2 -2
- package/highlevel/methods/messages/set-typing.js +1 -1
- package/highlevel/methods/users/resolve-peer.cjs +11 -1
- package/highlevel/methods/users/resolve-peer.js +11 -1
- package/highlevel/methods.d.cts +19 -0
- package/highlevel/methods.d.ts +19 -0
- package/highlevel/storage/service/peers.cjs +25 -0
- package/highlevel/storage/service/peers.js +25 -0
- package/highlevel/storage/service/peers.test.d.cts +1 -0
- package/highlevel/storage/service/peers.test.d.ts +1 -0
- package/highlevel/types/bots/keyboards/builder.cjs +5 -5
- package/highlevel/types/bots/keyboards/builder.d.cts +8 -9
- package/highlevel/types/bots/keyboards/builder.d.ts +8 -9
- package/highlevel/types/bots/keyboards/builder.js +5 -5
- package/highlevel/types/bots/keyboards/factories.cjs +51 -103
- package/highlevel/types/bots/keyboards/factories.d.cts +58 -89
- package/highlevel/types/bots/keyboards/factories.d.ts +58 -89
- package/highlevel/types/bots/keyboards/factories.js +51 -103
- package/highlevel/types/bots/keyboards/index.d.cts +3 -3
- package/highlevel/types/bots/keyboards/index.d.ts +3 -3
- package/highlevel/types/bots/keyboards/normalize.cjs +131 -0
- package/highlevel/types/bots/keyboards/normalize.d.cts +10 -0
- package/highlevel/types/bots/keyboards/normalize.d.ts +10 -0
- package/highlevel/types/bots/keyboards/normalize.js +126 -0
- package/highlevel/types/bots/keyboards/types.d.cts +160 -4
- package/highlevel/types/bots/keyboards/types.d.ts +160 -4
- package/highlevel/types/conversation.cjs +8 -0
- package/highlevel/types/conversation.d.cts +1 -0
- package/highlevel/types/conversation.d.ts +1 -0
- package/highlevel/types/conversation.js +10 -2
- package/highlevel/types/conversation.test.d.cts +1 -0
- package/highlevel/types/conversation.test.d.ts +1 -0
- package/highlevel/types/messages/dialog.cjs +8 -1
- package/highlevel/types/messages/dialog.d.cts +3 -0
- package/highlevel/types/messages/dialog.d.ts +3 -0
- package/highlevel/types/messages/dialog.js +8 -1
- package/highlevel/types/messages/dialog.test.d.cts +1 -0
- package/highlevel/types/messages/dialog.test.d.ts +1 -0
- package/highlevel/types/messages/ephemeral-message.cjs +135 -0
- package/highlevel/types/messages/ephemeral-message.d.cts +75 -0
- package/highlevel/types/messages/ephemeral-message.d.ts +75 -0
- package/highlevel/types/messages/ephemeral-message.js +130 -0
- package/highlevel/types/messages/index.d.cts +1 -0
- package/highlevel/types/messages/index.d.ts +1 -0
- package/highlevel/types/messages/message-action.cjs +14 -1
- package/highlevel/types/messages/message-action.d.cts +18 -1
- package/highlevel/types/messages/message-action.d.ts +18 -1
- package/highlevel/types/messages/message-action.js +14 -1
- package/highlevel/types/messages/message.cjs +7 -2
- package/highlevel/types/messages/message.d.cts +2 -2
- package/highlevel/types/messages/message.d.ts +2 -2
- package/highlevel/types/messages/message.js +8 -3
- package/highlevel/types/messages/replied-message.cjs +5 -1
- package/highlevel/types/messages/replied-message.d.cts +5 -1
- package/highlevel/types/messages/replied-message.d.ts +5 -1
- package/highlevel/types/messages/replied-message.js +5 -1
- package/highlevel/types/messages/rich/inner.cjs +37 -0
- package/highlevel/types/messages/rich/inner.d.cts +19 -0
- package/highlevel/types/messages/rich/inner.d.ts +19 -0
- package/highlevel/types/messages/rich/inner.js +37 -0
- package/highlevel/types/peers/chat.cjs +23 -3
- package/highlevel/types/peers/chat.d.cts +8 -3
- package/highlevel/types/peers/chat.d.ts +8 -3
- package/highlevel/types/peers/chat.js +24 -4
- package/highlevel/types/peers/community-peer.cjs +60 -0
- package/highlevel/types/peers/community-peer.d.cts +37 -0
- package/highlevel/types/peers/community-peer.d.ts +37 -0
- package/highlevel/types/peers/community-peer.js +55 -0
- package/highlevel/types/peers/full-chat.cjs +24 -5
- package/highlevel/types/peers/full-chat.d.cts +7 -0
- package/highlevel/types/peers/full-chat.d.ts +7 -0
- package/highlevel/types/peers/full-chat.js +24 -5
- package/highlevel/types/peers/index.d.cts +1 -0
- package/highlevel/types/peers/index.d.ts +1 -0
- package/highlevel/types/peers/peer.cjs +2 -0
- package/highlevel/types/peers/peer.js +2 -0
- package/highlevel/types/peers/typing-status.d.cts +4 -1
- package/highlevel/types/peers/typing-status.d.ts +4 -1
- package/highlevel/types/peers/user.cjs +6 -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 +6 -0
- package/highlevel/types/updates/delete-ephemeral-messages-update.cjs +27 -0
- package/highlevel/types/updates/delete-ephemeral-messages-update.d.cts +15 -0
- package/highlevel/types/updates/delete-ephemeral-messages-update.d.ts +15 -0
- package/highlevel/types/updates/delete-ephemeral-messages-update.js +22 -0
- package/highlevel/types/updates/ephemeral-callback-query.cjs +69 -0
- package/highlevel/types/updates/ephemeral-callback-query.d.cts +44 -0
- package/highlevel/types/updates/ephemeral-callback-query.d.ts +44 -0
- package/highlevel/types/updates/ephemeral-callback-query.js +64 -0
- package/highlevel/types/updates/index.d.cts +16 -2
- package/highlevel/types/updates/index.d.ts +16 -2
- package/highlevel/types/updates/parse-update.cjs +12 -1
- package/highlevel/types/updates/parse-update.js +12 -1
- package/highlevel/types/updates/user-typing-update.cjs +18 -0
- package/highlevel/types/updates/user-typing-update.d.cts +9 -0
- package/highlevel/types/updates/user-typing-update.d.ts +9 -0
- package/highlevel/types/updates/user-typing-update.js +18 -0
- package/highlevel/updates/manager.cjs +71 -41
- package/highlevel/updates/manager.d.cts +1 -0
- package/highlevel/updates/manager.d.ts +1 -0
- package/highlevel/updates/manager.js +71 -41
- package/highlevel/updates/manager.test.d.cts +1 -0
- package/highlevel/updates/manager.test.d.ts +1 -0
- package/highlevel/utils/stream-utils.cjs +8 -4
- package/highlevel/utils/stream-utils.js +8 -4
- package/highlevel/utils/stream-utils.test.d.cts +1 -0
- package/highlevel/utils/stream-utils.test.d.ts +1 -0
- package/highlevel/utils/walk-page-blocks.cjs +9 -0
- package/highlevel/utils/walk-page-blocks.js +9 -0
- package/index.cjs +10 -0
- package/index.js +11 -1
- package/methods.cjs +33 -0
- package/methods.js +33 -0
- package/network/client.cjs +4 -3
- package/network/client.d.cts +1 -0
- package/network/client.d.ts +1 -0
- package/network/client.js +4 -3
- package/network/middlewares/flood-waiter.cjs +2 -2
- package/network/middlewares/flood-waiter.js +2 -2
- package/network/middlewares/internal-errors.cjs +1 -1
- package/network/middlewares/internal-errors.js +1 -1
- package/network/middlewares/media-throttle.cjs +1 -1
- package/network/middlewares/media-throttle.js +1 -1
- package/network/mtproto-session.cjs +9 -2
- package/network/mtproto-session.d.cts +3 -1
- package/network/mtproto-session.d.ts +3 -1
- package/network/mtproto-session.js +9 -2
- package/network/mtproxy/index.cjs +4 -3
- package/network/mtproxy/index.d.cts +2 -2
- package/network/mtproxy/index.d.ts +2 -2
- package/network/mtproxy/index.js +4 -3
- package/network/network-manager.cjs +44 -16
- package/network/network-manager.d.cts +10 -3
- package/network/network-manager.d.ts +10 -3
- package/network/network-manager.js +45 -17
- package/network/network-manager.test.d.cts +1 -0
- package/network/network-manager.test.d.ts +1 -0
- package/network/persistent-connection.cjs +10 -2
- package/network/persistent-connection.js +10 -2
- package/network/session-connection.cjs +15 -6
- package/network/session-connection.js +15 -6
- package/network/session-connection.test.d.cts +1 -0
- package/network/session-connection.test.d.ts +1 -0
- package/network/transports/abstract.cjs +16 -0
- package/network/transports/abstract.d.cts +8 -2
- package/network/transports/abstract.d.ts +8 -2
- package/network/transports/abstract.js +17 -1
- package/network/transports/obfuscated.cjs +3 -1
- package/network/transports/obfuscated.js +3 -1
- package/package.json +6 -6
- package/tl/api-schema.json +1 -1
- package/tl/binary/reader.cjs +221 -103
- package/tl/binary/reader.js +221 -103
- package/tl/binary/writer.cjs +693 -277
- package/tl/binary/writer.js +693 -277
- package/tl/compat/reader.cjs +93 -0
- package/tl/compat/reader.js +93 -0
- package/tl/index.d.cts +12529 -4762
- package/tl/index.d.ts +12529 -4762
- package/tl/inner-tl.cjs +90 -24
- package/tl/inner-tl.js +90 -24
- package/tl/raw-errors.json +1 -1
- package/tl/rpc-error.test.d.cts +1 -0
- package/tl/rpc-error.test.d.ts +1 -0
- package/utils/abort-signal.cjs +1 -12
- package/utils/abort-signal.js +1 -12
- package/utils/abort-signal.test.d.cts +1 -0
- package/utils/abort-signal.test.d.ts +1 -0
- package/utils/binary/compat.cjs +189 -29
- package/utils/binary/compat.js +189 -29
- package/utils/early-timer.cjs +3 -11
- package/utils/early-timer.js +3 -11
- package/utils/early-timer.test.d.cts +1 -0
- package/utils/early-timer.test.d.ts +1 -0
- package/utils/function-utils.cjs +9 -4
- package/utils/function-utils.js +9 -4
- package/utils/links/bots.cjs +10 -2
- package/utils/links/bots.js +10 -2
- package/utils/peer-utils.cjs +8 -0
- package/utils/peer-utils.js +8 -0
package/tl/binary/writer.cjs
CHANGED
|
@@ -498,7 +498,7 @@ var m = {
|
|
|
498
498
|
w.int53(h(v, "id"));
|
|
499
499
|
},
|
|
500
500
|
"user": function(w, v) {
|
|
501
|
-
w.uint(
|
|
501
|
+
w.uint(2981678211);
|
|
502
502
|
var flags = 0;
|
|
503
503
|
var _accessHash = v.accessHash !== void 0;
|
|
504
504
|
if (_accessHash) flags |= 1;
|
|
@@ -570,6 +570,8 @@ var m = {
|
|
|
570
570
|
if (v.botCanManageBots === true) flags2 |= 262144;
|
|
571
571
|
if (v.botGuestchat === true) flags2 |= 524288;
|
|
572
572
|
if (v.botGuard === true) flags2 |= 1048576;
|
|
573
|
+
var _linkedCommunityId = v.linkedCommunityId !== void 0;
|
|
574
|
+
if (_linkedCommunityId) flags2 |= 2097152;
|
|
573
575
|
w.uint(flags2);
|
|
574
576
|
w.int53(h(v, "id"));
|
|
575
577
|
if (_accessHash) w.long(v.accessHash);
|
|
@@ -591,6 +593,7 @@ var m = {
|
|
|
591
593
|
if (_botActiveUsers) w.int(v.botActiveUsers);
|
|
592
594
|
if (_botVerificationIcon) w.long(v.botVerificationIcon);
|
|
593
595
|
if (_sendPaidMessagesStars) w.long(v.sendPaidMessagesStars);
|
|
596
|
+
if (_linkedCommunityId) w.int53(v.linkedCommunityId);
|
|
594
597
|
},
|
|
595
598
|
"userProfilePhotoEmpty": function(w) {
|
|
596
599
|
w.uint(1326562017);
|
|
@@ -672,7 +675,7 @@ var m = {
|
|
|
672
675
|
w.string(h(v, "title"));
|
|
673
676
|
},
|
|
674
677
|
"channel": function(w, v) {
|
|
675
|
-
w.uint(
|
|
678
|
+
w.uint(3567203526);
|
|
676
679
|
var flags = 0;
|
|
677
680
|
if (v.creator === true) flags |= 1;
|
|
678
681
|
if (v.left === true) flags |= 4;
|
|
@@ -738,6 +741,8 @@ var m = {
|
|
|
738
741
|
var _linkedMonoforumId = v.linkedMonoforumId !== void 0;
|
|
739
742
|
if (_linkedMonoforumId) flags2 |= 262144;
|
|
740
743
|
if (v.forumTabs === true) flags2 |= 524288;
|
|
744
|
+
var _linkedCommunityId = v.linkedCommunityId !== void 0;
|
|
745
|
+
if (_linkedCommunityId) flags2 |= 1048576;
|
|
741
746
|
w.uint(flags2);
|
|
742
747
|
w.int53(h(v, "id"));
|
|
743
748
|
if (_accessHash) w.long(v.accessHash);
|
|
@@ -760,6 +765,7 @@ var m = {
|
|
|
760
765
|
if (_botVerificationIcon) w.long(v.botVerificationIcon);
|
|
761
766
|
if (_sendPaidMessagesStars) w.long(v.sendPaidMessagesStars);
|
|
762
767
|
if (_linkedMonoforumId) w.int53(v.linkedMonoforumId);
|
|
768
|
+
if (_linkedCommunityId) w.int53(v.linkedCommunityId);
|
|
763
769
|
},
|
|
764
770
|
"channelForbidden": function(w, v) {
|
|
765
771
|
w.uint(399807445);
|
|
@@ -775,6 +781,40 @@ var m = {
|
|
|
775
781
|
w.string(h(v, "title"));
|
|
776
782
|
if (_untilDate) w.int(v.untilDate);
|
|
777
783
|
},
|
|
784
|
+
"communityForbidden": function(w, v) {
|
|
785
|
+
w.uint(4248623800);
|
|
786
|
+
var flags = 0;
|
|
787
|
+
var _accessHash = v.accessHash !== void 0;
|
|
788
|
+
if (_accessHash) flags |= 8192;
|
|
789
|
+
w.uint(flags);
|
|
790
|
+
w.int53(h(v, "id"));
|
|
791
|
+
if (_accessHash) w.long(v.accessHash);
|
|
792
|
+
w.string(h(v, "title"));
|
|
793
|
+
},
|
|
794
|
+
"community": function(w, v) {
|
|
795
|
+
w.uint(1710221652);
|
|
796
|
+
var flags = 0;
|
|
797
|
+
if (v.creator === true) flags |= 1;
|
|
798
|
+
if (v.left === true) flags |= 4;
|
|
799
|
+
if (v.min === true) flags |= 4096;
|
|
800
|
+
var _accessHash = v.accessHash !== void 0;
|
|
801
|
+
if (_accessHash) flags |= 8192;
|
|
802
|
+
var _adminRights = v.adminRights !== void 0;
|
|
803
|
+
if (_adminRights) flags |= 16384;
|
|
804
|
+
var _defaultBannedRights = v.defaultBannedRights !== void 0;
|
|
805
|
+
if (_defaultBannedRights) flags |= 262144;
|
|
806
|
+
w.uint(flags);
|
|
807
|
+
var flags2 = 0;
|
|
808
|
+
if (v.collapsedInDialogs === true) flags2 |= 1048576;
|
|
809
|
+
w.uint(flags2);
|
|
810
|
+
w.int53(h(v, "id"));
|
|
811
|
+
if (_accessHash) w.long(v.accessHash);
|
|
812
|
+
w.string(h(v, "title"));
|
|
813
|
+
w.object(h(v, "photo"));
|
|
814
|
+
w.int(h(v, "date"));
|
|
815
|
+
if (_adminRights) w.object(v.adminRights);
|
|
816
|
+
if (_defaultBannedRights) w.object(v.defaultBannedRights);
|
|
817
|
+
},
|
|
778
818
|
"chatFull": function(w, v) {
|
|
779
819
|
w.uint(640893467);
|
|
780
820
|
var flags = 0;
|
|
@@ -807,6 +847,7 @@ var m = {
|
|
|
807
847
|
if (v.translationsDisabled === true) flags |= 524288;
|
|
808
848
|
var _reactionsLimit = v.reactionsLimit !== void 0;
|
|
809
849
|
if (_reactionsLimit) flags |= 1048576;
|
|
850
|
+
if (v.hasWelcomeMessages === true) flags |= 2097152;
|
|
810
851
|
w.uint(flags);
|
|
811
852
|
w.int53(h(v, "id"));
|
|
812
853
|
w.string(h(v, "about"));
|
|
@@ -926,6 +967,7 @@ var m = {
|
|
|
926
967
|
if (_mainTab) flags2 |= 4194304;
|
|
927
968
|
var _guardBotId = v.guardBotId !== void 0;
|
|
928
969
|
if (_guardBotId) flags2 |= 8388608;
|
|
970
|
+
if (v.hasWelcomeMessages === true) flags2 |= 16777216;
|
|
929
971
|
w.uint(flags2);
|
|
930
972
|
w.int53(h(v, "id"));
|
|
931
973
|
w.string(h(v, "about"));
|
|
@@ -974,6 +1016,24 @@ var m = {
|
|
|
974
1016
|
if (_mainTab) w.object(v.mainTab);
|
|
975
1017
|
if (_guardBotId) w.int53(v.guardBotId);
|
|
976
1018
|
},
|
|
1019
|
+
"communityFull": function(w, v) {
|
|
1020
|
+
w.uint(3417810183);
|
|
1021
|
+
var flags = 0;
|
|
1022
|
+
var _peerLinkRequestsPending = v.peerLinkRequestsPending !== void 0;
|
|
1023
|
+
if (_peerLinkRequestsPending) flags |= 1;
|
|
1024
|
+
var _adminsCount = v.adminsCount !== void 0;
|
|
1025
|
+
if (_adminsCount) flags |= 2;
|
|
1026
|
+
var _kickedCount = v.kickedCount !== void 0;
|
|
1027
|
+
if (_kickedCount) flags |= 4;
|
|
1028
|
+
w.uint(flags);
|
|
1029
|
+
w.int53(h(v, "id"));
|
|
1030
|
+
w.string(h(v, "about"));
|
|
1031
|
+
w.object(h(v, "chatPhoto"));
|
|
1032
|
+
w.vector(w.object, h(v, "linkedPeers"));
|
|
1033
|
+
if (_adminsCount) w.int(v.adminsCount);
|
|
1034
|
+
if (_kickedCount) w.int(v.kickedCount);
|
|
1035
|
+
if (_peerLinkRequestsPending) w.int(v.peerLinkRequestsPending);
|
|
1036
|
+
},
|
|
977
1037
|
"chatParticipant": function(w, v) {
|
|
978
1038
|
w.uint(954703838);
|
|
979
1039
|
var flags = 0;
|
|
@@ -1792,7 +1852,7 @@ var m = {
|
|
|
1792
1852
|
if (_giftNum) w.int(v.giftNum);
|
|
1793
1853
|
},
|
|
1794
1854
|
"messageActionStarGiftUnique": function(w, v) {
|
|
1795
|
-
w.uint(
|
|
1855
|
+
w.uint(2115768711);
|
|
1796
1856
|
var flags = 0;
|
|
1797
1857
|
if (v.upgrade === true) flags |= 1;
|
|
1798
1858
|
if (v.transferred === true) flags |= 2;
|
|
@@ -1822,6 +1882,9 @@ var m = {
|
|
|
1822
1882
|
var _canCraftAt = v.canCraftAt !== void 0;
|
|
1823
1883
|
if (_canCraftAt) flags |= 32768;
|
|
1824
1884
|
if (v.craft === true) flags |= 65536;
|
|
1885
|
+
if (v.nameHidden === true) flags |= 131072;
|
|
1886
|
+
var _message = v.message !== void 0;
|
|
1887
|
+
if (_message) flags |= 262144;
|
|
1825
1888
|
w.uint(flags);
|
|
1826
1889
|
w.object(h(v, "gift"));
|
|
1827
1890
|
if (_canExportAt) w.int(v.canExportAt);
|
|
@@ -1834,6 +1897,7 @@ var m = {
|
|
|
1834
1897
|
if (_canResellAt) w.int(v.canResellAt);
|
|
1835
1898
|
if (_dropOriginalDetailsStars) w.long(v.dropOriginalDetailsStars);
|
|
1836
1899
|
if (_canCraftAt) w.int(v.canCraftAt);
|
|
1900
|
+
if (_message) w.object(v.message);
|
|
1837
1901
|
},
|
|
1838
1902
|
"messageActionPaidMessagesRefunded": function(w, v) {
|
|
1839
1903
|
w.uint(2887720909);
|
|
@@ -1964,6 +2028,18 @@ var m = {
|
|
|
1964
2028
|
w.uint(375414334);
|
|
1965
2029
|
w.int53(h(v, "botId"));
|
|
1966
2030
|
},
|
|
2031
|
+
"messageActionChangeCommunity": function(w, v) {
|
|
2032
|
+
w.uint(1562426088);
|
|
2033
|
+
var flags = 0;
|
|
2034
|
+
var _communityId = v.communityId !== void 0;
|
|
2035
|
+
if (_communityId) flags |= 1;
|
|
2036
|
+
w.uint(flags);
|
|
2037
|
+
if (_communityId) w.int53(v.communityId);
|
|
2038
|
+
},
|
|
2039
|
+
"messageActionChatJoinedViaCommunity": function(w, v) {
|
|
2040
|
+
w.uint(1250688640);
|
|
2041
|
+
w.int53(h(v, "communityId"));
|
|
2042
|
+
},
|
|
1967
2043
|
"dialog": function(w, v) {
|
|
1968
2044
|
w.uint(4236900339);
|
|
1969
2045
|
var flags = 0;
|
|
@@ -2006,6 +2082,14 @@ var m = {
|
|
|
2006
2082
|
w.int(h(v, "unreadMutedMessagesCount"));
|
|
2007
2083
|
w.int(h(v, "unreadUnmutedMessagesCount"));
|
|
2008
2084
|
},
|
|
2085
|
+
"dialogCommunity": function(w, v) {
|
|
2086
|
+
w.uint(4153018739);
|
|
2087
|
+
var flags = 0;
|
|
2088
|
+
if (v.pinned === true) flags |= 4;
|
|
2089
|
+
w.uint(flags);
|
|
2090
|
+
w.int53(h(v, "communityId"));
|
|
2091
|
+
w.object(h(v, "notifySettings"));
|
|
2092
|
+
},
|
|
2009
2093
|
"photoEmpty": function(w, v) {
|
|
2010
2094
|
w.uint(590459437);
|
|
2011
2095
|
w.long(h(v, "id"));
|
|
@@ -2148,6 +2232,10 @@ var m = {
|
|
|
2148
2232
|
w.object(h(v, "peer"));
|
|
2149
2233
|
w.int(h(v, "topMsgId"));
|
|
2150
2234
|
},
|
|
2235
|
+
"inputNotifyCommunity": function(w, v) {
|
|
2236
|
+
w.uint(666573532);
|
|
2237
|
+
w.object(h(v, "community"));
|
|
2238
|
+
},
|
|
2151
2239
|
"inputPeerNotifySettings": function(w, v) {
|
|
2152
2240
|
w.uint(3402328802);
|
|
2153
2241
|
var flags = 0;
|
|
@@ -3757,6 +3845,46 @@ var m = {
|
|
|
3757
3845
|
if (_openExternalBrowser) w.boolean(v.openExternalBrowser);
|
|
3758
3846
|
w.object(h(v, "exception"));
|
|
3759
3847
|
},
|
|
3848
|
+
"updateNewEphemeralMessage": function(w, v) {
|
|
3849
|
+
w.uint(549239713);
|
|
3850
|
+
w.object(h(v, "message"));
|
|
3851
|
+
},
|
|
3852
|
+
"updateDeleteEphemeralMessages": function(w, v) {
|
|
3853
|
+
w.uint(1457257720);
|
|
3854
|
+
w.object(h(v, "peer"));
|
|
3855
|
+
w.vector(w.int, h(v, "ids"));
|
|
3856
|
+
},
|
|
3857
|
+
"updateEditEphemeralMessage": function(w, v) {
|
|
3858
|
+
w.uint(1270583041);
|
|
3859
|
+
w.object(h(v, "message"));
|
|
3860
|
+
},
|
|
3861
|
+
"updateEphemeralBotCallbackQuery": function(w, v) {
|
|
3862
|
+
w.uint(2081454550);
|
|
3863
|
+
var flags = 0;
|
|
3864
|
+
var _peer = v.peer !== void 0;
|
|
3865
|
+
if (_peer) flags |= 1;
|
|
3866
|
+
var _chatInstance = v.chatInstance !== void 0;
|
|
3867
|
+
if (_chatInstance) flags |= 2;
|
|
3868
|
+
w.uint(flags);
|
|
3869
|
+
w.long(h(v, "queryId"));
|
|
3870
|
+
w.int53(h(v, "userId"));
|
|
3871
|
+
if (_peer) w.object(v.peer);
|
|
3872
|
+
w.int(h(v, "msgId"));
|
|
3873
|
+
w.bytes(h(v, "data"));
|
|
3874
|
+
if (_chatInstance) w.long(v.chatInstance);
|
|
3875
|
+
w.object(h(v, "message"));
|
|
3876
|
+
},
|
|
3877
|
+
"updateBotStarsSubscription": function(w, v) {
|
|
3878
|
+
w.uint(1812827683);
|
|
3879
|
+
var flags = 0;
|
|
3880
|
+
if (v.canceled === true) flags |= 1;
|
|
3881
|
+
if (v.paymentFailed === true) flags |= 2;
|
|
3882
|
+
if (v.restored === true) flags |= 4;
|
|
3883
|
+
w.uint(flags);
|
|
3884
|
+
w.int53(h(v, "userId"));
|
|
3885
|
+
w.bytes(h(v, "payload"));
|
|
3886
|
+
w.int(h(v, "qts"));
|
|
3887
|
+
},
|
|
3760
3888
|
"updates.state": function(w, v) {
|
|
3761
3889
|
w.uint(2775329342);
|
|
3762
3890
|
w.int(h(v, "pts"));
|
|
@@ -4219,6 +4347,10 @@ var m = {
|
|
|
4219
4347
|
w.object(h(v, "peer"));
|
|
4220
4348
|
w.int(h(v, "topMsgId"));
|
|
4221
4349
|
},
|
|
4350
|
+
"notifyCommunity": function(w, v) {
|
|
4351
|
+
w.uint(3191302553);
|
|
4352
|
+
w.int53(h(v, "communityId"));
|
|
4353
|
+
},
|
|
4222
4354
|
"sendMessageTypingAction": function(w) {
|
|
4223
4355
|
w.uint(381645902);
|
|
4224
4356
|
},
|
|
@@ -4284,20 +4416,36 @@ var m = {
|
|
|
4284
4416
|
w.string(h(v, "emoticon"));
|
|
4285
4417
|
},
|
|
4286
4418
|
"sendMessageTextDraftAction": function(w, v) {
|
|
4287
|
-
w.uint(
|
|
4419
|
+
w.uint(909162586);
|
|
4420
|
+
var flags = 0;
|
|
4421
|
+
if (v.canStop === true) flags |= 1;
|
|
4422
|
+
if (v.keepOnStop === true) flags |= 2;
|
|
4423
|
+
w.uint(flags);
|
|
4288
4424
|
w.long(h(v, "randomId"));
|
|
4289
4425
|
w.object(h(v, "text"));
|
|
4290
4426
|
},
|
|
4291
4427
|
"inputSendMessageRichMessageDraftAction": function(w, v) {
|
|
4292
|
-
w.uint(
|
|
4428
|
+
w.uint(2839005118);
|
|
4429
|
+
var flags = 0;
|
|
4430
|
+
if (v.canStop === true) flags |= 1;
|
|
4431
|
+
if (v.keepOnStop === true) flags |= 2;
|
|
4432
|
+
w.uint(flags);
|
|
4293
4433
|
w.long(h(v, "randomId"));
|
|
4294
4434
|
w.object(h(v, "richMessage"));
|
|
4295
4435
|
},
|
|
4296
4436
|
"sendMessageRichMessageDraftAction": function(w, v) {
|
|
4297
|
-
w.uint(
|
|
4437
|
+
w.uint(1381386387);
|
|
4438
|
+
var flags = 0;
|
|
4439
|
+
if (v.canStop === true) flags |= 1;
|
|
4440
|
+
if (v.keepOnStop === true) flags |= 2;
|
|
4441
|
+
w.uint(flags);
|
|
4298
4442
|
w.long(h(v, "randomId"));
|
|
4299
4443
|
w.object(h(v, "richMessage"));
|
|
4300
4444
|
},
|
|
4445
|
+
"sendMessageStopDraftAction": function(w, v) {
|
|
4446
|
+
w.uint(4227400368);
|
|
4447
|
+
w.long(h(v, "randomId"));
|
|
4448
|
+
},
|
|
4301
4449
|
"contacts.found": function(w, v) {
|
|
4302
4450
|
w.uint(3004386717);
|
|
4303
4451
|
w.vector(w.object, h(v, "myResults"));
|
|
@@ -4916,7 +5064,10 @@ var m = {
|
|
|
4916
5064
|
w.uint(3556320491);
|
|
4917
5065
|
},
|
|
4918
5066
|
"botCommand": function(w, v) {
|
|
4919
|
-
w.uint(
|
|
5067
|
+
w.uint(2555565778);
|
|
5068
|
+
var flags = 0;
|
|
5069
|
+
if (v.ephemeral === true) flags |= 1;
|
|
5070
|
+
w.uint(flags);
|
|
4920
5071
|
w.string(h(v, "command"));
|
|
4921
5072
|
w.string(h(v, "description"));
|
|
4922
5073
|
},
|
|
@@ -4954,202 +5105,14 @@ var m = {
|
|
|
4954
5105
|
if (_verifierSettings) w.object(v.verifierSettings);
|
|
4955
5106
|
},
|
|
4956
5107
|
"keyboardButton": function(w, v) {
|
|
4957
|
-
w.uint(
|
|
4958
|
-
var flags = 0;
|
|
4959
|
-
var _style = v.style !== void 0;
|
|
4960
|
-
if (_style) flags |= 1024;
|
|
4961
|
-
w.uint(flags);
|
|
4962
|
-
if (_style) w.object(v.style);
|
|
4963
|
-
w.string(h(v, "text"));
|
|
4964
|
-
},
|
|
4965
|
-
"keyboardButtonUrl": function(w, v) {
|
|
4966
|
-
w.uint(3624674796);
|
|
4967
|
-
var flags = 0;
|
|
4968
|
-
var _style = v.style !== void 0;
|
|
4969
|
-
if (_style) flags |= 1024;
|
|
4970
|
-
w.uint(flags);
|
|
4971
|
-
if (_style) w.object(v.style);
|
|
4972
|
-
w.string(h(v, "text"));
|
|
4973
|
-
w.string(h(v, "url"));
|
|
4974
|
-
},
|
|
4975
|
-
"keyboardButtonCallback": function(w, v) {
|
|
4976
|
-
w.uint(3861629280);
|
|
4977
|
-
var flags = 0;
|
|
4978
|
-
if (v.requiresPassword === true) flags |= 1;
|
|
4979
|
-
var _style = v.style !== void 0;
|
|
4980
|
-
if (_style) flags |= 1024;
|
|
4981
|
-
w.uint(flags);
|
|
4982
|
-
if (_style) w.object(v.style);
|
|
4983
|
-
w.string(h(v, "text"));
|
|
4984
|
-
w.bytes(h(v, "data"));
|
|
4985
|
-
},
|
|
4986
|
-
"keyboardButtonRequestPhone": function(w, v) {
|
|
4987
|
-
w.uint(1098841487);
|
|
4988
|
-
var flags = 0;
|
|
4989
|
-
var _style = v.style !== void 0;
|
|
4990
|
-
if (_style) flags |= 1024;
|
|
4991
|
-
w.uint(flags);
|
|
4992
|
-
if (_style) w.object(v.style);
|
|
4993
|
-
w.string(h(v, "text"));
|
|
4994
|
-
},
|
|
4995
|
-
"keyboardButtonRequestGeoLocation": function(w, v) {
|
|
4996
|
-
w.uint(2856384845);
|
|
4997
|
-
var flags = 0;
|
|
4998
|
-
var _style = v.style !== void 0;
|
|
4999
|
-
if (_style) flags |= 1024;
|
|
5000
|
-
w.uint(flags);
|
|
5001
|
-
if (_style) w.object(v.style);
|
|
5002
|
-
w.string(h(v, "text"));
|
|
5003
|
-
},
|
|
5004
|
-
"keyboardButtonSwitchInline": function(w, v) {
|
|
5005
|
-
w.uint(2568198652);
|
|
5006
|
-
var flags = 0;
|
|
5007
|
-
if (v.samePeer === true) flags |= 1;
|
|
5008
|
-
var _peerTypes = v.peerTypes && v.peerTypes.length;
|
|
5009
|
-
if (_peerTypes) flags |= 2;
|
|
5010
|
-
var _style = v.style !== void 0;
|
|
5011
|
-
if (_style) flags |= 1024;
|
|
5012
|
-
w.uint(flags);
|
|
5013
|
-
if (_style) w.object(v.style);
|
|
5014
|
-
w.string(h(v, "text"));
|
|
5015
|
-
w.string(h(v, "query"));
|
|
5016
|
-
if (_peerTypes) w.vector(w.object, v.peerTypes);
|
|
5017
|
-
},
|
|
5018
|
-
"keyboardButtonGame": function(w, v) {
|
|
5019
|
-
w.uint(2311426297);
|
|
5020
|
-
var flags = 0;
|
|
5021
|
-
var _style = v.style !== void 0;
|
|
5022
|
-
if (_style) flags |= 1024;
|
|
5023
|
-
w.uint(flags);
|
|
5024
|
-
if (_style) w.object(v.style);
|
|
5025
|
-
w.string(h(v, "text"));
|
|
5026
|
-
},
|
|
5027
|
-
"keyboardButtonBuy": function(w, v) {
|
|
5028
|
-
w.uint(1067792645);
|
|
5029
|
-
var flags = 0;
|
|
5030
|
-
var _style = v.style !== void 0;
|
|
5031
|
-
if (_style) flags |= 1024;
|
|
5032
|
-
w.uint(flags);
|
|
5033
|
-
if (_style) w.object(v.style);
|
|
5034
|
-
w.string(h(v, "text"));
|
|
5035
|
-
},
|
|
5036
|
-
"keyboardButtonUrlAuth": function(w, v) {
|
|
5037
|
-
w.uint(4111468281);
|
|
5038
|
-
var flags = 0;
|
|
5039
|
-
var _fwdText = v.fwdText !== void 0;
|
|
5040
|
-
if (_fwdText) flags |= 1;
|
|
5041
|
-
var _style = v.style !== void 0;
|
|
5042
|
-
if (_style) flags |= 1024;
|
|
5043
|
-
w.uint(flags);
|
|
5044
|
-
if (_style) w.object(v.style);
|
|
5045
|
-
w.string(h(v, "text"));
|
|
5046
|
-
if (_fwdText) w.string(v.fwdText);
|
|
5047
|
-
w.string(h(v, "url"));
|
|
5048
|
-
w.int(h(v, "buttonId"));
|
|
5049
|
-
},
|
|
5050
|
-
"inputKeyboardButtonUrlAuth": function(w, v) {
|
|
5051
|
-
w.uint(1744911986);
|
|
5052
|
-
var flags = 0;
|
|
5053
|
-
if (v.requestWriteAccess === true) flags |= 1;
|
|
5054
|
-
var _fwdText = v.fwdText !== void 0;
|
|
5055
|
-
if (_fwdText) flags |= 2;
|
|
5056
|
-
var _style = v.style !== void 0;
|
|
5057
|
-
if (_style) flags |= 1024;
|
|
5058
|
-
w.uint(flags);
|
|
5059
|
-
if (_style) w.object(v.style);
|
|
5060
|
-
w.string(h(v, "text"));
|
|
5061
|
-
if (_fwdText) w.string(v.fwdText);
|
|
5062
|
-
w.string(h(v, "url"));
|
|
5063
|
-
w.object(h(v, "bot"));
|
|
5064
|
-
},
|
|
5065
|
-
"keyboardButtonRequestPoll": function(w, v) {
|
|
5066
|
-
w.uint(2047989634);
|
|
5067
|
-
var flags = 0;
|
|
5068
|
-
var _quiz = v.quiz !== void 0;
|
|
5069
|
-
if (_quiz) flags |= 1;
|
|
5070
|
-
var _style = v.style !== void 0;
|
|
5071
|
-
if (_style) flags |= 1024;
|
|
5072
|
-
w.uint(flags);
|
|
5073
|
-
if (_style) w.object(v.style);
|
|
5074
|
-
if (_quiz) w.boolean(v.quiz);
|
|
5075
|
-
w.string(h(v, "text"));
|
|
5076
|
-
},
|
|
5077
|
-
"inputKeyboardButtonUserProfile": function(w, v) {
|
|
5078
|
-
w.uint(2103314375);
|
|
5079
|
-
var flags = 0;
|
|
5080
|
-
var _style = v.style !== void 0;
|
|
5081
|
-
if (_style) flags |= 1024;
|
|
5082
|
-
w.uint(flags);
|
|
5083
|
-
if (_style) w.object(v.style);
|
|
5084
|
-
w.string(h(v, "text"));
|
|
5085
|
-
w.object(h(v, "userId"));
|
|
5086
|
-
},
|
|
5087
|
-
"keyboardButtonUserProfile": function(w, v) {
|
|
5088
|
-
w.uint(3237829897);
|
|
5089
|
-
var flags = 0;
|
|
5090
|
-
var _style = v.style !== void 0;
|
|
5091
|
-
if (_style) flags |= 1024;
|
|
5092
|
-
w.uint(flags);
|
|
5093
|
-
if (_style) w.object(v.style);
|
|
5094
|
-
w.string(h(v, "text"));
|
|
5095
|
-
w.int53(h(v, "userId"));
|
|
5096
|
-
},
|
|
5097
|
-
"keyboardButtonWebView": function(w, v) {
|
|
5098
|
-
w.uint(3896947104);
|
|
5099
|
-
var flags = 0;
|
|
5100
|
-
var _style = v.style !== void 0;
|
|
5101
|
-
if (_style) flags |= 1024;
|
|
5102
|
-
w.uint(flags);
|
|
5103
|
-
if (_style) w.object(v.style);
|
|
5104
|
-
w.string(h(v, "text"));
|
|
5105
|
-
w.string(h(v, "url"));
|
|
5106
|
-
},
|
|
5107
|
-
"keyboardButtonSimpleWebView": function(w, v) {
|
|
5108
|
-
w.uint(3780920176);
|
|
5109
|
-
var flags = 0;
|
|
5110
|
-
var _style = v.style !== void 0;
|
|
5111
|
-
if (_style) flags |= 1024;
|
|
5112
|
-
w.uint(flags);
|
|
5113
|
-
if (_style) w.object(v.style);
|
|
5114
|
-
w.string(h(v, "text"));
|
|
5115
|
-
w.string(h(v, "url"));
|
|
5116
|
-
},
|
|
5117
|
-
"keyboardButtonRequestPeer": function(w, v) {
|
|
5118
|
-
w.uint(1527715317);
|
|
5119
|
-
var flags = 0;
|
|
5120
|
-
var _style = v.style !== void 0;
|
|
5121
|
-
if (_style) flags |= 1024;
|
|
5122
|
-
w.uint(flags);
|
|
5123
|
-
if (_style) w.object(v.style);
|
|
5124
|
-
w.string(h(v, "text"));
|
|
5125
|
-
w.int(h(v, "buttonId"));
|
|
5126
|
-
w.object(h(v, "peerType"));
|
|
5127
|
-
w.int(h(v, "maxQuantity"));
|
|
5128
|
-
},
|
|
5129
|
-
"inputKeyboardButtonRequestPeer": function(w, v) {
|
|
5130
|
-
w.uint(45580630);
|
|
5131
|
-
var flags = 0;
|
|
5132
|
-
if (v.nameRequested === true) flags |= 1;
|
|
5133
|
-
if (v.usernameRequested === true) flags |= 2;
|
|
5134
|
-
if (v.photoRequested === true) flags |= 4;
|
|
5135
|
-
var _style = v.style !== void 0;
|
|
5136
|
-
if (_style) flags |= 1024;
|
|
5137
|
-
w.uint(flags);
|
|
5138
|
-
if (_style) w.object(v.style);
|
|
5139
|
-
w.string(h(v, "text"));
|
|
5140
|
-
w.int(h(v, "buttonId"));
|
|
5141
|
-
w.object(h(v, "peerType"));
|
|
5142
|
-
w.int(h(v, "maxQuantity"));
|
|
5143
|
-
},
|
|
5144
|
-
"keyboardButtonCopy": function(w, v) {
|
|
5145
|
-
w.uint(3167006480);
|
|
5108
|
+
w.uint(795322159);
|
|
5146
5109
|
var flags = 0;
|
|
5147
5110
|
var _style = v.style !== void 0;
|
|
5148
5111
|
if (_style) flags |= 1024;
|
|
5149
5112
|
w.uint(flags);
|
|
5150
5113
|
if (_style) w.object(v.style);
|
|
5151
5114
|
w.string(h(v, "text"));
|
|
5152
|
-
w.
|
|
5115
|
+
w.object(h(v, "type"));
|
|
5153
5116
|
},
|
|
5154
5117
|
"keyboardButtonRow": function(w, v) {
|
|
5155
5118
|
w.uint(2002815875);
|
|
@@ -5180,12 +5143,16 @@ var m = {
|
|
|
5180
5143
|
var _placeholder = v.placeholder !== void 0;
|
|
5181
5144
|
if (_placeholder) flags |= 8;
|
|
5182
5145
|
if (v.persistent === true) flags |= 16;
|
|
5146
|
+
if (v.forceReply === true) flags |= 32;
|
|
5183
5147
|
w.uint(flags);
|
|
5184
5148
|
w.vector(w.object, h(v, "rows"));
|
|
5185
5149
|
if (_placeholder) w.string(v.placeholder);
|
|
5186
5150
|
},
|
|
5187
5151
|
"replyInlineMarkup": function(w, v) {
|
|
5188
|
-
w.uint(
|
|
5152
|
+
w.uint(2997966704);
|
|
5153
|
+
var flags = 0;
|
|
5154
|
+
if (v.forceReply === true) flags |= 32;
|
|
5155
|
+
w.uint(flags);
|
|
5189
5156
|
w.vector(w.object, h(v, "rows"));
|
|
5190
5157
|
},
|
|
5191
5158
|
"messageEntityUnknown": function(w, v) {
|
|
@@ -6415,6 +6382,21 @@ var m = {
|
|
|
6415
6382
|
w.object(h(v, "text"));
|
|
6416
6383
|
w.int(h(v, "date"));
|
|
6417
6384
|
},
|
|
6385
|
+
"textDiff": function(w, v) {
|
|
6386
|
+
w.uint(2525416272);
|
|
6387
|
+
w.object(h(v, "text"));
|
|
6388
|
+
w.object(h(v, "oldText"));
|
|
6389
|
+
},
|
|
6390
|
+
"textButton": function(w, v) {
|
|
6391
|
+
w.uint(2949094614);
|
|
6392
|
+
var flags = 0;
|
|
6393
|
+
var _style = v.style !== void 0;
|
|
6394
|
+
if (_style) flags |= 1;
|
|
6395
|
+
w.uint(flags);
|
|
6396
|
+
w.object(h(v, "text"));
|
|
6397
|
+
w.object(h(v, "type"));
|
|
6398
|
+
if (_style) w.object(v.style);
|
|
6399
|
+
},
|
|
6418
6400
|
"pageBlockUnsupported": function(w) {
|
|
6419
6401
|
w.uint(324435594);
|
|
6420
6402
|
},
|
|
@@ -6464,7 +6446,10 @@ var m = {
|
|
|
6464
6446
|
w.vector(w.object, h(v, "items"));
|
|
6465
6447
|
},
|
|
6466
6448
|
"pageBlockBlockquote": function(w, v) {
|
|
6467
|
-
w.uint(
|
|
6449
|
+
w.uint(1724999435);
|
|
6450
|
+
var flags = 0;
|
|
6451
|
+
if (v.collapsed === true) flags |= 1;
|
|
6452
|
+
w.uint(flags);
|
|
6468
6453
|
w.object(h(v, "text"));
|
|
6469
6454
|
w.object(h(v, "caption"));
|
|
6470
6455
|
},
|
|
@@ -6562,6 +6547,7 @@ var m = {
|
|
|
6562
6547
|
var flags = 0;
|
|
6563
6548
|
if (v.bordered === true) flags |= 1;
|
|
6564
6549
|
if (v.striped === true) flags |= 2;
|
|
6550
|
+
if (v.compact === true) flags |= 4;
|
|
6565
6551
|
w.uint(flags);
|
|
6566
6552
|
w.object(h(v, "title"));
|
|
6567
6553
|
w.vector(w.object, h(v, "rows"));
|
|
@@ -6645,6 +6631,20 @@ var m = {
|
|
|
6645
6631
|
w.vector(w.object, h(v, "blocks"));
|
|
6646
6632
|
w.object(h(v, "caption"));
|
|
6647
6633
|
},
|
|
6634
|
+
"pageBlockButtonRow": function(w, v) {
|
|
6635
|
+
w.uint(1835270936);
|
|
6636
|
+
var flags = 0;
|
|
6637
|
+
if (v.alignLeft === true) flags |= 1;
|
|
6638
|
+
if (v.alignCenter === true) flags |= 2;
|
|
6639
|
+
if (v.alignRight === true) flags |= 4;
|
|
6640
|
+
w.uint(flags);
|
|
6641
|
+
w.vector(w.object, h(v, "buttons"));
|
|
6642
|
+
},
|
|
6643
|
+
"pageBlockDocument": function(w, v) {
|
|
6644
|
+
w.uint(955923363);
|
|
6645
|
+
w.long(h(v, "documentId"));
|
|
6646
|
+
w.object(h(v, "caption"));
|
|
6647
|
+
},
|
|
6648
6648
|
"phoneCallDiscardReasonMissed": function(w) {
|
|
6649
6649
|
w.uint(2246320897);
|
|
6650
6650
|
},
|
|
@@ -7535,6 +7535,10 @@ var m = {
|
|
|
7535
7535
|
w.uint(1684014375);
|
|
7536
7536
|
w.int(h(v, "folderId"));
|
|
7537
7537
|
},
|
|
7538
|
+
"inputDialogPeerCommunity": function(w, v) {
|
|
7539
|
+
w.uint(1777300164);
|
|
7540
|
+
w.object(h(v, "community"));
|
|
7541
|
+
},
|
|
7538
7542
|
"dialogPeer": function(w, v) {
|
|
7539
7543
|
w.uint(3849174789);
|
|
7540
7544
|
w.object(h(v, "peer"));
|
|
@@ -7543,6 +7547,10 @@ var m = {
|
|
|
7543
7547
|
w.uint(1363483106);
|
|
7544
7548
|
w.int(h(v, "folderId"));
|
|
7545
7549
|
},
|
|
7550
|
+
"dialogPeerCommunity": function(w, v) {
|
|
7551
|
+
w.uint(795199716);
|
|
7552
|
+
w.int53(h(v, "communityId"));
|
|
7553
|
+
},
|
|
7546
7554
|
"messages.foundStickerSetsNotModified": function(w) {
|
|
7547
7555
|
w.uint(223655517);
|
|
7548
7556
|
},
|
|
@@ -8154,6 +8162,8 @@ var m = {
|
|
|
8154
8162
|
if (v.deleteStories === true) flags |= 65536;
|
|
8155
8163
|
if (v.manageDirectMessages === true) flags |= 131072;
|
|
8156
8164
|
if (v.manageRanks === true) flags |= 262144;
|
|
8165
|
+
if (v.manageLinkedPeers === true) flags |= 524288;
|
|
8166
|
+
if (v.manageWelcomeMessages === true) flags |= 1048576;
|
|
8157
8167
|
w.uint(flags);
|
|
8158
8168
|
},
|
|
8159
8169
|
"chatBannedRights": function(w, v) {
|
|
@@ -8181,6 +8191,7 @@ var m = {
|
|
|
8181
8191
|
if (v.sendPlain === true) flags |= 33554432;
|
|
8182
8192
|
if (v.editRank === true) flags |= 67108864;
|
|
8183
8193
|
if (v.sendReactions === true) flags |= 134217728;
|
|
8194
|
+
if (v.manageLinkedPeers === true) flags |= 268435456;
|
|
8184
8195
|
w.uint(flags);
|
|
8185
8196
|
w.int(h(v, "untilDate"));
|
|
8186
8197
|
},
|
|
@@ -9635,12 +9646,16 @@ var m = {
|
|
|
9635
9646
|
w.long(h(v, "stars"));
|
|
9636
9647
|
},
|
|
9637
9648
|
"inputInvoiceStarGiftResale": function(w, v) {
|
|
9638
|
-
w.uint(
|
|
9649
|
+
w.uint(3920676440);
|
|
9639
9650
|
var flags = 0;
|
|
9640
9651
|
if (v.ton === true) flags |= 1;
|
|
9652
|
+
var _message = v.message !== void 0;
|
|
9653
|
+
if (_message) flags |= 2;
|
|
9654
|
+
if (v.showName === true) flags |= 4;
|
|
9641
9655
|
w.uint(flags);
|
|
9642
9656
|
w.string(h(v, "slug"));
|
|
9643
9657
|
w.object(h(v, "toId"));
|
|
9658
|
+
if (_message) w.object(v.message);
|
|
9644
9659
|
},
|
|
9645
9660
|
"inputInvoiceStarGiftPrepaidUpgrade": function(w, v) {
|
|
9646
9661
|
w.uint(2584430776);
|
|
@@ -10480,6 +10495,10 @@ var m = {
|
|
|
10480
10495
|
w.uint(1775660101);
|
|
10481
10496
|
w.object(h(v, "monoforumPeerId"));
|
|
10482
10497
|
},
|
|
10498
|
+
"inputReplyToEphemeralMessage": function(w, v) {
|
|
10499
|
+
w.uint(1092204894);
|
|
10500
|
+
w.int(h(v, "id"));
|
|
10501
|
+
},
|
|
10483
10502
|
"exportedStoryLink": function(w, v) {
|
|
10484
10503
|
w.uint(1070138683);
|
|
10485
10504
|
w.string(h(v, "link"));
|
|
@@ -12813,6 +12832,10 @@ var m = {
|
|
|
12813
12832
|
w.uint(530584407);
|
|
12814
12833
|
w.string(h(v, "slug"));
|
|
12815
12834
|
},
|
|
12835
|
+
"inputAiComposeToneSingleUse": function(w, v) {
|
|
12836
|
+
w.uint(235681199);
|
|
12837
|
+
w.string(h(v, "customPrompt"));
|
|
12838
|
+
},
|
|
12816
12839
|
"aiComposeTone": function(w, v) {
|
|
12817
12840
|
w.uint(3489021609);
|
|
12818
12841
|
var flags = 0;
|
|
@@ -12872,9 +12895,9 @@ var m = {
|
|
|
12872
12895
|
w.object(h(v, "updates"));
|
|
12873
12896
|
},
|
|
12874
12897
|
"messages.chatInviteJoinResultWebView": function(w, v) {
|
|
12875
|
-
w.uint(
|
|
12898
|
+
w.uint(1640638931);
|
|
12876
12899
|
w.int53(h(v, "botId"));
|
|
12877
|
-
w.
|
|
12900
|
+
w.long(h(v, "queryId"));
|
|
12878
12901
|
w.vector(w.object, h(v, "users"));
|
|
12879
12902
|
},
|
|
12880
12903
|
"joinChatBotResultApproved": function(w) {
|
|
@@ -12973,22 +12996,247 @@ var m = {
|
|
|
12973
12996
|
w.vector(w.object, h(v, "photos"));
|
|
12974
12997
|
w.vector(w.object, h(v, "documents"));
|
|
12975
12998
|
},
|
|
12976
|
-
"
|
|
12977
|
-
w.uint(
|
|
12999
|
+
"communityPeer": function(w, v) {
|
|
13000
|
+
w.uint(1981030077);
|
|
12978
13001
|
var flags = 0;
|
|
12979
|
-
|
|
13002
|
+
var _visible = v.visible !== void 0;
|
|
13003
|
+
if (_visible) flags |= 1;
|
|
13004
|
+
if (v.canViewHistory === true) flags |= 4;
|
|
12980
13005
|
w.uint(flags);
|
|
12981
|
-
w.
|
|
12982
|
-
w.
|
|
13006
|
+
if (_visible) w.boolean(v.visible);
|
|
13007
|
+
w.object(h(v, "peer"));
|
|
12983
13008
|
},
|
|
12984
|
-
"
|
|
12985
|
-
w.uint(
|
|
13009
|
+
"communityPeerRequest": function(w, v) {
|
|
13010
|
+
w.uint(2078997125);
|
|
12986
13011
|
var flags = 0;
|
|
12987
|
-
|
|
12988
|
-
if (_order) flags |= 1;
|
|
13012
|
+
if (v.visible === true) flags |= 1;
|
|
12989
13013
|
w.uint(flags);
|
|
12990
|
-
w.
|
|
12991
|
-
|
|
13014
|
+
w.object(h(v, "peer"));
|
|
13015
|
+
w.int53(h(v, "requestedBy"));
|
|
13016
|
+
w.int(h(v, "date"));
|
|
13017
|
+
},
|
|
13018
|
+
"communities.peerLinkRequests": function(w, v) {
|
|
13019
|
+
w.uint(574926765);
|
|
13020
|
+
var flags = 0;
|
|
13021
|
+
var _nextOffset = v.nextOffset !== void 0;
|
|
13022
|
+
if (_nextOffset) flags |= 1;
|
|
13023
|
+
w.uint(flags);
|
|
13024
|
+
w.int(h(v, "totalCount"));
|
|
13025
|
+
w.vector(w.object, h(v, "requests"));
|
|
13026
|
+
if (_nextOffset) w.string(v.nextOffset);
|
|
13027
|
+
w.vector(w.object, h(v, "chats"));
|
|
13028
|
+
w.vector(w.object, h(v, "users"));
|
|
13029
|
+
},
|
|
13030
|
+
"ephemeralMessage": function(w, v) {
|
|
13031
|
+
w.uint(3710369513);
|
|
13032
|
+
var flags = 0;
|
|
13033
|
+
if (v.out === true) flags |= 1;
|
|
13034
|
+
var _topMsgId = v.topMsgId !== void 0;
|
|
13035
|
+
if (_topMsgId) flags |= 2;
|
|
13036
|
+
var _entities = v.entities && v.entities.length;
|
|
13037
|
+
if (_entities) flags |= 4;
|
|
13038
|
+
var _media = v.media !== void 0;
|
|
13039
|
+
if (_media) flags |= 8;
|
|
13040
|
+
var _replyMarkup = v.replyMarkup !== void 0;
|
|
13041
|
+
if (_replyMarkup) flags |= 16;
|
|
13042
|
+
if (v.welcomeTemplate === true) flags |= 32;
|
|
13043
|
+
var _replyTo = v.replyTo !== void 0;
|
|
13044
|
+
if (_replyTo) flags |= 64;
|
|
13045
|
+
if (v.invertMedia === true) flags |= 128;
|
|
13046
|
+
var _richMessage = v.richMessage !== void 0;
|
|
13047
|
+
if (_richMessage) flags |= 256;
|
|
13048
|
+
var _peerId = v.peerId !== void 0;
|
|
13049
|
+
if (_peerId) flags |= 512;
|
|
13050
|
+
var _chatInstance = v.chatInstance !== void 0;
|
|
13051
|
+
if (_chatInstance) flags |= 1024;
|
|
13052
|
+
var _anchorMsgId = v.anchorMsgId !== void 0;
|
|
13053
|
+
if (_anchorMsgId) flags |= 2048;
|
|
13054
|
+
if (v.noforwards === true) flags |= 4096;
|
|
13055
|
+
w.uint(flags);
|
|
13056
|
+
w.int(h(v, "id"));
|
|
13057
|
+
w.object(h(v, "fromId"));
|
|
13058
|
+
if (_peerId) w.object(v.peerId);
|
|
13059
|
+
w.int53(h(v, "receiverId"));
|
|
13060
|
+
if (_topMsgId) w.int(v.topMsgId);
|
|
13061
|
+
w.int(h(v, "date"));
|
|
13062
|
+
w.string(h(v, "message"));
|
|
13063
|
+
if (_entities) w.vector(w.object, v.entities);
|
|
13064
|
+
if (_media) w.object(v.media);
|
|
13065
|
+
if (_replyMarkup) w.object(v.replyMarkup);
|
|
13066
|
+
if (_replyTo) w.object(v.replyTo);
|
|
13067
|
+
if (_richMessage) w.object(v.richMessage);
|
|
13068
|
+
if (_chatInstance) w.long(v.chatInstance);
|
|
13069
|
+
if (_anchorMsgId) w.int(v.anchorMsgId);
|
|
13070
|
+
},
|
|
13071
|
+
"communities.participantJoinedChats": function(w, v) {
|
|
13072
|
+
w.uint(2373472554);
|
|
13073
|
+
w.vector(w.int53, h(v, "creatorChatIds"));
|
|
13074
|
+
w.vector(w.int53, h(v, "joinedChatIds"));
|
|
13075
|
+
w.vector(w.object, h(v, "chats"));
|
|
13076
|
+
w.vector(w.object, h(v, "users"));
|
|
13077
|
+
},
|
|
13078
|
+
"messages.translatedRichMessage": function(w, v) {
|
|
13079
|
+
w.uint(1107532175);
|
|
13080
|
+
w.vector(w.object, h(v, "result"));
|
|
13081
|
+
},
|
|
13082
|
+
"messages.composedRichMessageWithAI": function(w, v) {
|
|
13083
|
+
w.uint(1279604680);
|
|
13084
|
+
w.object(h(v, "result"));
|
|
13085
|
+
},
|
|
13086
|
+
"buttonTypeDefault": function(w) {
|
|
13087
|
+
w.uint(3386740969);
|
|
13088
|
+
},
|
|
13089
|
+
"buttonTypeRequestPhone": function(w) {
|
|
13090
|
+
w.uint(3745330937);
|
|
13091
|
+
},
|
|
13092
|
+
"buttonTypeRequestGeoLocation": function(w) {
|
|
13093
|
+
w.uint(2616123712);
|
|
13094
|
+
},
|
|
13095
|
+
"buttonTypeRequestPoll": function(w, v) {
|
|
13096
|
+
w.uint(2865758084);
|
|
13097
|
+
var flags = 0;
|
|
13098
|
+
var _quiz = v.quiz !== void 0;
|
|
13099
|
+
if (_quiz) flags |= 1;
|
|
13100
|
+
w.uint(flags);
|
|
13101
|
+
if (_quiz) w.boolean(v.quiz);
|
|
13102
|
+
},
|
|
13103
|
+
"buttonTypeRequestPeer": function(w, v) {
|
|
13104
|
+
w.uint(1331208759);
|
|
13105
|
+
var flags = 0;
|
|
13106
|
+
w.uint(flags);
|
|
13107
|
+
w.int(h(v, "buttonId"));
|
|
13108
|
+
w.object(h(v, "peerType"));
|
|
13109
|
+
w.int(h(v, "maxQuantity"));
|
|
13110
|
+
},
|
|
13111
|
+
"inputButtonTypeRequestPeer": function(w, v) {
|
|
13112
|
+
w.uint(1071802622);
|
|
13113
|
+
var flags = 0;
|
|
13114
|
+
if (v.nameRequested === true) flags |= 1;
|
|
13115
|
+
if (v.usernameRequested === true) flags |= 2;
|
|
13116
|
+
if (v.photoRequested === true) flags |= 4;
|
|
13117
|
+
w.uint(flags);
|
|
13118
|
+
w.int(h(v, "buttonId"));
|
|
13119
|
+
w.object(h(v, "peerType"));
|
|
13120
|
+
w.int(h(v, "maxQuantity"));
|
|
13121
|
+
},
|
|
13122
|
+
"buttonTypeSimpleWebView": function(w, v) {
|
|
13123
|
+
w.uint(3222952314);
|
|
13124
|
+
w.string(h(v, "url"));
|
|
13125
|
+
},
|
|
13126
|
+
"inlineButtonTypeUrl": function(w, v) {
|
|
13127
|
+
w.uint(3970234580);
|
|
13128
|
+
w.string(h(v, "url"));
|
|
13129
|
+
},
|
|
13130
|
+
"inlineButtonTypeUrlAuth": function(w, v) {
|
|
13131
|
+
w.uint(3218091426);
|
|
13132
|
+
var flags = 0;
|
|
13133
|
+
var _fwdText = v.fwdText !== void 0;
|
|
13134
|
+
if (_fwdText) flags |= 1;
|
|
13135
|
+
w.uint(flags);
|
|
13136
|
+
if (_fwdText) w.string(v.fwdText);
|
|
13137
|
+
w.string(h(v, "url"));
|
|
13138
|
+
w.int(h(v, "buttonId"));
|
|
13139
|
+
},
|
|
13140
|
+
"inputInlineButtonTypeUrlAuth": function(w, v) {
|
|
13141
|
+
w.uint(2573319348);
|
|
13142
|
+
var flags = 0;
|
|
13143
|
+
if (v.requestWriteAccess === true) flags |= 1;
|
|
13144
|
+
var _fwdText = v.fwdText !== void 0;
|
|
13145
|
+
if (_fwdText) flags |= 2;
|
|
13146
|
+
var _bot = v.bot !== void 0;
|
|
13147
|
+
if (_bot) flags |= 4;
|
|
13148
|
+
w.uint(flags);
|
|
13149
|
+
if (_fwdText) w.string(v.fwdText);
|
|
13150
|
+
w.string(h(v, "url"));
|
|
13151
|
+
if (_bot) w.object(v.bot);
|
|
13152
|
+
},
|
|
13153
|
+
"inlineButtonTypeWebView": function(w, v) {
|
|
13154
|
+
w.uint(1003140532);
|
|
13155
|
+
w.string(h(v, "url"));
|
|
13156
|
+
},
|
|
13157
|
+
"inlineButtonTypeCallback": function(w, v) {
|
|
13158
|
+
w.uint(693484600);
|
|
13159
|
+
var flags = 0;
|
|
13160
|
+
if (v.requiresPassword === true) flags |= 1;
|
|
13161
|
+
w.uint(flags);
|
|
13162
|
+
w.bytes(h(v, "data"));
|
|
13163
|
+
},
|
|
13164
|
+
"inlineButtonTypeGame": function(w) {
|
|
13165
|
+
w.uint(1557360797);
|
|
13166
|
+
},
|
|
13167
|
+
"inlineButtonTypeBuy": function(w) {
|
|
13168
|
+
w.uint(1220204453);
|
|
13169
|
+
},
|
|
13170
|
+
"inlineButtonTypeSwitchInline": function(w, v) {
|
|
13171
|
+
w.uint(2474065909);
|
|
13172
|
+
var flags = 0;
|
|
13173
|
+
if (v.samePeer === true) flags |= 1;
|
|
13174
|
+
var _peerTypes = v.peerTypes && v.peerTypes.length;
|
|
13175
|
+
if (_peerTypes) flags |= 2;
|
|
13176
|
+
w.uint(flags);
|
|
13177
|
+
w.string(h(v, "query"));
|
|
13178
|
+
if (_peerTypes) w.vector(w.object, v.peerTypes);
|
|
13179
|
+
},
|
|
13180
|
+
"inlineButtonTypeUserProfile": function(w, v) {
|
|
13181
|
+
w.uint(1067663311);
|
|
13182
|
+
w.int53(h(v, "userId"));
|
|
13183
|
+
},
|
|
13184
|
+
"inputInlineButtonTypeUserProfile": function(w, v) {
|
|
13185
|
+
w.uint(1408487002);
|
|
13186
|
+
w.object(h(v, "userId"));
|
|
13187
|
+
},
|
|
13188
|
+
"inlineButtonTypeCopy": function(w, v) {
|
|
13189
|
+
w.uint(3021812338);
|
|
13190
|
+
w.string(h(v, "copyText"));
|
|
13191
|
+
},
|
|
13192
|
+
"inlineButtonTypeDisabled": function(w) {
|
|
13193
|
+
w.uint(2755158429);
|
|
13194
|
+
},
|
|
13195
|
+
"keyboardInlineButton": function(w, v) {
|
|
13196
|
+
w.uint(297902882);
|
|
13197
|
+
var flags = 0;
|
|
13198
|
+
var _style = v.style !== void 0;
|
|
13199
|
+
if (_style) flags |= 1024;
|
|
13200
|
+
w.uint(flags);
|
|
13201
|
+
if (_style) w.object(v.style);
|
|
13202
|
+
w.string(h(v, "text"));
|
|
13203
|
+
w.object(h(v, "type"));
|
|
13204
|
+
},
|
|
13205
|
+
"keyboardInlineButtonRow": function(w, v) {
|
|
13206
|
+
w.uint(423758582);
|
|
13207
|
+
w.vector(w.object, h(v, "buttons"));
|
|
13208
|
+
},
|
|
13209
|
+
"richButtonStyle": function(w, v) {
|
|
13210
|
+
w.uint(63312061);
|
|
13211
|
+
var flags = 0;
|
|
13212
|
+
if (v.bgPrimary === true) flags |= 1;
|
|
13213
|
+
if (v.bgDanger === true) flags |= 2;
|
|
13214
|
+
if (v.bgSuccess === true) flags |= 4;
|
|
13215
|
+
if (v.link === true) flags |= 8;
|
|
13216
|
+
w.uint(flags);
|
|
13217
|
+
},
|
|
13218
|
+
"pageButton": function(w, v) {
|
|
13219
|
+
w.uint(1764381832);
|
|
13220
|
+
var flags = 0;
|
|
13221
|
+
var _style = v.style !== void 0;
|
|
13222
|
+
if (_style) flags |= 1;
|
|
13223
|
+
w.uint(flags);
|
|
13224
|
+
w.object(h(v, "text"));
|
|
13225
|
+
w.object(h(v, "type"));
|
|
13226
|
+
if (_style) w.object(v.style);
|
|
13227
|
+
},
|
|
13228
|
+
"ephemeral.welcomeMessagesNotModified": function(w) {
|
|
13229
|
+
w.uint(1509940017);
|
|
13230
|
+
},
|
|
13231
|
+
"ephemeral.welcomeMessages": function(w, v) {
|
|
13232
|
+
w.uint(273664114);
|
|
13233
|
+
w.long(h(v, "hash"));
|
|
13234
|
+
w.vector(w.object, h(v, "messages"));
|
|
13235
|
+
},
|
|
13236
|
+
"auth.firebasePnvIntent": function(w, v) {
|
|
13237
|
+
w.uint(3747266572);
|
|
13238
|
+
w.string(h(v, "nonce"));
|
|
13239
|
+
w.string(h(v, "digitalCredentialPayload"));
|
|
12992
13240
|
},
|
|
12993
13241
|
"invokeAfterMsg": function(w, v) {
|
|
12994
13242
|
w.uint(3416209197);
|
|
@@ -13228,6 +13476,23 @@ var m = {
|
|
|
13228
13476
|
if (_flags_0) w.int(v.fromDcId);
|
|
13229
13477
|
if (_flags_0) w.long(v.fromAuthKeyId);
|
|
13230
13478
|
},
|
|
13479
|
+
"auth.initFirebasePnvLogin": function(w, v) {
|
|
13480
|
+
w.uint(2004743034);
|
|
13481
|
+
w.int(h(v, "apiId"));
|
|
13482
|
+
w.string(h(v, "apiHash"));
|
|
13483
|
+
},
|
|
13484
|
+
"auth.finishFirebasePnvLogin": function(w, v) {
|
|
13485
|
+
w.uint(746916172);
|
|
13486
|
+
w.string(h(v, "googleToken"));
|
|
13487
|
+
},
|
|
13488
|
+
"auth.firebasePnvSignUp": function(w, v) {
|
|
13489
|
+
w.uint(2017422166);
|
|
13490
|
+
var flags = 0;
|
|
13491
|
+
if (v.noJoinedNotifications === true) flags |= 1;
|
|
13492
|
+
w.uint(flags);
|
|
13493
|
+
w.string(h(v, "firstName"));
|
|
13494
|
+
w.string(h(v, "lastName"));
|
|
13495
|
+
},
|
|
13231
13496
|
"account.registerDevice": function(w, v) {
|
|
13232
13497
|
w.uint(3968205178);
|
|
13233
13498
|
var flags = 0;
|
|
@@ -14357,6 +14622,7 @@ var m = {
|
|
|
14357
14622
|
if (_suggestedPost) flags |= 8388608;
|
|
14358
14623
|
var _scheduleRepeatPeriod = v.scheduleRepeatPeriod !== void 0;
|
|
14359
14624
|
if (_scheduleRepeatPeriod) flags |= 16777216;
|
|
14625
|
+
if (v.fromEphemeral === true) flags |= 33554432;
|
|
14360
14626
|
w.uint(flags);
|
|
14361
14627
|
w.object(h(v, "fromPeer"));
|
|
14362
14628
|
w.vector(w.int, h(v, "id"));
|
|
@@ -14585,15 +14851,18 @@ var m = {
|
|
|
14585
14851
|
w.int53(h(v, "chatId"));
|
|
14586
14852
|
},
|
|
14587
14853
|
"messages.searchGlobal": function(w, v) {
|
|
14588
|
-
w.uint(
|
|
14854
|
+
w.uint(1629922364);
|
|
14589
14855
|
var flags = 0;
|
|
14590
14856
|
var _folderId = v.folderId !== void 0;
|
|
14591
14857
|
if (_folderId) flags |= 1;
|
|
14592
14858
|
if (v.broadcastsOnly === true) flags |= 2;
|
|
14593
14859
|
if (v.groupsOnly === true) flags |= 4;
|
|
14594
14860
|
if (v.usersOnly === true) flags |= 8;
|
|
14861
|
+
var _community = v.community !== void 0;
|
|
14862
|
+
if (_community) flags |= 16;
|
|
14595
14863
|
w.uint(flags);
|
|
14596
14864
|
if (_folderId) w.int(v.folderId);
|
|
14865
|
+
if (_community) w.object(v.community);
|
|
14597
14866
|
w.string(h(v, "q"));
|
|
14598
14867
|
w.object(h(v, "filter"));
|
|
14599
14868
|
w.int(h(v, "minDate"));
|
|
@@ -16297,6 +16566,50 @@ var m = {
|
|
|
16297
16566
|
w.object(h(v, "peer"));
|
|
16298
16567
|
w.int(h(v, "id"));
|
|
16299
16568
|
},
|
|
16569
|
+
"messages.translateRichMessage": function(w, v) {
|
|
16570
|
+
w.uint(441720836);
|
|
16571
|
+
var flags = 0;
|
|
16572
|
+
var _peer = v.peer !== void 0;
|
|
16573
|
+
var _id = v.id && v.id.length;
|
|
16574
|
+
var _flags_0 = _peer || _id;
|
|
16575
|
+
if (_flags_0) flags |= 1;
|
|
16576
|
+
var _text = v.text && v.text.length;
|
|
16577
|
+
if (_text) flags |= 2;
|
|
16578
|
+
var _tone = v.tone !== void 0;
|
|
16579
|
+
if (_tone) flags |= 4;
|
|
16580
|
+
w.uint(flags);
|
|
16581
|
+
if (_flags_0) w.object(v.peer);
|
|
16582
|
+
if (_flags_0) w.vector(w.int, v.id);
|
|
16583
|
+
if (_text) w.vector(w.object, v.text);
|
|
16584
|
+
w.string(h(v, "toLang"));
|
|
16585
|
+
if (_tone) w.string(v.tone);
|
|
16586
|
+
},
|
|
16587
|
+
"messages.composeRichMessageWithAI": function(w, v) {
|
|
16588
|
+
w.uint(2373641903);
|
|
16589
|
+
var flags = 0;
|
|
16590
|
+
if (v.proofread === true) flags |= 1;
|
|
16591
|
+
var _translateToLang = v.translateToLang !== void 0;
|
|
16592
|
+
if (_translateToLang) flags |= 2;
|
|
16593
|
+
var _tone = v.tone !== void 0;
|
|
16594
|
+
if (_tone) flags |= 4;
|
|
16595
|
+
if (v.emojify === true) flags |= 8;
|
|
16596
|
+
var _text = v.text !== void 0;
|
|
16597
|
+
if (_text) flags |= 16;
|
|
16598
|
+
w.uint(flags);
|
|
16599
|
+
if (_text) w.object(v.text);
|
|
16600
|
+
if (_translateToLang) w.string(v.translateToLang);
|
|
16601
|
+
if (_tone) w.object(v.tone);
|
|
16602
|
+
},
|
|
16603
|
+
"messages.requestChatJoinWebView": function(w, v) {
|
|
16604
|
+
w.uint(3130975865);
|
|
16605
|
+
var flags = 0;
|
|
16606
|
+
var _themeParams = v.themeParams !== void 0;
|
|
16607
|
+
if (_themeParams) flags |= 1;
|
|
16608
|
+
w.uint(flags);
|
|
16609
|
+
w.long(h(v, "queryId"));
|
|
16610
|
+
if (_themeParams) w.object(v.themeParams);
|
|
16611
|
+
w.string(h(v, "platform"));
|
|
16612
|
+
},
|
|
16300
16613
|
"updates.getState": function(w) {
|
|
16301
16614
|
w.uint(3990128682);
|
|
16302
16615
|
},
|
|
@@ -16668,6 +16981,7 @@ var m = {
|
|
|
16668
16981
|
if (v.byLocation === true) flags |= 1;
|
|
16669
16982
|
if (v.checkLimit === true) flags |= 2;
|
|
16670
16983
|
if (v.forPersonal === true) flags |= 4;
|
|
16984
|
+
if (v.forCommunityPeer === true) flags |= 8;
|
|
16671
16985
|
w.uint(flags);
|
|
16672
16986
|
},
|
|
16673
16987
|
"channels.editBanned": function(w, v) {
|
|
@@ -18537,84 +18851,171 @@ var m = {
|
|
|
18537
18851
|
w.object(h(v, "tone"));
|
|
18538
18852
|
w.int(h(v, "num"));
|
|
18539
18853
|
},
|
|
18540
|
-
"
|
|
18541
|
-
w.uint(
|
|
18542
|
-
w.object(h(v, "channel"));
|
|
18543
|
-
w.object(h(v, "userId"));
|
|
18544
|
-
w.object(h(v, "password"));
|
|
18545
|
-
},
|
|
18546
|
-
"channels.createForumTopic": function(w, v) {
|
|
18547
|
-
w.uint(4094427684);
|
|
18854
|
+
"communities.create": function(w, v) {
|
|
18855
|
+
w.uint(2788710892);
|
|
18548
18856
|
var flags = 0;
|
|
18549
|
-
var
|
|
18550
|
-
if (
|
|
18551
|
-
|
|
18552
|
-
if (_sendAs) flags |= 4;
|
|
18553
|
-
var _iconEmojiId = v.iconEmojiId !== void 0;
|
|
18554
|
-
if (_iconEmojiId) flags |= 8;
|
|
18857
|
+
var _about = v.about !== void 0;
|
|
18858
|
+
if (_about) flags |= 1;
|
|
18859
|
+
if (v.hidden === true) flags |= 2;
|
|
18555
18860
|
w.uint(flags);
|
|
18556
|
-
w.object(h(v, "channel"));
|
|
18557
18861
|
w.string(h(v, "title"));
|
|
18558
|
-
if (
|
|
18559
|
-
|
|
18560
|
-
w.long(h(v, "randomId"));
|
|
18561
|
-
if (_sendAs) w.object(v.sendAs);
|
|
18862
|
+
if (_about) w.string(v.about);
|
|
18863
|
+
w.object(h(v, "peer"));
|
|
18562
18864
|
},
|
|
18563
|
-
"
|
|
18564
|
-
w.uint(
|
|
18865
|
+
"communities.togglePeerLink": function(w, v) {
|
|
18866
|
+
w.uint(1936576490);
|
|
18565
18867
|
var flags = 0;
|
|
18566
|
-
|
|
18567
|
-
if (
|
|
18868
|
+
if (v.visible === true) flags |= 1;
|
|
18869
|
+
if (v.hidden === true) flags |= 2;
|
|
18870
|
+
if (v.deleted === true) flags |= 4;
|
|
18568
18871
|
w.uint(flags);
|
|
18569
|
-
w.object(h(v, "
|
|
18570
|
-
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
w.
|
|
18872
|
+
w.object(h(v, "community"));
|
|
18873
|
+
w.object(h(v, "peer"));
|
|
18874
|
+
},
|
|
18875
|
+
"communities.getJoinedCommunities": function(w) {
|
|
18876
|
+
w.uint(2791565360);
|
|
18877
|
+
},
|
|
18878
|
+
"communities.toggleCommunityCollapsedInDialogs": function(w, v) {
|
|
18879
|
+
w.uint(3613844458);
|
|
18880
|
+
var flags = 0;
|
|
18881
|
+
if (v.collapsed === true) flags |= 1;
|
|
18882
|
+
w.uint(flags);
|
|
18883
|
+
w.object(h(v, "community"));
|
|
18884
|
+
},
|
|
18885
|
+
"communities.getPeerLinkRequests": function(w, v) {
|
|
18886
|
+
w.uint(2474062660);
|
|
18887
|
+
w.object(h(v, "community"));
|
|
18888
|
+
w.string(h(v, "offset"));
|
|
18574
18889
|
w.int(h(v, "limit"));
|
|
18575
18890
|
},
|
|
18576
|
-
"
|
|
18577
|
-
w.uint(
|
|
18578
|
-
|
|
18579
|
-
|
|
18891
|
+
"communities.togglePeerLinkRequestApproval": function(w, v) {
|
|
18892
|
+
w.uint(2357336488);
|
|
18893
|
+
var flags = 0;
|
|
18894
|
+
if (v.reject === true) flags |= 1;
|
|
18895
|
+
w.uint(flags);
|
|
18896
|
+
w.object(h(v, "community"));
|
|
18897
|
+
w.object(h(v, "peer"));
|
|
18580
18898
|
},
|
|
18581
|
-
"
|
|
18582
|
-
w.uint(
|
|
18899
|
+
"communities.toggleAllPeerLinkRequestApproval": function(w, v) {
|
|
18900
|
+
w.uint(3219381565);
|
|
18583
18901
|
var flags = 0;
|
|
18584
|
-
|
|
18585
|
-
if (_title) flags |= 1;
|
|
18586
|
-
var _iconEmojiId = v.iconEmojiId !== void 0;
|
|
18587
|
-
if (_iconEmojiId) flags |= 2;
|
|
18588
|
-
var _closed = v.closed !== void 0;
|
|
18589
|
-
if (_closed) flags |= 4;
|
|
18590
|
-
var _hidden = v.hidden !== void 0;
|
|
18591
|
-
if (_hidden) flags |= 8;
|
|
18902
|
+
if (v.reject === true) flags |= 1;
|
|
18592
18903
|
w.uint(flags);
|
|
18593
|
-
w.object(h(v, "
|
|
18594
|
-
w.int(h(v, "topicId"));
|
|
18595
|
-
if (_title) w.string(v.title);
|
|
18596
|
-
if (_iconEmojiId) w.long(v.iconEmojiId);
|
|
18597
|
-
if (_closed) w.boolean(v.closed);
|
|
18598
|
-
if (_hidden) w.boolean(v.hidden);
|
|
18904
|
+
w.object(h(v, "community"));
|
|
18599
18905
|
},
|
|
18600
|
-
"
|
|
18601
|
-
w.uint(
|
|
18602
|
-
|
|
18603
|
-
|
|
18604
|
-
w.
|
|
18906
|
+
"communities.toggleParticipantBanned": function(w, v) {
|
|
18907
|
+
w.uint(2573708559);
|
|
18908
|
+
var flags = 0;
|
|
18909
|
+
if (v.unban === true) flags |= 1;
|
|
18910
|
+
w.uint(flags);
|
|
18911
|
+
w.object(h(v, "community"));
|
|
18912
|
+
w.object(h(v, "participant"));
|
|
18605
18913
|
},
|
|
18606
|
-
"
|
|
18607
|
-
w.uint(
|
|
18608
|
-
w.object(h(v, "
|
|
18609
|
-
w.
|
|
18914
|
+
"communities.getParticipantJoinedChats": function(w, v) {
|
|
18915
|
+
w.uint(4169051051);
|
|
18916
|
+
w.object(h(v, "community"));
|
|
18917
|
+
w.object(h(v, "participant"));
|
|
18610
18918
|
},
|
|
18611
|
-
"
|
|
18612
|
-
w.uint(
|
|
18919
|
+
"ephemeral.sendMessage": function(w, v) {
|
|
18920
|
+
w.uint(3129827125);
|
|
18613
18921
|
var flags = 0;
|
|
18614
|
-
|
|
18922
|
+
var _queryId = v.queryId !== void 0;
|
|
18923
|
+
if (_queryId) flags |= 1;
|
|
18924
|
+
var _entities = v.entities && v.entities.length;
|
|
18925
|
+
if (_entities) flags |= 2;
|
|
18926
|
+
var _media = v.media !== void 0;
|
|
18927
|
+
if (_media) flags |= 4;
|
|
18928
|
+
var _replyMarkup = v.replyMarkup !== void 0;
|
|
18929
|
+
if (_replyMarkup) flags |= 8;
|
|
18930
|
+
var _richMessage = v.richMessage !== void 0;
|
|
18931
|
+
if (_richMessage) flags |= 16;
|
|
18932
|
+
var _replyTo = v.replyTo !== void 0;
|
|
18933
|
+
if (_replyTo) flags |= 32;
|
|
18934
|
+
if (v.invertMedia === true) flags |= 64;
|
|
18935
|
+
if (v.welcome === true) flags |= 128;
|
|
18936
|
+
var _peer = v.peer !== void 0;
|
|
18937
|
+
if (_peer) flags |= 256;
|
|
18938
|
+
if (v.anchor === true) flags |= 512;
|
|
18939
|
+
if (v.noforwards === true) flags |= 1024;
|
|
18615
18940
|
w.uint(flags);
|
|
18616
|
-
w.object(
|
|
18617
|
-
w.
|
|
18941
|
+
if (_peer) w.object(v.peer);
|
|
18942
|
+
w.object(h(v, "receiverId"));
|
|
18943
|
+
if (_queryId) w.long(v.queryId);
|
|
18944
|
+
w.string(h(v, "message"));
|
|
18945
|
+
if (_entities) w.vector(w.object, v.entities);
|
|
18946
|
+
if (_media) w.object(v.media);
|
|
18947
|
+
if (_replyMarkup) w.object(v.replyMarkup);
|
|
18948
|
+
if (_richMessage) w.object(v.richMessage);
|
|
18949
|
+
w.long(h(v, "randomId"));
|
|
18950
|
+
if (_replyTo) w.object(v.replyTo);
|
|
18951
|
+
},
|
|
18952
|
+
"ephemeral.deleteMessage": function(w, v) {
|
|
18953
|
+
w.uint(2465654679);
|
|
18954
|
+
var flags = 0;
|
|
18955
|
+
var _peer = v.peer !== void 0;
|
|
18956
|
+
if (_peer) flags |= 1;
|
|
18957
|
+
w.uint(flags);
|
|
18958
|
+
if (_peer) w.object(v.peer);
|
|
18959
|
+
w.object(h(v, "receiverId"));
|
|
18960
|
+
w.int(h(v, "id"));
|
|
18961
|
+
},
|
|
18962
|
+
"ephemeral.reportMessage": function(w, v) {
|
|
18963
|
+
w.uint(2265248447);
|
|
18964
|
+
w.object(h(v, "peer"));
|
|
18965
|
+
w.int(h(v, "id"));
|
|
18966
|
+
w.bytes(h(v, "option"));
|
|
18967
|
+
w.string(h(v, "message"));
|
|
18968
|
+
},
|
|
18969
|
+
"ephemeral.getCallbackAnswer": function(w, v) {
|
|
18970
|
+
w.uint(1067738312);
|
|
18971
|
+
var flags = 0;
|
|
18972
|
+
var _data = v.data !== void 0;
|
|
18973
|
+
if (_data) flags |= 2;
|
|
18974
|
+
w.uint(flags);
|
|
18975
|
+
w.object(h(v, "peer"));
|
|
18976
|
+
w.int(h(v, "id"));
|
|
18977
|
+
if (_data) w.bytes(v.data);
|
|
18978
|
+
},
|
|
18979
|
+
"ephemeral.editMessage": function(w, v) {
|
|
18980
|
+
w.uint(3483136603);
|
|
18981
|
+
var flags = 0;
|
|
18982
|
+
var _message = v.message !== void 0;
|
|
18983
|
+
if (_message) flags |= 1;
|
|
18984
|
+
var _entities = v.entities && v.entities.length;
|
|
18985
|
+
if (_entities) flags |= 2;
|
|
18986
|
+
var _replyMarkup = v.replyMarkup !== void 0;
|
|
18987
|
+
if (_replyMarkup) flags |= 4;
|
|
18988
|
+
var _media = v.media !== void 0;
|
|
18989
|
+
if (_media) flags |= 8;
|
|
18990
|
+
var _richMessage = v.richMessage !== void 0;
|
|
18991
|
+
if (_richMessage) flags |= 16;
|
|
18992
|
+
if (v.invertMedia === true) flags |= 32;
|
|
18993
|
+
if (v.welcome === true) flags |= 64;
|
|
18994
|
+
var _peer = v.peer !== void 0;
|
|
18995
|
+
if (_peer) flags |= 128;
|
|
18996
|
+
w.uint(flags);
|
|
18997
|
+
if (_peer) w.object(v.peer);
|
|
18998
|
+
w.object(h(v, "receiverId"));
|
|
18999
|
+
w.int(h(v, "id"));
|
|
19000
|
+
if (_message) w.string(v.message);
|
|
19001
|
+
if (_media) w.object(v.media);
|
|
19002
|
+
if (_entities) w.vector(w.object, v.entities);
|
|
19003
|
+
if (_replyMarkup) w.object(v.replyMarkup);
|
|
19004
|
+
if (_richMessage) w.object(v.richMessage);
|
|
19005
|
+
},
|
|
19006
|
+
"ephemeral.deleteWelcomeMessage": function(w, v) {
|
|
19007
|
+
w.uint(3900877281);
|
|
19008
|
+
w.object(h(v, "peer"));
|
|
19009
|
+
w.int(h(v, "id"));
|
|
19010
|
+
},
|
|
19011
|
+
"ephemeral.deleteAllWelcomeMessages": function(w, v) {
|
|
19012
|
+
w.uint(1934595873);
|
|
19013
|
+
w.object(h(v, "peer"));
|
|
19014
|
+
},
|
|
19015
|
+
"ephemeral.getWelcomeMessages": function(w, v) {
|
|
19016
|
+
w.uint(3684352397);
|
|
19017
|
+
w.object(h(v, "peer"));
|
|
19018
|
+
w.long(h(v, "hash"));
|
|
18618
19019
|
},
|
|
18619
19020
|
"mtcute.customMethod": function(w, v) {
|
|
18620
19021
|
w.raw(h(v, "bytes"));
|
|
@@ -18919,6 +19320,7 @@ var m = {
|
|
|
18919
19320
|
"messageActionNoForwardsToggle": 12,
|
|
18920
19321
|
"messageActionNoForwardsRequest": 16,
|
|
18921
19322
|
"messageActionManagedBotCreated": 12,
|
|
19323
|
+
"messageActionChatJoinedViaCommunity": 12,
|
|
18922
19324
|
"photoEmpty": 12,
|
|
18923
19325
|
"geoPointEmpty": 4,
|
|
18924
19326
|
"inputNotifyUsers": 4,
|
|
@@ -19029,6 +19431,7 @@ var m = {
|
|
|
19029
19431
|
"notifyChats": 4,
|
|
19030
19432
|
"notifyBroadcasts": 4,
|
|
19031
19433
|
"notifyForumTopic": 20,
|
|
19434
|
+
"notifyCommunity": 12,
|
|
19032
19435
|
"sendMessageTypingAction": 4,
|
|
19033
19436
|
"sendMessageCancelAction": 4,
|
|
19034
19437
|
"sendMessageRecordVideoAction": 4,
|
|
@@ -19045,6 +19448,7 @@ var m = {
|
|
|
19045
19448
|
"speakingInGroupCallAction": 4,
|
|
19046
19449
|
"sendMessageHistoryImportAction": 8,
|
|
19047
19450
|
"sendMessageChooseStickerAction": 4,
|
|
19451
|
+
"sendMessageStopDraftAction": 12,
|
|
19048
19452
|
"inputPrivacyKeyStatusTimestamp": 4,
|
|
19049
19453
|
"inputPrivacyKeyChatInvite": 4,
|
|
19050
19454
|
"inputPrivacyKeyPhoneCall": 4,
|
|
@@ -19206,6 +19610,7 @@ var m = {
|
|
|
19206
19610
|
"inputDialogPeerFolder": 8,
|
|
19207
19611
|
"dialogPeer": 16,
|
|
19208
19612
|
"dialogPeerFolder": 8,
|
|
19613
|
+
"dialogPeerCommunity": 12,
|
|
19209
19614
|
"messages.foundStickerSetsNotModified": 4,
|
|
19210
19615
|
"help.termsOfServiceUpdateEmpty": 8,
|
|
19211
19616
|
"inputSecureFile": 20,
|
|
@@ -19328,6 +19733,7 @@ var m = {
|
|
|
19328
19733
|
"messagePeerVoteInputOption": 20,
|
|
19329
19734
|
"storyItemDeleted": 8,
|
|
19330
19735
|
"storyItemSkipped": 20,
|
|
19736
|
+
"inputReplyToEphemeralMessage": 8,
|
|
19331
19737
|
"prepaidGiveaway": 24,
|
|
19332
19738
|
"prepaidStarsGiveaway": 32,
|
|
19333
19739
|
"postInteractionCountersMessage": 20,
|
|
@@ -19415,7 +19821,16 @@ var m = {
|
|
|
19415
19821
|
"joinChatBotResultDeclined": 4,
|
|
19416
19822
|
"joinChatBotResultQueued": 4,
|
|
19417
19823
|
"account.webBrowserSettingsNotModified": 4,
|
|
19418
|
-
"
|
|
19824
|
+
"communityPeerRequest": 32,
|
|
19825
|
+
"buttonTypeDefault": 4,
|
|
19826
|
+
"buttonTypeRequestPhone": 4,
|
|
19827
|
+
"buttonTypeRequestGeoLocation": 4,
|
|
19828
|
+
"inlineButtonTypeGame": 4,
|
|
19829
|
+
"inlineButtonTypeBuy": 4,
|
|
19830
|
+
"inlineButtonTypeUserProfile": 12,
|
|
19831
|
+
"inlineButtonTypeDisabled": 4,
|
|
19832
|
+
"richButtonStyle": 8,
|
|
19833
|
+
"ephemeral.welcomeMessagesNotModified": 4,
|
|
19419
19834
|
"auth.logOut": 4,
|
|
19420
19835
|
"auth.resetAuthorizations": 4,
|
|
19421
19836
|
"auth.exportAuthorization": 8,
|
|
@@ -19582,6 +19997,7 @@ var m = {
|
|
|
19582
19997
|
"smsjobs.updateSettings": 8,
|
|
19583
19998
|
"smsjobs.getStatus": 4,
|
|
19584
19999
|
"aicompose.getTones": 12,
|
|
20000
|
+
"communities.getJoinedCommunities": 4,
|
|
19585
20001
|
"mt_dh_gen_ok": 52,
|
|
19586
20002
|
"mt_dh_gen_retry": 52,
|
|
19587
20003
|
"mt_dh_gen_fail": 52,
|