@mtcute/tl 174.0.0 → 177.0.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/LICENSE +1 -1
- package/README.md +1 -1
- package/api-schema.json +1 -1
- package/binary/reader.js +84 -11
- package/binary/writer.js +171 -26
- package/index.d.ts +1146 -61
- package/index.js +53 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import _Long from 'long';
|
|
3
3
|
|
|
4
4
|
export declare namespace tl {
|
|
5
|
-
const LAYER =
|
|
5
|
+
const LAYER = 177;
|
|
6
6
|
|
|
7
7
|
function $extendTypes(types: Record<string, string>): void
|
|
8
8
|
|
|
@@ -1736,6 +1736,7 @@ export class RpcError extends Error {
|
|
|
1736
1736
|
*/
|
|
1737
1737
|
storiesUnavailable?: boolean;
|
|
1738
1738
|
contactRequirePremium?: boolean;
|
|
1739
|
+
botBusiness?: boolean;
|
|
1739
1740
|
/**
|
|
1740
1741
|
* ID of the user
|
|
1741
1742
|
*/
|
|
@@ -2414,6 +2415,8 @@ export class RpcError extends Error {
|
|
|
2414
2415
|
* invoking this method will update the value of this flag.
|
|
2415
2416
|
*/
|
|
2416
2417
|
viewForumAsMessages?: boolean;
|
|
2418
|
+
restrictedSponsored?: boolean;
|
|
2419
|
+
canViewRevenue?: boolean;
|
|
2417
2420
|
/**
|
|
2418
2421
|
* ID of the channel
|
|
2419
2422
|
*/
|
|
@@ -2776,6 +2779,7 @@ export class RpcError extends Error {
|
|
|
2776
2779
|
* the message instead of at the bottom.
|
|
2777
2780
|
*/
|
|
2778
2781
|
invertMedia?: boolean;
|
|
2782
|
+
offline?: boolean;
|
|
2779
2783
|
/**
|
|
2780
2784
|
* ID of the message
|
|
2781
2785
|
*/
|
|
@@ -2808,6 +2812,7 @@ export class RpcError extends Error {
|
|
|
2808
2812
|
* ID of the inline bot that generated the message
|
|
2809
2813
|
*/
|
|
2810
2814
|
viaBotId?: number;
|
|
2815
|
+
viaBusinessBotId?: number;
|
|
2811
2816
|
/**
|
|
2812
2817
|
* Reply information
|
|
2813
2818
|
*/
|
|
@@ -2881,6 +2886,7 @@ export class RpcError extends Error {
|
|
|
2881
2886
|
* well.
|
|
2882
2887
|
*/
|
|
2883
2888
|
ttlPeriod?: number;
|
|
2889
|
+
quickReplyShortcutId?: number;
|
|
2884
2890
|
}
|
|
2885
2891
|
/**
|
|
2886
2892
|
* Indicates a service message
|
|
@@ -4116,6 +4122,11 @@ export class RpcError extends Error {
|
|
|
4116
4122
|
_: 'messageActionBoostApply';
|
|
4117
4123
|
boosts: number;
|
|
4118
4124
|
}
|
|
4125
|
+
interface RawMessageActionRequestedPeerSentMe {
|
|
4126
|
+
_: 'messageActionRequestedPeerSentMe';
|
|
4127
|
+
buttonId: number;
|
|
4128
|
+
peers: tl.TypeRequestedPeer[];
|
|
4129
|
+
}
|
|
4119
4130
|
/**
|
|
4120
4131
|
* Chat
|
|
4121
4132
|
*/
|
|
@@ -4620,6 +4631,8 @@ export class RpcError extends Error {
|
|
|
4620
4631
|
* request »</a> is related to a chat).
|
|
4621
4632
|
*/
|
|
4622
4633
|
requestChatBroadcast?: boolean;
|
|
4634
|
+
businessBotPaused?: boolean;
|
|
4635
|
+
businessBotCanReply?: boolean;
|
|
4623
4636
|
/**
|
|
4624
4637
|
* Distance in meters between us and this peer
|
|
4625
4638
|
*/
|
|
@@ -4638,6 +4651,8 @@ export class RpcError extends Error {
|
|
|
4638
4651
|
* request »</a> was sent.
|
|
4639
4652
|
*/
|
|
4640
4653
|
requestChatDate?: number;
|
|
4654
|
+
businessBotId?: number;
|
|
4655
|
+
businessBotManageUrl?: string;
|
|
4641
4656
|
}
|
|
4642
4657
|
/**
|
|
4643
4658
|
* Represents a
|
|
@@ -4937,6 +4952,14 @@ export class RpcError extends Error {
|
|
|
4937
4952
|
* »</a>
|
|
4938
4953
|
*/
|
|
4939
4954
|
stories?: tl.TypePeerStories;
|
|
4955
|
+
businessWorkHours?: tl.TypeBusinessWorkHours;
|
|
4956
|
+
businessLocation?: tl.TypeBusinessLocation;
|
|
4957
|
+
businessGreetingMessage?: tl.TypeBusinessGreetingMessage;
|
|
4958
|
+
businessAwayMessage?: tl.TypeBusinessAwayMessage;
|
|
4959
|
+
businessIntro?: tl.TypeBusinessIntro;
|
|
4960
|
+
birthday?: tl.TypeBirthday;
|
|
4961
|
+
personalChannelId?: number;
|
|
4962
|
+
personalChannelMessage?: number;
|
|
4940
4963
|
}
|
|
4941
4964
|
/**
|
|
4942
4965
|
* A contact of the current user that is registered in the
|
|
@@ -7204,23 +7227,6 @@ export class RpcError extends Error {
|
|
|
7204
7227
|
interface RawUpdateAutoSaveSettings {
|
|
7205
7228
|
_: 'updateAutoSaveSettings';
|
|
7206
7229
|
}
|
|
7207
|
-
/**
|
|
7208
|
-
* 0-N updates of this type may be returned only when invoking
|
|
7209
|
-
* {@link messages.RawAddChatUserRequest},
|
|
7210
|
-
* {@link channels.RawInviteToChannelRequest} or
|
|
7211
|
-
* {@link messages.RawCreateChatRequest}: it indicates we
|
|
7212
|
-
* couldn't add a user to a chat because of their privacy
|
|
7213
|
-
* settings; if required, an
|
|
7214
|
-
* <a href="https://corefork.telegram.org/api/invites">invite
|
|
7215
|
-
* link</a> can be shared with the user, instead.
|
|
7216
|
-
*/
|
|
7217
|
-
interface RawUpdateGroupInvitePrivacyForbidden {
|
|
7218
|
-
_: 'updateGroupInvitePrivacyForbidden';
|
|
7219
|
-
/**
|
|
7220
|
-
* ID of the user we couldn't add.
|
|
7221
|
-
*/
|
|
7222
|
-
userId: number;
|
|
7223
|
-
}
|
|
7224
7230
|
/**
|
|
7225
7231
|
* A new story was posted.
|
|
7226
7232
|
*/
|
|
@@ -7472,6 +7478,57 @@ export class RpcError extends Error {
|
|
|
7472
7478
|
interface RawUpdateSavedReactionTags {
|
|
7473
7479
|
_: 'updateSavedReactionTags';
|
|
7474
7480
|
}
|
|
7481
|
+
interface RawUpdateSmsJob {
|
|
7482
|
+
_: 'updateSmsJob';
|
|
7483
|
+
jobId: string;
|
|
7484
|
+
}
|
|
7485
|
+
interface RawUpdateQuickReplies {
|
|
7486
|
+
_: 'updateQuickReplies';
|
|
7487
|
+
quickReplies: tl.TypeQuickReply[];
|
|
7488
|
+
}
|
|
7489
|
+
interface RawUpdateNewQuickReply {
|
|
7490
|
+
_: 'updateNewQuickReply';
|
|
7491
|
+
quickReply: tl.TypeQuickReply;
|
|
7492
|
+
}
|
|
7493
|
+
interface RawUpdateDeleteQuickReply {
|
|
7494
|
+
_: 'updateDeleteQuickReply';
|
|
7495
|
+
shortcutId: number;
|
|
7496
|
+
}
|
|
7497
|
+
interface RawUpdateQuickReplyMessage {
|
|
7498
|
+
_: 'updateQuickReplyMessage';
|
|
7499
|
+
message: tl.TypeMessage;
|
|
7500
|
+
}
|
|
7501
|
+
interface RawUpdateDeleteQuickReplyMessages {
|
|
7502
|
+
_: 'updateDeleteQuickReplyMessages';
|
|
7503
|
+
shortcutId: number;
|
|
7504
|
+
messages: number[];
|
|
7505
|
+
}
|
|
7506
|
+
interface RawUpdateBotBusinessConnect {
|
|
7507
|
+
_: 'updateBotBusinessConnect';
|
|
7508
|
+
connection: tl.TypeBotBusinessConnection;
|
|
7509
|
+
qts: number;
|
|
7510
|
+
}
|
|
7511
|
+
interface RawUpdateBotNewBusinessMessage {
|
|
7512
|
+
_: 'updateBotNewBusinessMessage';
|
|
7513
|
+
connectionId: string;
|
|
7514
|
+
message: tl.TypeMessage;
|
|
7515
|
+
replyToMessage?: tl.TypeMessage;
|
|
7516
|
+
qts: number;
|
|
7517
|
+
}
|
|
7518
|
+
interface RawUpdateBotEditBusinessMessage {
|
|
7519
|
+
_: 'updateBotEditBusinessMessage';
|
|
7520
|
+
connectionId: string;
|
|
7521
|
+
message: tl.TypeMessage;
|
|
7522
|
+
replyToMessage?: tl.TypeMessage;
|
|
7523
|
+
qts: number;
|
|
7524
|
+
}
|
|
7525
|
+
interface RawUpdateBotDeleteBusinessMessage {
|
|
7526
|
+
_: 'updateBotDeleteBusinessMessage';
|
|
7527
|
+
connectionId: string;
|
|
7528
|
+
peer: tl.TypePeer;
|
|
7529
|
+
messages: number[];
|
|
7530
|
+
qts: number;
|
|
7531
|
+
}
|
|
7475
7532
|
/**
|
|
7476
7533
|
* Too many updates, it is necessary to execute
|
|
7477
7534
|
* {@link updates.RawGetDifferenceRequest}.
|
|
@@ -8704,6 +8761,9 @@ export class RpcError extends Error {
|
|
|
8704
8761
|
interface RawInputPrivacyKeyAbout {
|
|
8705
8762
|
_: 'inputPrivacyKeyAbout';
|
|
8706
8763
|
}
|
|
8764
|
+
interface RawInputPrivacyKeyBirthday {
|
|
8765
|
+
_: 'inputPrivacyKeyBirthday';
|
|
8766
|
+
}
|
|
8707
8767
|
/**
|
|
8708
8768
|
* Whether we can see the last online timestamp of this user
|
|
8709
8769
|
*/
|
|
@@ -8768,6 +8828,9 @@ export class RpcError extends Error {
|
|
|
8768
8828
|
interface RawPrivacyKeyAbout {
|
|
8769
8829
|
_: 'privacyKeyAbout';
|
|
8770
8830
|
}
|
|
8831
|
+
interface RawPrivacyKeyBirthday {
|
|
8832
|
+
_: 'privacyKeyBirthday';
|
|
8833
|
+
}
|
|
8771
8834
|
/**
|
|
8772
8835
|
* Allow only contacts
|
|
8773
8836
|
*/
|
|
@@ -8840,6 +8903,9 @@ export class RpcError extends Error {
|
|
|
8840
8903
|
interface RawInputPrivacyValueAllowCloseFriends {
|
|
8841
8904
|
_: 'inputPrivacyValueAllowCloseFriends';
|
|
8842
8905
|
}
|
|
8906
|
+
interface RawInputPrivacyValueAllowPremium {
|
|
8907
|
+
_: 'inputPrivacyValueAllowPremium';
|
|
8908
|
+
}
|
|
8843
8909
|
/**
|
|
8844
8910
|
* Allow all contacts
|
|
8845
8911
|
*/
|
|
@@ -8912,6 +8978,9 @@ export class RpcError extends Error {
|
|
|
8912
8978
|
interface RawPrivacyValueAllowCloseFriends {
|
|
8913
8979
|
_: 'privacyValueAllowCloseFriends';
|
|
8914
8980
|
}
|
|
8981
|
+
interface RawPrivacyValueAllowPremium {
|
|
8982
|
+
_: 'privacyValueAllowPremium';
|
|
8983
|
+
}
|
|
8915
8984
|
/**
|
|
8916
8985
|
* Time to live in days of the current account
|
|
8917
8986
|
*/
|
|
@@ -9609,14 +9678,6 @@ export class RpcError extends Error {
|
|
|
9609
9678
|
* Is this a mask stickerset
|
|
9610
9679
|
*/
|
|
9611
9680
|
masks?: boolean;
|
|
9612
|
-
/**
|
|
9613
|
-
* Is this an animated stickerpack
|
|
9614
|
-
*/
|
|
9615
|
-
animated?: boolean;
|
|
9616
|
-
/**
|
|
9617
|
-
* Is this a video stickerpack
|
|
9618
|
-
*/
|
|
9619
|
-
videos?: boolean;
|
|
9620
9681
|
/**
|
|
9621
9682
|
* This is a custom emoji stickerset
|
|
9622
9683
|
*/
|
|
@@ -9634,6 +9695,7 @@ export class RpcError extends Error {
|
|
|
9634
9695
|
* emoji statuses</a>.
|
|
9635
9696
|
*/
|
|
9636
9697
|
channelEmojiStatus?: boolean;
|
|
9698
|
+
creator?: boolean;
|
|
9637
9699
|
/**
|
|
9638
9700
|
* When was this stickerset installed
|
|
9639
9701
|
*/
|
|
@@ -9673,6 +9735,14 @@ export class RpcError extends Error {
|
|
|
9673
9735
|
* using {@link messages.RawGetCustomEmojiDocumentsRequest}
|
|
9674
9736
|
*/
|
|
9675
9737
|
thumbDocumentId?: Long;
|
|
9738
|
+
/**
|
|
9739
|
+
* Is this an animated stickerpack
|
|
9740
|
+
*/
|
|
9741
|
+
animated?: boolean;
|
|
9742
|
+
/**
|
|
9743
|
+
* Is this a video stickerpack
|
|
9744
|
+
*/
|
|
9745
|
+
videos?: boolean;
|
|
9676
9746
|
/**
|
|
9677
9747
|
* Number of stickers in pack
|
|
9678
9748
|
*/
|
|
@@ -10071,6 +10141,16 @@ export class RpcError extends Error {
|
|
|
10071
10141
|
*/
|
|
10072
10142
|
maxQuantity: number;
|
|
10073
10143
|
}
|
|
10144
|
+
interface RawInputKeyboardButtonRequestPeer {
|
|
10145
|
+
_: 'inputKeyboardButtonRequestPeer';
|
|
10146
|
+
nameRequested?: boolean;
|
|
10147
|
+
usernameRequested?: boolean;
|
|
10148
|
+
photoRequested?: boolean;
|
|
10149
|
+
text: string;
|
|
10150
|
+
buttonId: number;
|
|
10151
|
+
peerType: tl.TypeRequestPeerType;
|
|
10152
|
+
maxQuantity: number;
|
|
10153
|
+
}
|
|
10074
10154
|
/**
|
|
10075
10155
|
* Inline keyboard row
|
|
10076
10156
|
*/
|
|
@@ -13372,6 +13452,7 @@ export class RpcError extends Error {
|
|
|
13372
13452
|
* When was the call actually started
|
|
13373
13453
|
*/
|
|
13374
13454
|
startDate: number;
|
|
13455
|
+
customParameters?: tl.TypeDataJSON;
|
|
13375
13456
|
}
|
|
13376
13457
|
/**
|
|
13377
13458
|
* Indicates a discarded phone call
|
|
@@ -16885,6 +16966,7 @@ export class RpcError extends Error {
|
|
|
16885
16966
|
* Emoji to use as icon for the folder.
|
|
16886
16967
|
*/
|
|
16887
16968
|
emoticon?: string;
|
|
16969
|
+
color?: number;
|
|
16888
16970
|
/**
|
|
16889
16971
|
* Pinned chats,
|
|
16890
16972
|
* <a href="https://corefork.telegram.org/api/folders">folders</a>
|
|
@@ -16934,6 +17016,7 @@ export class RpcError extends Error {
|
|
|
16934
17016
|
* Emoji to use as icon for the folder.
|
|
16935
17017
|
*/
|
|
16936
17018
|
emoticon?: string;
|
|
17019
|
+
color?: number;
|
|
16937
17020
|
/**
|
|
16938
17021
|
* Pinned chats,
|
|
16939
17022
|
* <a href="https://corefork.telegram.org/api/folders">folders</a>
|
|
@@ -17819,6 +17902,7 @@ export class RpcError extends Error {
|
|
|
17819
17902
|
* <code>from_id</code>, or from <code>chat_invite</code>.
|
|
17820
17903
|
*/
|
|
17821
17904
|
showPeerPhoto?: boolean;
|
|
17905
|
+
canReport?: boolean;
|
|
17822
17906
|
/**
|
|
17823
17907
|
* Message ID
|
|
17824
17908
|
*/
|
|
@@ -20484,6 +20568,262 @@ export class RpcError extends Error {
|
|
|
20484
20568
|
_: 'outboxReadDate';
|
|
20485
20569
|
date: number;
|
|
20486
20570
|
}
|
|
20571
|
+
interface RawSmsJob {
|
|
20572
|
+
_: 'smsJob';
|
|
20573
|
+
jobId: string;
|
|
20574
|
+
phoneNumber: string;
|
|
20575
|
+
text: string;
|
|
20576
|
+
}
|
|
20577
|
+
interface RawBusinessWeeklyOpen {
|
|
20578
|
+
_: 'businessWeeklyOpen';
|
|
20579
|
+
startMinute: number;
|
|
20580
|
+
endMinute: number;
|
|
20581
|
+
}
|
|
20582
|
+
interface RawBusinessWorkHours {
|
|
20583
|
+
_: 'businessWorkHours';
|
|
20584
|
+
openNow?: boolean;
|
|
20585
|
+
timezoneId: string;
|
|
20586
|
+
weeklyOpen: tl.TypeBusinessWeeklyOpen[];
|
|
20587
|
+
}
|
|
20588
|
+
interface RawBusinessLocation {
|
|
20589
|
+
_: 'businessLocation';
|
|
20590
|
+
geoPoint?: tl.TypeGeoPoint;
|
|
20591
|
+
address: string;
|
|
20592
|
+
}
|
|
20593
|
+
interface RawInputBusinessRecipients {
|
|
20594
|
+
_: 'inputBusinessRecipients';
|
|
20595
|
+
existingChats?: boolean;
|
|
20596
|
+
newChats?: boolean;
|
|
20597
|
+
contacts?: boolean;
|
|
20598
|
+
nonContacts?: boolean;
|
|
20599
|
+
excludeSelected?: boolean;
|
|
20600
|
+
users?: tl.TypeInputUser[];
|
|
20601
|
+
}
|
|
20602
|
+
interface RawBusinessRecipients {
|
|
20603
|
+
_: 'businessRecipients';
|
|
20604
|
+
existingChats?: boolean;
|
|
20605
|
+
newChats?: boolean;
|
|
20606
|
+
contacts?: boolean;
|
|
20607
|
+
nonContacts?: boolean;
|
|
20608
|
+
excludeSelected?: boolean;
|
|
20609
|
+
users?: number[];
|
|
20610
|
+
}
|
|
20611
|
+
interface RawBusinessAwayMessageScheduleAlways {
|
|
20612
|
+
_: 'businessAwayMessageScheduleAlways';
|
|
20613
|
+
}
|
|
20614
|
+
interface RawBusinessAwayMessageScheduleOutsideWorkHours {
|
|
20615
|
+
_: 'businessAwayMessageScheduleOutsideWorkHours';
|
|
20616
|
+
}
|
|
20617
|
+
interface RawBusinessAwayMessageScheduleCustom {
|
|
20618
|
+
_: 'businessAwayMessageScheduleCustom';
|
|
20619
|
+
startDate: number;
|
|
20620
|
+
endDate: number;
|
|
20621
|
+
}
|
|
20622
|
+
interface RawInputBusinessGreetingMessage {
|
|
20623
|
+
_: 'inputBusinessGreetingMessage';
|
|
20624
|
+
shortcutId: number;
|
|
20625
|
+
recipients: tl.TypeInputBusinessRecipients;
|
|
20626
|
+
noActivityDays: number;
|
|
20627
|
+
}
|
|
20628
|
+
interface RawBusinessGreetingMessage {
|
|
20629
|
+
_: 'businessGreetingMessage';
|
|
20630
|
+
shortcutId: number;
|
|
20631
|
+
recipients: tl.TypeBusinessRecipients;
|
|
20632
|
+
noActivityDays: number;
|
|
20633
|
+
}
|
|
20634
|
+
interface RawInputBusinessAwayMessage {
|
|
20635
|
+
_: 'inputBusinessAwayMessage';
|
|
20636
|
+
offlineOnly?: boolean;
|
|
20637
|
+
shortcutId: number;
|
|
20638
|
+
schedule: tl.TypeBusinessAwayMessageSchedule;
|
|
20639
|
+
recipients: tl.TypeInputBusinessRecipients;
|
|
20640
|
+
}
|
|
20641
|
+
interface RawBusinessAwayMessage {
|
|
20642
|
+
_: 'businessAwayMessage';
|
|
20643
|
+
offlineOnly?: boolean;
|
|
20644
|
+
shortcutId: number;
|
|
20645
|
+
schedule: tl.TypeBusinessAwayMessageSchedule;
|
|
20646
|
+
recipients: tl.TypeBusinessRecipients;
|
|
20647
|
+
}
|
|
20648
|
+
interface RawTimezone {
|
|
20649
|
+
_: 'timezone';
|
|
20650
|
+
id: string;
|
|
20651
|
+
name: string;
|
|
20652
|
+
utcOffset: number;
|
|
20653
|
+
}
|
|
20654
|
+
interface RawQuickReply {
|
|
20655
|
+
_: 'quickReply';
|
|
20656
|
+
shortcutId: number;
|
|
20657
|
+
shortcut: string;
|
|
20658
|
+
topMessage: number;
|
|
20659
|
+
count: number;
|
|
20660
|
+
}
|
|
20661
|
+
interface RawInputQuickReplyShortcut {
|
|
20662
|
+
_: 'inputQuickReplyShortcut';
|
|
20663
|
+
shortcut: string;
|
|
20664
|
+
}
|
|
20665
|
+
interface RawInputQuickReplyShortcutId {
|
|
20666
|
+
_: 'inputQuickReplyShortcutId';
|
|
20667
|
+
shortcutId: number;
|
|
20668
|
+
}
|
|
20669
|
+
interface RawConnectedBot {
|
|
20670
|
+
_: 'connectedBot';
|
|
20671
|
+
canReply?: boolean;
|
|
20672
|
+
botId: number;
|
|
20673
|
+
recipients: tl.TypeBusinessBotRecipients;
|
|
20674
|
+
}
|
|
20675
|
+
interface RawBirthday {
|
|
20676
|
+
_: 'birthday';
|
|
20677
|
+
day: number;
|
|
20678
|
+
month: number;
|
|
20679
|
+
year?: number;
|
|
20680
|
+
}
|
|
20681
|
+
interface RawBotBusinessConnection {
|
|
20682
|
+
_: 'botBusinessConnection';
|
|
20683
|
+
canReply?: boolean;
|
|
20684
|
+
disabled?: boolean;
|
|
20685
|
+
connectionId: string;
|
|
20686
|
+
userId: number;
|
|
20687
|
+
dcId: number;
|
|
20688
|
+
date: number;
|
|
20689
|
+
}
|
|
20690
|
+
interface RawInputBusinessIntro {
|
|
20691
|
+
_: 'inputBusinessIntro';
|
|
20692
|
+
title: string;
|
|
20693
|
+
description: string;
|
|
20694
|
+
sticker?: tl.TypeInputDocument;
|
|
20695
|
+
}
|
|
20696
|
+
interface RawBusinessIntro {
|
|
20697
|
+
_: 'businessIntro';
|
|
20698
|
+
title: string;
|
|
20699
|
+
description: string;
|
|
20700
|
+
sticker?: tl.TypeDocument;
|
|
20701
|
+
}
|
|
20702
|
+
interface RawInputCollectibleUsername {
|
|
20703
|
+
_: 'inputCollectibleUsername';
|
|
20704
|
+
username: string;
|
|
20705
|
+
}
|
|
20706
|
+
interface RawInputCollectiblePhone {
|
|
20707
|
+
_: 'inputCollectiblePhone';
|
|
20708
|
+
phone: string;
|
|
20709
|
+
}
|
|
20710
|
+
interface RawInputBusinessBotRecipients {
|
|
20711
|
+
_: 'inputBusinessBotRecipients';
|
|
20712
|
+
existingChats?: boolean;
|
|
20713
|
+
newChats?: boolean;
|
|
20714
|
+
contacts?: boolean;
|
|
20715
|
+
nonContacts?: boolean;
|
|
20716
|
+
excludeSelected?: boolean;
|
|
20717
|
+
users?: tl.TypeInputUser[];
|
|
20718
|
+
excludeUsers?: tl.TypeInputUser[];
|
|
20719
|
+
}
|
|
20720
|
+
interface RawBusinessBotRecipients {
|
|
20721
|
+
_: 'businessBotRecipients';
|
|
20722
|
+
existingChats?: boolean;
|
|
20723
|
+
newChats?: boolean;
|
|
20724
|
+
contacts?: boolean;
|
|
20725
|
+
nonContacts?: boolean;
|
|
20726
|
+
excludeSelected?: boolean;
|
|
20727
|
+
users?: number[];
|
|
20728
|
+
excludeUsers?: number[];
|
|
20729
|
+
}
|
|
20730
|
+
interface RawContactBirthday {
|
|
20731
|
+
_: 'contactBirthday';
|
|
20732
|
+
contactId: number;
|
|
20733
|
+
birthday: tl.TypeBirthday;
|
|
20734
|
+
}
|
|
20735
|
+
interface RawMissingInvitee {
|
|
20736
|
+
_: 'missingInvitee';
|
|
20737
|
+
premiumWouldAllowInvite?: boolean;
|
|
20738
|
+
premiumRequiredForPm?: boolean;
|
|
20739
|
+
userId: number;
|
|
20740
|
+
}
|
|
20741
|
+
interface RawInputBusinessChatLink {
|
|
20742
|
+
_: 'inputBusinessChatLink';
|
|
20743
|
+
message: string;
|
|
20744
|
+
entities?: tl.TypeMessageEntity[];
|
|
20745
|
+
title?: string;
|
|
20746
|
+
}
|
|
20747
|
+
interface RawBusinessChatLink {
|
|
20748
|
+
_: 'businessChatLink';
|
|
20749
|
+
link: string;
|
|
20750
|
+
message: string;
|
|
20751
|
+
entities?: tl.TypeMessageEntity[];
|
|
20752
|
+
title?: string;
|
|
20753
|
+
views: number;
|
|
20754
|
+
}
|
|
20755
|
+
interface RawRequestedPeerUser {
|
|
20756
|
+
_: 'requestedPeerUser';
|
|
20757
|
+
userId: number;
|
|
20758
|
+
firstName?: string;
|
|
20759
|
+
lastName?: string;
|
|
20760
|
+
username?: string;
|
|
20761
|
+
photo?: tl.TypePhoto;
|
|
20762
|
+
}
|
|
20763
|
+
interface RawRequestedPeerChat {
|
|
20764
|
+
_: 'requestedPeerChat';
|
|
20765
|
+
chatId: number;
|
|
20766
|
+
title?: string;
|
|
20767
|
+
photo?: tl.TypePhoto;
|
|
20768
|
+
}
|
|
20769
|
+
interface RawRequestedPeerChannel {
|
|
20770
|
+
_: 'requestedPeerChannel';
|
|
20771
|
+
channelId: Long;
|
|
20772
|
+
title?: string;
|
|
20773
|
+
username?: string;
|
|
20774
|
+
photo?: tl.TypePhoto;
|
|
20775
|
+
}
|
|
20776
|
+
interface RawSponsoredMessageReportOption {
|
|
20777
|
+
_: 'sponsoredMessageReportOption';
|
|
20778
|
+
text: string;
|
|
20779
|
+
option: Uint8Array;
|
|
20780
|
+
}
|
|
20781
|
+
interface RawBroadcastRevenueTransactionProceeds {
|
|
20782
|
+
_: 'broadcastRevenueTransactionProceeds';
|
|
20783
|
+
amount: Long;
|
|
20784
|
+
fromDate: number;
|
|
20785
|
+
toDate: number;
|
|
20786
|
+
}
|
|
20787
|
+
interface RawBroadcastRevenueTransactionWithdrawal {
|
|
20788
|
+
_: 'broadcastRevenueTransactionWithdrawal';
|
|
20789
|
+
pending?: boolean;
|
|
20790
|
+
failed?: boolean;
|
|
20791
|
+
amount: Long;
|
|
20792
|
+
date: number;
|
|
20793
|
+
provider: string;
|
|
20794
|
+
transactionDate?: number;
|
|
20795
|
+
transactionUrl?: string;
|
|
20796
|
+
}
|
|
20797
|
+
interface RawBroadcastRevenueTransactionRefund {
|
|
20798
|
+
_: 'broadcastRevenueTransactionRefund';
|
|
20799
|
+
amount: Long;
|
|
20800
|
+
date: number;
|
|
20801
|
+
provider: string;
|
|
20802
|
+
}
|
|
20803
|
+
/**
|
|
20804
|
+
* 0-N updates of this type may be returned only when invoking
|
|
20805
|
+
* {@link messages.RawAddChatUserRequest},
|
|
20806
|
+
* {@link channels.RawInviteToChannelRequest} or
|
|
20807
|
+
* {@link messages.RawCreateChatRequest}: it indicates we
|
|
20808
|
+
* couldn't add a user to a chat because of their privacy
|
|
20809
|
+
* settings; if required, an
|
|
20810
|
+
* <a href="https://corefork.telegram.org/api/invites">invite
|
|
20811
|
+
* link</a> can be shared with the user, instead.
|
|
20812
|
+
*/
|
|
20813
|
+
interface RawUpdateGroupInvitePrivacyForbidden {
|
|
20814
|
+
_: 'updateGroupInvitePrivacyForbidden';
|
|
20815
|
+
/**
|
|
20816
|
+
* ID of the user we couldn't add.
|
|
20817
|
+
*/
|
|
20818
|
+
userId: number;
|
|
20819
|
+
}
|
|
20820
|
+
/**
|
|
20821
|
+
* RPC method returns {@link tl.TypeError}
|
|
20822
|
+
*/
|
|
20823
|
+
interface RawInvokeWithBusinessConnectionPrefixRequest {
|
|
20824
|
+
_: 'invokeWithBusinessConnectionPrefix';
|
|
20825
|
+
connectionId: string;
|
|
20826
|
+
}
|
|
20487
20827
|
/**
|
|
20488
20828
|
* Invokes a query after successful completion of one of the
|
|
20489
20829
|
* previous queries.
|
|
@@ -20626,7 +20966,13 @@ export class RpcError extends Error {
|
|
|
20626
20966
|
*/
|
|
20627
20967
|
query: X;
|
|
20628
20968
|
}
|
|
20629
|
-
interface
|
|
20969
|
+
interface RawInvokeWithBusinessConnectionRequest<X extends tl.TlObject = tl.TlObject> {
|
|
20970
|
+
_: 'invokeWithBusinessConnection';
|
|
20971
|
+
connectionId: string;
|
|
20972
|
+
query: X;
|
|
20973
|
+
}
|
|
20974
|
+
interface RpcCallReturn extends help.RpcCallReturn, storage.RpcCallReturn, auth.RpcCallReturn, contacts.RpcCallReturn, messages.RpcCallReturn, updates.RpcCallReturn, photos.RpcCallReturn, upload.RpcCallReturn, account.RpcCallReturn, channels.RpcCallReturn, payments.RpcCallReturn, phone.RpcCallReturn, stats.RpcCallReturn, stickers.RpcCallReturn, users.RpcCallReturn, chatlists.RpcCallReturn, bots.RpcCallReturn, stories.RpcCallReturn, premium.RpcCallReturn, smsjobs.RpcCallReturn, fragment.RpcCallReturn, mtcute.RpcCallReturn, test.RpcCallReturn, langpack.RpcCallReturn, folders.RpcCallReturn {
|
|
20975
|
+
'invokeWithBusinessConnectionPrefix': tl.TypeError
|
|
20630
20976
|
'invokeAfterMsg': any
|
|
20631
20977
|
'invokeAfterMsgs': any
|
|
20632
20978
|
'initConnection': any
|
|
@@ -20634,6 +20980,7 @@ export class RpcError extends Error {
|
|
|
20634
20980
|
'invokeWithoutUpdates': any
|
|
20635
20981
|
'invokeWithMessagesRange': any
|
|
20636
20982
|
'invokeWithTakeout': any
|
|
20983
|
+
'invokeWithBusinessConnection': any
|
|
20637
20984
|
}
|
|
20638
20985
|
/**
|
|
20639
20986
|
* An object containing a query error.
|
|
@@ -20753,7 +21100,7 @@ export class RpcError extends Error {
|
|
|
20753
21100
|
/**
|
|
20754
21101
|
* Object describing actions connected to a service message.
|
|
20755
21102
|
*/
|
|
20756
|
-
type TypeMessageAction = tl.RawMessageActionEmpty | tl.RawMessageActionChatCreate | tl.RawMessageActionChatEditTitle | tl.RawMessageActionChatEditPhoto | tl.RawMessageActionChatDeletePhoto | tl.RawMessageActionChatAddUser | tl.RawMessageActionChatDeleteUser | tl.RawMessageActionChatJoinedByLink | tl.RawMessageActionChannelCreate | tl.RawMessageActionChatMigrateTo | tl.RawMessageActionChannelMigrateFrom | tl.RawMessageActionPinMessage | tl.RawMessageActionHistoryClear | tl.RawMessageActionGameScore | tl.RawMessageActionPaymentSentMe | tl.RawMessageActionPaymentSent | tl.RawMessageActionPhoneCall | tl.RawMessageActionScreenshotTaken | tl.RawMessageActionCustomAction | tl.RawMessageActionBotAllowed | tl.RawMessageActionSecureValuesSentMe | tl.RawMessageActionSecureValuesSent | tl.RawMessageActionContactSignUp | tl.RawMessageActionGeoProximityReached | tl.RawMessageActionGroupCall | tl.RawMessageActionInviteToGroupCall | tl.RawMessageActionSetMessagesTTL | tl.RawMessageActionGroupCallScheduled | tl.RawMessageActionSetChatTheme | tl.RawMessageActionChatJoinedByRequest | tl.RawMessageActionWebViewDataSentMe | tl.RawMessageActionWebViewDataSent | tl.RawMessageActionGiftPremium | tl.RawMessageActionTopicCreate | tl.RawMessageActionTopicEdit | tl.RawMessageActionSuggestProfilePhoto | tl.RawMessageActionRequestedPeer | tl.RawMessageActionSetChatWallPaper | tl.RawMessageActionGiftCode | tl.RawMessageActionGiveawayLaunch | tl.RawMessageActionGiveawayResults | tl.RawMessageActionBoostApply
|
|
21103
|
+
type TypeMessageAction = tl.RawMessageActionEmpty | tl.RawMessageActionChatCreate | tl.RawMessageActionChatEditTitle | tl.RawMessageActionChatEditPhoto | tl.RawMessageActionChatDeletePhoto | tl.RawMessageActionChatAddUser | tl.RawMessageActionChatDeleteUser | tl.RawMessageActionChatJoinedByLink | tl.RawMessageActionChannelCreate | tl.RawMessageActionChatMigrateTo | tl.RawMessageActionChannelMigrateFrom | tl.RawMessageActionPinMessage | tl.RawMessageActionHistoryClear | tl.RawMessageActionGameScore | tl.RawMessageActionPaymentSentMe | tl.RawMessageActionPaymentSent | tl.RawMessageActionPhoneCall | tl.RawMessageActionScreenshotTaken | tl.RawMessageActionCustomAction | tl.RawMessageActionBotAllowed | tl.RawMessageActionSecureValuesSentMe | tl.RawMessageActionSecureValuesSent | tl.RawMessageActionContactSignUp | tl.RawMessageActionGeoProximityReached | tl.RawMessageActionGroupCall | tl.RawMessageActionInviteToGroupCall | tl.RawMessageActionSetMessagesTTL | tl.RawMessageActionGroupCallScheduled | tl.RawMessageActionSetChatTheme | tl.RawMessageActionChatJoinedByRequest | tl.RawMessageActionWebViewDataSentMe | tl.RawMessageActionWebViewDataSent | tl.RawMessageActionGiftPremium | tl.RawMessageActionTopicCreate | tl.RawMessageActionTopicEdit | tl.RawMessageActionSuggestProfilePhoto | tl.RawMessageActionRequestedPeer | tl.RawMessageActionSetChatWallPaper | tl.RawMessageActionGiftCode | tl.RawMessageActionGiveawayLaunch | tl.RawMessageActionGiveawayResults | tl.RawMessageActionBoostApply | tl.RawMessageActionRequestedPeerSentMe
|
|
20757
21104
|
function isAnyMessageAction(o: object): o is TypeMessageAction
|
|
20758
21105
|
/**
|
|
20759
21106
|
* Chat info.
|
|
@@ -20836,7 +21183,7 @@ export class RpcError extends Error {
|
|
|
20836
21183
|
/**
|
|
20837
21184
|
* Object contains info on events occurred.
|
|
20838
21185
|
*/
|
|
20839
|
-
type TypeUpdate = tl.RawUpdateNewMessage | tl.RawUpdateMessageID | tl.RawUpdateDeleteMessages | tl.RawUpdateUserTyping | tl.RawUpdateChatUserTyping | tl.RawUpdateChatParticipants | tl.RawUpdateUserStatus | tl.RawUpdateUserName | tl.RawUpdateNewAuthorization | tl.RawUpdateNewEncryptedMessage | tl.RawUpdateEncryptedChatTyping | tl.RawUpdateEncryption | tl.RawUpdateEncryptedMessagesRead | tl.RawUpdateChatParticipantAdd | tl.RawUpdateChatParticipantDelete | tl.RawUpdateDcOptions | tl.RawUpdateNotifySettings | tl.RawUpdateServiceNotification | tl.RawUpdatePrivacy | tl.RawUpdateUserPhone | tl.RawUpdateReadHistoryInbox | tl.RawUpdateReadHistoryOutbox | tl.RawUpdateWebPage | tl.RawUpdateReadMessagesContents | tl.RawUpdateChannelTooLong | tl.RawUpdateChannel | tl.RawUpdateNewChannelMessage | tl.RawUpdateReadChannelInbox | tl.RawUpdateDeleteChannelMessages | tl.RawUpdateChannelMessageViews | tl.RawUpdateChatParticipantAdmin | tl.RawUpdateNewStickerSet | tl.RawUpdateStickerSetsOrder | tl.RawUpdateStickerSets | tl.RawUpdateSavedGifs | tl.RawUpdateBotInlineQuery | tl.RawUpdateBotInlineSend | tl.RawUpdateEditChannelMessage | tl.RawUpdateBotCallbackQuery | tl.RawUpdateEditMessage | tl.RawUpdateInlineBotCallbackQuery | tl.RawUpdateReadChannelOutbox | tl.RawUpdateDraftMessage | tl.RawUpdateReadFeaturedStickers | tl.RawUpdateRecentStickers | tl.RawUpdateConfig | tl.RawUpdatePtsChanged | tl.RawUpdateChannelWebPage | tl.RawUpdateDialogPinned | tl.RawUpdatePinnedDialogs | tl.RawUpdateBotWebhookJSON | tl.RawUpdateBotWebhookJSONQuery | tl.RawUpdateBotShippingQuery | tl.RawUpdateBotPrecheckoutQuery | tl.RawUpdatePhoneCall | tl.RawUpdateLangPackTooLong | tl.RawUpdateLangPack | tl.RawUpdateFavedStickers | tl.RawUpdateChannelReadMessagesContents | tl.RawUpdateContactsReset | tl.RawUpdateChannelAvailableMessages | tl.RawUpdateDialogUnreadMark | tl.RawUpdateMessagePoll | tl.RawUpdateChatDefaultBannedRights | tl.RawUpdateFolderPeers | tl.RawUpdatePeerSettings | tl.RawUpdatePeerLocated | tl.RawUpdateNewScheduledMessage | tl.RawUpdateDeleteScheduledMessages | tl.RawUpdateTheme | tl.RawUpdateGeoLiveViewed | tl.RawUpdateLoginToken | tl.RawUpdateMessagePollVote | tl.RawUpdateDialogFilter | tl.RawUpdateDialogFilterOrder | tl.RawUpdateDialogFilters | tl.RawUpdatePhoneCallSignalingData | tl.RawUpdateChannelMessageForwards | tl.RawUpdateReadChannelDiscussionInbox | tl.RawUpdateReadChannelDiscussionOutbox | tl.RawUpdatePeerBlocked | tl.RawUpdateChannelUserTyping | tl.RawUpdatePinnedMessages | tl.RawUpdatePinnedChannelMessages | tl.RawUpdateChat | tl.RawUpdateGroupCallParticipants | tl.RawUpdateGroupCall | tl.RawUpdatePeerHistoryTTL | tl.RawUpdateChatParticipant | tl.RawUpdateChannelParticipant | tl.RawUpdateBotStopped | tl.RawUpdateGroupCallConnection | tl.RawUpdateBotCommands | tl.RawUpdatePendingJoinRequests | tl.RawUpdateBotChatInviteRequester | tl.RawUpdateMessageReactions | tl.RawUpdateAttachMenuBots | tl.RawUpdateWebViewResultSent | tl.RawUpdateBotMenuButton | tl.RawUpdateSavedRingtones | tl.RawUpdateTranscribedAudio | tl.RawUpdateReadFeaturedEmojiStickers | tl.RawUpdateUserEmojiStatus | tl.RawUpdateRecentEmojiStatuses | tl.RawUpdateRecentReactions | tl.RawUpdateMoveStickerSetToTop | tl.RawUpdateMessageExtendedMedia | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.RawUpdateUser | tl.RawUpdateAutoSaveSettings | tl.
|
|
21186
|
+
type TypeUpdate = tl.RawUpdateNewMessage | tl.RawUpdateMessageID | tl.RawUpdateDeleteMessages | tl.RawUpdateUserTyping | tl.RawUpdateChatUserTyping | tl.RawUpdateChatParticipants | tl.RawUpdateUserStatus | tl.RawUpdateUserName | tl.RawUpdateNewAuthorization | tl.RawUpdateNewEncryptedMessage | tl.RawUpdateEncryptedChatTyping | tl.RawUpdateEncryption | tl.RawUpdateEncryptedMessagesRead | tl.RawUpdateChatParticipantAdd | tl.RawUpdateChatParticipantDelete | tl.RawUpdateDcOptions | tl.RawUpdateNotifySettings | tl.RawUpdateServiceNotification | tl.RawUpdatePrivacy | tl.RawUpdateUserPhone | tl.RawUpdateReadHistoryInbox | tl.RawUpdateReadHistoryOutbox | tl.RawUpdateWebPage | tl.RawUpdateReadMessagesContents | tl.RawUpdateChannelTooLong | tl.RawUpdateChannel | tl.RawUpdateNewChannelMessage | tl.RawUpdateReadChannelInbox | tl.RawUpdateDeleteChannelMessages | tl.RawUpdateChannelMessageViews | tl.RawUpdateChatParticipantAdmin | tl.RawUpdateNewStickerSet | tl.RawUpdateStickerSetsOrder | tl.RawUpdateStickerSets | tl.RawUpdateSavedGifs | tl.RawUpdateBotInlineQuery | tl.RawUpdateBotInlineSend | tl.RawUpdateEditChannelMessage | tl.RawUpdateBotCallbackQuery | tl.RawUpdateEditMessage | tl.RawUpdateInlineBotCallbackQuery | tl.RawUpdateReadChannelOutbox | tl.RawUpdateDraftMessage | tl.RawUpdateReadFeaturedStickers | tl.RawUpdateRecentStickers | tl.RawUpdateConfig | tl.RawUpdatePtsChanged | tl.RawUpdateChannelWebPage | tl.RawUpdateDialogPinned | tl.RawUpdatePinnedDialogs | tl.RawUpdateBotWebhookJSON | tl.RawUpdateBotWebhookJSONQuery | tl.RawUpdateBotShippingQuery | tl.RawUpdateBotPrecheckoutQuery | tl.RawUpdatePhoneCall | tl.RawUpdateLangPackTooLong | tl.RawUpdateLangPack | tl.RawUpdateFavedStickers | tl.RawUpdateChannelReadMessagesContents | tl.RawUpdateContactsReset | tl.RawUpdateChannelAvailableMessages | tl.RawUpdateDialogUnreadMark | tl.RawUpdateMessagePoll | tl.RawUpdateChatDefaultBannedRights | tl.RawUpdateFolderPeers | tl.RawUpdatePeerSettings | tl.RawUpdatePeerLocated | tl.RawUpdateNewScheduledMessage | tl.RawUpdateDeleteScheduledMessages | tl.RawUpdateTheme | tl.RawUpdateGeoLiveViewed | tl.RawUpdateLoginToken | tl.RawUpdateMessagePollVote | tl.RawUpdateDialogFilter | tl.RawUpdateDialogFilterOrder | tl.RawUpdateDialogFilters | tl.RawUpdatePhoneCallSignalingData | tl.RawUpdateChannelMessageForwards | tl.RawUpdateReadChannelDiscussionInbox | tl.RawUpdateReadChannelDiscussionOutbox | tl.RawUpdatePeerBlocked | tl.RawUpdateChannelUserTyping | tl.RawUpdatePinnedMessages | tl.RawUpdatePinnedChannelMessages | tl.RawUpdateChat | tl.RawUpdateGroupCallParticipants | tl.RawUpdateGroupCall | tl.RawUpdatePeerHistoryTTL | tl.RawUpdateChatParticipant | tl.RawUpdateChannelParticipant | tl.RawUpdateBotStopped | tl.RawUpdateGroupCallConnection | tl.RawUpdateBotCommands | tl.RawUpdatePendingJoinRequests | tl.RawUpdateBotChatInviteRequester | tl.RawUpdateMessageReactions | tl.RawUpdateAttachMenuBots | tl.RawUpdateWebViewResultSent | tl.RawUpdateBotMenuButton | tl.RawUpdateSavedRingtones | tl.RawUpdateTranscribedAudio | tl.RawUpdateReadFeaturedEmojiStickers | tl.RawUpdateUserEmojiStatus | tl.RawUpdateRecentEmojiStatuses | tl.RawUpdateRecentReactions | tl.RawUpdateMoveStickerSetToTop | tl.RawUpdateMessageExtendedMedia | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.RawUpdateUser | tl.RawUpdateAutoSaveSettings | tl.RawUpdateStory | tl.RawUpdateReadStories | tl.RawUpdateStoryID | tl.RawUpdateStoriesStealthMode | tl.RawUpdateSentStoryReaction | tl.RawUpdateBotChatBoost | tl.RawUpdateChannelViewForumAsMessages | tl.RawUpdatePeerWallpaper | tl.RawUpdateBotMessageReaction | tl.RawUpdateBotMessageReactions | tl.RawUpdateSavedDialogPinned | tl.RawUpdatePinnedSavedDialogs | tl.RawUpdateSavedReactionTags | tl.RawUpdateSmsJob | tl.RawUpdateQuickReplies | tl.RawUpdateNewQuickReply | tl.RawUpdateDeleteQuickReply | tl.RawUpdateQuickReplyMessage | tl.RawUpdateDeleteQuickReplyMessages | tl.RawUpdateBotBusinessConnect | tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage | tl.RawUpdateBotDeleteBusinessMessage | tl.RawUpdateGroupInvitePrivacyForbidden | tl.mtcute.RawDummyUpdate
|
|
20840
21187
|
function isAnyUpdate(o: object): o is TypeUpdate
|
|
20841
21188
|
/**
|
|
20842
21189
|
* Object which is perceived by the client without a call on
|
|
@@ -20920,7 +21267,7 @@ export class RpcError extends Error {
|
|
|
20920
21267
|
* <a href="https://corefork.telegram.org/api/privacy">privacy
|
|
20921
21268
|
* documentation »</a> for more info.
|
|
20922
21269
|
*/
|
|
20923
|
-
type TypeInputPrivacyKey = tl.RawInputPrivacyKeyStatusTimestamp | tl.RawInputPrivacyKeyChatInvite | tl.RawInputPrivacyKeyPhoneCall | tl.RawInputPrivacyKeyPhoneP2P | tl.RawInputPrivacyKeyForwards | tl.RawInputPrivacyKeyProfilePhoto | tl.RawInputPrivacyKeyPhoneNumber | tl.RawInputPrivacyKeyAddedByPhone | tl.RawInputPrivacyKeyVoiceMessages | tl.RawInputPrivacyKeyAbout
|
|
21270
|
+
type TypeInputPrivacyKey = tl.RawInputPrivacyKeyStatusTimestamp | tl.RawInputPrivacyKeyChatInvite | tl.RawInputPrivacyKeyPhoneCall | tl.RawInputPrivacyKeyPhoneP2P | tl.RawInputPrivacyKeyForwards | tl.RawInputPrivacyKeyProfilePhoto | tl.RawInputPrivacyKeyPhoneNumber | tl.RawInputPrivacyKeyAddedByPhone | tl.RawInputPrivacyKeyVoiceMessages | tl.RawInputPrivacyKeyAbout | tl.RawInputPrivacyKeyBirthday
|
|
20924
21271
|
function isAnyInputPrivacyKey(o: object): o is TypeInputPrivacyKey
|
|
20925
21272
|
/**
|
|
20926
21273
|
* Privacy <strong>keys</strong> together with
|
|
@@ -20935,7 +21282,7 @@ export class RpcError extends Error {
|
|
|
20935
21282
|
* <a href="https://corefork.telegram.org/api/privacy">privacy
|
|
20936
21283
|
* documentation »</a> for more info.
|
|
20937
21284
|
*/
|
|
20938
|
-
type TypePrivacyKey = tl.RawPrivacyKeyStatusTimestamp | tl.RawPrivacyKeyChatInvite | tl.RawPrivacyKeyPhoneCall | tl.RawPrivacyKeyPhoneP2P | tl.RawPrivacyKeyForwards | tl.RawPrivacyKeyProfilePhoto | tl.RawPrivacyKeyPhoneNumber | tl.RawPrivacyKeyAddedByPhone | tl.RawPrivacyKeyVoiceMessages | tl.RawPrivacyKeyAbout
|
|
21285
|
+
type TypePrivacyKey = tl.RawPrivacyKeyStatusTimestamp | tl.RawPrivacyKeyChatInvite | tl.RawPrivacyKeyPhoneCall | tl.RawPrivacyKeyPhoneP2P | tl.RawPrivacyKeyForwards | tl.RawPrivacyKeyProfilePhoto | tl.RawPrivacyKeyPhoneNumber | tl.RawPrivacyKeyAddedByPhone | tl.RawPrivacyKeyVoiceMessages | tl.RawPrivacyKeyAbout | tl.RawPrivacyKeyBirthday
|
|
20939
21286
|
function isAnyPrivacyKey(o: object): o is TypePrivacyKey
|
|
20940
21287
|
/**
|
|
20941
21288
|
* Privacy <strong>rules</strong> indicate <em>who</em> can or
|
|
@@ -20948,7 +21295,7 @@ export class RpcError extends Error {
|
|
|
20948
21295
|
* <a href="https://corefork.telegram.org/api/privacy">privacy
|
|
20949
21296
|
* documentation »</a> for more info.
|
|
20950
21297
|
*/
|
|
20951
|
-
type TypeInputPrivacyRule = tl.RawInputPrivacyValueAllowContacts | tl.RawInputPrivacyValueAllowAll | tl.RawInputPrivacyValueAllowUsers | tl.RawInputPrivacyValueDisallowContacts | tl.RawInputPrivacyValueDisallowAll | tl.RawInputPrivacyValueDisallowUsers | tl.RawInputPrivacyValueAllowChatParticipants | tl.RawInputPrivacyValueDisallowChatParticipants | tl.RawInputPrivacyValueAllowCloseFriends
|
|
21298
|
+
type TypeInputPrivacyRule = tl.RawInputPrivacyValueAllowContacts | tl.RawInputPrivacyValueAllowAll | tl.RawInputPrivacyValueAllowUsers | tl.RawInputPrivacyValueDisallowContacts | tl.RawInputPrivacyValueDisallowAll | tl.RawInputPrivacyValueDisallowUsers | tl.RawInputPrivacyValueAllowChatParticipants | tl.RawInputPrivacyValueDisallowChatParticipants | tl.RawInputPrivacyValueAllowCloseFriends | tl.RawInputPrivacyValueAllowPremium
|
|
20952
21299
|
function isAnyInputPrivacyRule(o: object): o is TypeInputPrivacyRule
|
|
20953
21300
|
/**
|
|
20954
21301
|
* Privacy <strong>rules</strong> together with
|
|
@@ -20963,7 +21310,7 @@ export class RpcError extends Error {
|
|
|
20963
21310
|
* <a href="https://corefork.telegram.org/api/privacy">privacy
|
|
20964
21311
|
* documentation »</a> for more info.
|
|
20965
21312
|
*/
|
|
20966
|
-
type TypePrivacyRule = tl.RawPrivacyValueAllowContacts | tl.RawPrivacyValueAllowAll | tl.RawPrivacyValueAllowUsers | tl.RawPrivacyValueDisallowContacts | tl.RawPrivacyValueDisallowAll | tl.RawPrivacyValueDisallowUsers | tl.RawPrivacyValueAllowChatParticipants | tl.RawPrivacyValueDisallowChatParticipants | tl.RawPrivacyValueAllowCloseFriends
|
|
21313
|
+
type TypePrivacyRule = tl.RawPrivacyValueAllowContacts | tl.RawPrivacyValueAllowAll | tl.RawPrivacyValueAllowUsers | tl.RawPrivacyValueDisallowContacts | tl.RawPrivacyValueDisallowAll | tl.RawPrivacyValueDisallowUsers | tl.RawPrivacyValueAllowChatParticipants | tl.RawPrivacyValueDisallowChatParticipants | tl.RawPrivacyValueAllowCloseFriends | tl.RawPrivacyValueAllowPremium
|
|
20967
21314
|
function isAnyPrivacyRule(o: object): o is TypePrivacyRule
|
|
20968
21315
|
/**
|
|
20969
21316
|
* Time-to-live of current account
|
|
@@ -21031,7 +21378,7 @@ export class RpcError extends Error {
|
|
|
21031
21378
|
/**
|
|
21032
21379
|
* Bot or inline keyboard buttons
|
|
21033
21380
|
*/
|
|
21034
|
-
type TypeKeyboardButton = tl.RawKeyboardButton | tl.RawKeyboardButtonUrl | tl.RawKeyboardButtonCallback | tl.RawKeyboardButtonRequestPhone | tl.RawKeyboardButtonRequestGeoLocation | tl.RawKeyboardButtonSwitchInline | tl.RawKeyboardButtonGame | tl.RawKeyboardButtonBuy | tl.RawKeyboardButtonUrlAuth | tl.RawInputKeyboardButtonUrlAuth | tl.RawKeyboardButtonRequestPoll | tl.RawInputKeyboardButtonUserProfile | tl.RawKeyboardButtonUserProfile | tl.RawKeyboardButtonWebView | tl.RawKeyboardButtonSimpleWebView | tl.RawKeyboardButtonRequestPeer
|
|
21381
|
+
type TypeKeyboardButton = tl.RawKeyboardButton | tl.RawKeyboardButtonUrl | tl.RawKeyboardButtonCallback | tl.RawKeyboardButtonRequestPhone | tl.RawKeyboardButtonRequestGeoLocation | tl.RawKeyboardButtonSwitchInline | tl.RawKeyboardButtonGame | tl.RawKeyboardButtonBuy | tl.RawKeyboardButtonUrlAuth | tl.RawInputKeyboardButtonUrlAuth | tl.RawKeyboardButtonRequestPoll | tl.RawInputKeyboardButtonUserProfile | tl.RawKeyboardButtonUserProfile | tl.RawKeyboardButtonWebView | tl.RawKeyboardButtonSimpleWebView | tl.RawKeyboardButtonRequestPeer | tl.RawInputKeyboardButtonRequestPeer
|
|
21035
21382
|
function isAnyKeyboardButton(o: object): o is TypeKeyboardButton
|
|
21036
21383
|
/**
|
|
21037
21384
|
* Bot or inline keyboard rows
|
|
@@ -22235,6 +22582,64 @@ export class RpcError extends Error {
|
|
|
22235
22582
|
function isAnySavedReactionTag(o: object): o is TypeSavedReactionTag
|
|
22236
22583
|
type TypeOutboxReadDate = tl.RawOutboxReadDate
|
|
22237
22584
|
function isAnyOutboxReadDate(o: object): o is TypeOutboxReadDate
|
|
22585
|
+
type TypeSmsJob = tl.RawSmsJob
|
|
22586
|
+
function isAnySmsJob(o: object): o is TypeSmsJob
|
|
22587
|
+
type TypeBusinessWeeklyOpen = tl.RawBusinessWeeklyOpen
|
|
22588
|
+
function isAnyBusinessWeeklyOpen(o: object): o is TypeBusinessWeeklyOpen
|
|
22589
|
+
type TypeBusinessWorkHours = tl.RawBusinessWorkHours
|
|
22590
|
+
function isAnyBusinessWorkHours(o: object): o is TypeBusinessWorkHours
|
|
22591
|
+
type TypeBusinessLocation = tl.RawBusinessLocation
|
|
22592
|
+
function isAnyBusinessLocation(o: object): o is TypeBusinessLocation
|
|
22593
|
+
type TypeInputBusinessRecipients = tl.RawInputBusinessRecipients
|
|
22594
|
+
function isAnyInputBusinessRecipients(o: object): o is TypeInputBusinessRecipients
|
|
22595
|
+
type TypeBusinessRecipients = tl.RawBusinessRecipients
|
|
22596
|
+
function isAnyBusinessRecipients(o: object): o is TypeBusinessRecipients
|
|
22597
|
+
type TypeBusinessAwayMessageSchedule = tl.RawBusinessAwayMessageScheduleAlways | tl.RawBusinessAwayMessageScheduleOutsideWorkHours | tl.RawBusinessAwayMessageScheduleCustom
|
|
22598
|
+
function isAnyBusinessAwayMessageSchedule(o: object): o is TypeBusinessAwayMessageSchedule
|
|
22599
|
+
type TypeInputBusinessGreetingMessage = tl.RawInputBusinessGreetingMessage
|
|
22600
|
+
function isAnyInputBusinessGreetingMessage(o: object): o is TypeInputBusinessGreetingMessage
|
|
22601
|
+
type TypeBusinessGreetingMessage = tl.RawBusinessGreetingMessage
|
|
22602
|
+
function isAnyBusinessGreetingMessage(o: object): o is TypeBusinessGreetingMessage
|
|
22603
|
+
type TypeInputBusinessAwayMessage = tl.RawInputBusinessAwayMessage
|
|
22604
|
+
function isAnyInputBusinessAwayMessage(o: object): o is TypeInputBusinessAwayMessage
|
|
22605
|
+
type TypeBusinessAwayMessage = tl.RawBusinessAwayMessage
|
|
22606
|
+
function isAnyBusinessAwayMessage(o: object): o is TypeBusinessAwayMessage
|
|
22607
|
+
type TypeTimezone = tl.RawTimezone
|
|
22608
|
+
function isAnyTimezone(o: object): o is TypeTimezone
|
|
22609
|
+
type TypeQuickReply = tl.RawQuickReply
|
|
22610
|
+
function isAnyQuickReply(o: object): o is TypeQuickReply
|
|
22611
|
+
type TypeInputQuickReplyShortcut = tl.RawInputQuickReplyShortcut | tl.RawInputQuickReplyShortcutId
|
|
22612
|
+
function isAnyInputQuickReplyShortcut(o: object): o is TypeInputQuickReplyShortcut
|
|
22613
|
+
type TypeConnectedBot = tl.RawConnectedBot
|
|
22614
|
+
function isAnyConnectedBot(o: object): o is TypeConnectedBot
|
|
22615
|
+
type TypeBirthday = tl.RawBirthday
|
|
22616
|
+
function isAnyBirthday(o: object): o is TypeBirthday
|
|
22617
|
+
type TypeBotBusinessConnection = tl.RawBotBusinessConnection
|
|
22618
|
+
function isAnyBotBusinessConnection(o: object): o is TypeBotBusinessConnection
|
|
22619
|
+
type TypeInputBusinessIntro = tl.RawInputBusinessIntro
|
|
22620
|
+
function isAnyInputBusinessIntro(o: object): o is TypeInputBusinessIntro
|
|
22621
|
+
type TypeBusinessIntro = tl.RawBusinessIntro
|
|
22622
|
+
function isAnyBusinessIntro(o: object): o is TypeBusinessIntro
|
|
22623
|
+
type TypeInputCollectible = tl.RawInputCollectibleUsername | tl.RawInputCollectiblePhone
|
|
22624
|
+
function isAnyInputCollectible(o: object): o is TypeInputCollectible
|
|
22625
|
+
type TypeInputBusinessBotRecipients = tl.RawInputBusinessBotRecipients
|
|
22626
|
+
function isAnyInputBusinessBotRecipients(o: object): o is TypeInputBusinessBotRecipients
|
|
22627
|
+
type TypeBusinessBotRecipients = tl.RawBusinessBotRecipients
|
|
22628
|
+
function isAnyBusinessBotRecipients(o: object): o is TypeBusinessBotRecipients
|
|
22629
|
+
type TypeContactBirthday = tl.RawContactBirthday
|
|
22630
|
+
function isAnyContactBirthday(o: object): o is TypeContactBirthday
|
|
22631
|
+
type TypeMissingInvitee = tl.RawMissingInvitee
|
|
22632
|
+
function isAnyMissingInvitee(o: object): o is TypeMissingInvitee
|
|
22633
|
+
type TypeInputBusinessChatLink = tl.RawInputBusinessChatLink
|
|
22634
|
+
function isAnyInputBusinessChatLink(o: object): o is TypeInputBusinessChatLink
|
|
22635
|
+
type TypeBusinessChatLink = tl.RawBusinessChatLink
|
|
22636
|
+
function isAnyBusinessChatLink(o: object): o is TypeBusinessChatLink
|
|
22637
|
+
type TypeRequestedPeer = tl.RawRequestedPeerUser | tl.RawRequestedPeerChat | tl.RawRequestedPeerChannel
|
|
22638
|
+
function isAnyRequestedPeer(o: object): o is TypeRequestedPeer
|
|
22639
|
+
type TypeSponsoredMessageReportOption = tl.RawSponsoredMessageReportOption
|
|
22640
|
+
function isAnySponsoredMessageReportOption(o: object): o is TypeSponsoredMessageReportOption
|
|
22641
|
+
type TypeBroadcastRevenueTransaction = tl.RawBroadcastRevenueTransactionProceeds | tl.RawBroadcastRevenueTransactionWithdrawal | tl.RawBroadcastRevenueTransactionRefund
|
|
22642
|
+
function isAnyBroadcastRevenueTransaction(o: object): o is TypeBroadcastRevenueTransaction
|
|
22238
22643
|
|
|
22239
22644
|
namespace help {
|
|
22240
22645
|
interface RawConfigSimple {
|
|
@@ -22772,6 +23177,14 @@ export class RpcError extends Error {
|
|
|
22772
23177
|
*/
|
|
22773
23178
|
colors: tl.help.TypePeerColorOption[];
|
|
22774
23179
|
}
|
|
23180
|
+
interface RawTimezonesListNotModified {
|
|
23181
|
+
_: 'help.timezonesListNotModified';
|
|
23182
|
+
}
|
|
23183
|
+
interface RawTimezonesList {
|
|
23184
|
+
_: 'help.timezonesList';
|
|
23185
|
+
timezones: tl.TypeTimezone[];
|
|
23186
|
+
hash: number;
|
|
23187
|
+
}
|
|
22775
23188
|
/**
|
|
22776
23189
|
* Returns current configuration, including data center
|
|
22777
23190
|
* configuration.
|
|
@@ -23085,6 +23498,13 @@ export class RpcError extends Error {
|
|
|
23085
23498
|
*/
|
|
23086
23499
|
hash: number;
|
|
23087
23500
|
}
|
|
23501
|
+
/**
|
|
23502
|
+
* RPC method returns {@link tl.help.TypeTimezonesList}
|
|
23503
|
+
*/
|
|
23504
|
+
interface RawGetTimezonesListRequest {
|
|
23505
|
+
_: 'help.getTimezonesList';
|
|
23506
|
+
hash: number;
|
|
23507
|
+
}
|
|
23088
23508
|
interface RpcCallReturn {
|
|
23089
23509
|
'help.getConfig': tl.TypeConfig
|
|
23090
23510
|
'help.getNearestDc': tl.TypeNearestDc
|
|
@@ -23110,6 +23530,7 @@ export class RpcError extends Error {
|
|
|
23110
23530
|
'help.getPremiumPromo': tl.help.TypePremiumPromo
|
|
23111
23531
|
'help.getPeerColors': tl.help.TypePeerColors
|
|
23112
23532
|
'help.getPeerProfileColors': tl.help.TypePeerColors
|
|
23533
|
+
'help.getTimezonesList': tl.help.TypeTimezonesList
|
|
23113
23534
|
}
|
|
23114
23535
|
type TypeConfigSimple = tl.help.RawConfigSimple
|
|
23115
23536
|
function isAnyConfigSimple(o: object): o is TypeConfigSimple
|
|
@@ -23224,6 +23645,8 @@ export class RpcError extends Error {
|
|
|
23224
23645
|
*/
|
|
23225
23646
|
type TypePeerColors = tl.help.RawPeerColorsNotModified | tl.help.RawPeerColors
|
|
23226
23647
|
function isAnyPeerColors(o: object): o is TypePeerColors
|
|
23648
|
+
type TypeTimezonesList = tl.help.RawTimezonesListNotModified | tl.help.RawTimezonesList
|
|
23649
|
+
function isAnyTimezonesList(o: object): o is TypeTimezonesList
|
|
23227
23650
|
}
|
|
23228
23651
|
|
|
23229
23652
|
namespace storage {
|
|
@@ -24351,6 +24774,11 @@ export class RpcError extends Error {
|
|
|
24351
24774
|
interface RawTopPeersDisabled {
|
|
24352
24775
|
_: 'contacts.topPeersDisabled';
|
|
24353
24776
|
}
|
|
24777
|
+
interface RawContactBirthdays {
|
|
24778
|
+
_: 'contacts.contactBirthdays';
|
|
24779
|
+
contacts: tl.TypeContactBirthday[];
|
|
24780
|
+
users: tl.TypeUser[];
|
|
24781
|
+
}
|
|
24354
24782
|
/**
|
|
24355
24783
|
* Get the telegram IDs of all contacts.
|
|
24356
24784
|
*
|
|
@@ -24826,6 +25254,12 @@ export class RpcError extends Error {
|
|
|
24826
25254
|
*/
|
|
24827
25255
|
limit: number;
|
|
24828
25256
|
}
|
|
25257
|
+
/**
|
|
25258
|
+
* RPC method returns {@link tl.contacts.TypeContactBirthdays}
|
|
25259
|
+
*/
|
|
25260
|
+
interface RawGetBirthdaysRequest {
|
|
25261
|
+
_: 'contacts.getBirthdays';
|
|
25262
|
+
}
|
|
24829
25263
|
interface RpcCallReturn {
|
|
24830
25264
|
'contacts.getContactIDs': number[]
|
|
24831
25265
|
'contacts.getStatuses': tl.TypeContactStatus[]
|
|
@@ -24852,6 +25286,7 @@ export class RpcError extends Error {
|
|
|
24852
25286
|
'contacts.importContactToken': tl.TypeUser
|
|
24853
25287
|
'contacts.editCloseFriends': boolean
|
|
24854
25288
|
'contacts.setBlocked': boolean
|
|
25289
|
+
'contacts.getBirthdays': tl.contacts.TypeContactBirthdays
|
|
24855
25290
|
}
|
|
24856
25291
|
/**
|
|
24857
25292
|
* Info on the current user's contact list.
|
|
@@ -24884,6 +25319,8 @@ export class RpcError extends Error {
|
|
|
24884
25319
|
*/
|
|
24885
25320
|
type TypeTopPeers = tl.contacts.RawTopPeersNotModified | tl.contacts.RawTopPeers | tl.contacts.RawTopPeersDisabled
|
|
24886
25321
|
function isAnyTopPeers(o: object): o is TypeTopPeers
|
|
25322
|
+
type TypeContactBirthdays = tl.contacts.RawContactBirthdays
|
|
25323
|
+
function isAnyContactBirthdays(o: object): o is TypeContactBirthdays
|
|
24887
25324
|
}
|
|
24888
25325
|
|
|
24889
25326
|
namespace messages {
|
|
@@ -26296,6 +26733,31 @@ export class RpcError extends Error {
|
|
|
26296
26733
|
tags: tl.TypeSavedReactionTag[];
|
|
26297
26734
|
hash: Long;
|
|
26298
26735
|
}
|
|
26736
|
+
interface RawQuickReplies {
|
|
26737
|
+
_: 'messages.quickReplies';
|
|
26738
|
+
quickReplies: tl.TypeQuickReply[];
|
|
26739
|
+
messages: tl.TypeMessage[];
|
|
26740
|
+
chats: tl.TypeChat[];
|
|
26741
|
+
users: tl.TypeUser[];
|
|
26742
|
+
}
|
|
26743
|
+
interface RawQuickRepliesNotModified {
|
|
26744
|
+
_: 'messages.quickRepliesNotModified';
|
|
26745
|
+
}
|
|
26746
|
+
interface RawDialogFilters {
|
|
26747
|
+
_: 'messages.dialogFilters';
|
|
26748
|
+
tagsEnabled?: boolean;
|
|
26749
|
+
filters: tl.TypeDialogFilter[];
|
|
26750
|
+
}
|
|
26751
|
+
interface RawMyStickers {
|
|
26752
|
+
_: 'messages.myStickers';
|
|
26753
|
+
count: number;
|
|
26754
|
+
sets: tl.TypeStickerSetCovered[];
|
|
26755
|
+
}
|
|
26756
|
+
interface RawInvitedUsers {
|
|
26757
|
+
_: 'messages.invitedUsers';
|
|
26758
|
+
updates: tl.TypeUpdates;
|
|
26759
|
+
missingInvitees: tl.TypeMissingInvitee[];
|
|
26760
|
+
}
|
|
26299
26761
|
/**
|
|
26300
26762
|
* Returns the list of messages by their IDs.
|
|
26301
26763
|
*
|
|
@@ -26661,6 +27123,7 @@ export class RpcError extends Error {
|
|
|
26661
27123
|
* Send this message as the specified peer
|
|
26662
27124
|
*/
|
|
26663
27125
|
sendAs?: tl.TypeInputPeer;
|
|
27126
|
+
quickReplyShortcut?: tl.TypeInputQuickReplyShortcut;
|
|
26664
27127
|
}
|
|
26665
27128
|
/**
|
|
26666
27129
|
* Send a media
|
|
@@ -26740,6 +27203,7 @@ export class RpcError extends Error {
|
|
|
26740
27203
|
* Send this message as the specified peer
|
|
26741
27204
|
*/
|
|
26742
27205
|
sendAs?: tl.TypeInputPeer;
|
|
27206
|
+
quickReplyShortcut?: tl.TypeInputQuickReplyShortcut;
|
|
26743
27207
|
}
|
|
26744
27208
|
/**
|
|
26745
27209
|
* Forwards messages by their IDs.
|
|
@@ -26808,6 +27272,7 @@ export class RpcError extends Error {
|
|
|
26808
27272
|
* Forward the messages as the specified peer
|
|
26809
27273
|
*/
|
|
26810
27274
|
sendAs?: tl.TypeInputPeer;
|
|
27275
|
+
quickReplyShortcut?: tl.TypeInputQuickReplyShortcut;
|
|
26811
27276
|
}
|
|
26812
27277
|
/**
|
|
26813
27278
|
* Report a new incoming chat for spam, if the
|
|
@@ -26928,7 +27393,7 @@ export class RpcError extends Error {
|
|
|
26928
27393
|
* <a href="https://corefork.telegram.org/api/invites">invite
|
|
26929
27394
|
* link</a> can be shared with the user, instead.
|
|
26930
27395
|
*
|
|
26931
|
-
* RPC method returns {@link tl.
|
|
27396
|
+
* RPC method returns {@link tl.messages.TypeInvitedUsers}
|
|
26932
27397
|
*/
|
|
26933
27398
|
interface RawAddChatUserRequest {
|
|
26934
27399
|
_: 'messages.addChatUser';
|
|
@@ -26977,7 +27442,7 @@ export class RpcError extends Error {
|
|
|
26977
27442
|
* <a href="https://corefork.telegram.org/api/invites">invite
|
|
26978
27443
|
* link</a> can be shared with the user, instead.
|
|
26979
27444
|
*
|
|
26980
|
-
* RPC method returns {@link tl.
|
|
27445
|
+
* RPC method returns {@link tl.messages.TypeInvitedUsers}
|
|
26981
27446
|
*/
|
|
26982
27447
|
interface RawCreateChatRequest {
|
|
26983
27448
|
_: 'messages.createChat';
|
|
@@ -27756,6 +28221,7 @@ export class RpcError extends Error {
|
|
|
27756
28221
|
* Send this message as the specified peer
|
|
27757
28222
|
*/
|
|
27758
28223
|
sendAs?: tl.TypeInputPeer;
|
|
28224
|
+
quickReplyShortcut?: tl.TypeInputQuickReplyShortcut;
|
|
27759
28225
|
}
|
|
27760
28226
|
/**
|
|
27761
28227
|
* Find out if a media message's caption can be edited
|
|
@@ -27820,6 +28286,7 @@ export class RpcError extends Error {
|
|
|
27820
28286
|
* messages</a>
|
|
27821
28287
|
*/
|
|
27822
28288
|
scheduleDate?: number;
|
|
28289
|
+
quickReplyShortcutId?: number;
|
|
27823
28290
|
}
|
|
27824
28291
|
/**
|
|
27825
28292
|
* Edit an inline bot message
|
|
@@ -28384,6 +28851,7 @@ export class RpcError extends Error {
|
|
|
28384
28851
|
*/
|
|
28385
28852
|
interface RawUploadMediaRequest {
|
|
28386
28853
|
_: 'messages.uploadMedia';
|
|
28854
|
+
businessConnectionId?: string;
|
|
28387
28855
|
/**
|
|
28388
28856
|
* The chat, can be {@link RawInputPeerEmpty} for bots and
|
|
28389
28857
|
* {@link RawInputPeerSelf} for users.
|
|
@@ -28600,6 +29068,7 @@ export class RpcError extends Error {
|
|
|
28600
29068
|
* Send this message as the specified peer
|
|
28601
29069
|
*/
|
|
28602
29070
|
sendAs?: tl.TypeInputPeer;
|
|
29071
|
+
quickReplyShortcut?: tl.TypeInputQuickReplyShortcut;
|
|
28603
29072
|
}
|
|
28604
29073
|
/**
|
|
28605
29074
|
* Upload encrypted file and associate it to a secret chat
|
|
@@ -29103,7 +29572,7 @@ export class RpcError extends Error {
|
|
|
29103
29572
|
* Get
|
|
29104
29573
|
* <a href="https://corefork.telegram.org/api/folders">folders</a>
|
|
29105
29574
|
*
|
|
29106
|
-
* RPC method returns {@link tl.
|
|
29575
|
+
* RPC method returns {@link tl.messages.TypeDialogFilters}
|
|
29107
29576
|
*/
|
|
29108
29577
|
interface RawGetDialogFiltersRequest {
|
|
29109
29578
|
_: 'messages.getDialogFilters';
|
|
@@ -31050,6 +31519,84 @@ export class RpcError extends Error {
|
|
|
31050
31519
|
peer: tl.TypeInputPeer;
|
|
31051
31520
|
msgId: number;
|
|
31052
31521
|
}
|
|
31522
|
+
/**
|
|
31523
|
+
* RPC method returns {@link tl.messages.TypeQuickReplies}
|
|
31524
|
+
*/
|
|
31525
|
+
interface RawGetQuickRepliesRequest {
|
|
31526
|
+
_: 'messages.getQuickReplies';
|
|
31527
|
+
hash: Long;
|
|
31528
|
+
}
|
|
31529
|
+
/**
|
|
31530
|
+
* RPC method returns boolean
|
|
31531
|
+
*/
|
|
31532
|
+
interface RawReorderQuickRepliesRequest {
|
|
31533
|
+
_: 'messages.reorderQuickReplies';
|
|
31534
|
+
order: number[];
|
|
31535
|
+
}
|
|
31536
|
+
/**
|
|
31537
|
+
* RPC method returns boolean
|
|
31538
|
+
*/
|
|
31539
|
+
interface RawCheckQuickReplyShortcutRequest {
|
|
31540
|
+
_: 'messages.checkQuickReplyShortcut';
|
|
31541
|
+
shortcut: string;
|
|
31542
|
+
}
|
|
31543
|
+
/**
|
|
31544
|
+
* RPC method returns boolean
|
|
31545
|
+
*/
|
|
31546
|
+
interface RawEditQuickReplyShortcutRequest {
|
|
31547
|
+
_: 'messages.editQuickReplyShortcut';
|
|
31548
|
+
shortcutId: number;
|
|
31549
|
+
shortcut: string;
|
|
31550
|
+
}
|
|
31551
|
+
/**
|
|
31552
|
+
* RPC method returns boolean
|
|
31553
|
+
*/
|
|
31554
|
+
interface RawDeleteQuickReplyShortcutRequest {
|
|
31555
|
+
_: 'messages.deleteQuickReplyShortcut';
|
|
31556
|
+
shortcutId: number;
|
|
31557
|
+
}
|
|
31558
|
+
/**
|
|
31559
|
+
* RPC method returns {@link tl.messages.TypeMessages}
|
|
31560
|
+
*/
|
|
31561
|
+
interface RawGetQuickReplyMessagesRequest {
|
|
31562
|
+
_: 'messages.getQuickReplyMessages';
|
|
31563
|
+
shortcutId: number;
|
|
31564
|
+
id?: number[];
|
|
31565
|
+
hash: Long;
|
|
31566
|
+
}
|
|
31567
|
+
/**
|
|
31568
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
31569
|
+
*/
|
|
31570
|
+
interface RawSendQuickReplyMessagesRequest {
|
|
31571
|
+
_: 'messages.sendQuickReplyMessages';
|
|
31572
|
+
peer: tl.TypeInputPeer;
|
|
31573
|
+
shortcutId: number;
|
|
31574
|
+
id: number[];
|
|
31575
|
+
randomId: Long[];
|
|
31576
|
+
}
|
|
31577
|
+
/**
|
|
31578
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
31579
|
+
*/
|
|
31580
|
+
interface RawDeleteQuickReplyMessagesRequest {
|
|
31581
|
+
_: 'messages.deleteQuickReplyMessages';
|
|
31582
|
+
shortcutId: number;
|
|
31583
|
+
id: number[];
|
|
31584
|
+
}
|
|
31585
|
+
/**
|
|
31586
|
+
* RPC method returns boolean
|
|
31587
|
+
*/
|
|
31588
|
+
interface RawToggleDialogFilterTagsRequest {
|
|
31589
|
+
_: 'messages.toggleDialogFilterTags';
|
|
31590
|
+
enabled: boolean;
|
|
31591
|
+
}
|
|
31592
|
+
/**
|
|
31593
|
+
* RPC method returns {@link tl.messages.TypeMyStickers}
|
|
31594
|
+
*/
|
|
31595
|
+
interface RawGetMyStickersRequest {
|
|
31596
|
+
_: 'messages.getMyStickers';
|
|
31597
|
+
offsetId: Long;
|
|
31598
|
+
limit: number;
|
|
31599
|
+
}
|
|
31053
31600
|
interface RpcCallReturn {
|
|
31054
31601
|
'messages.getMessages': tl.messages.TypeMessages
|
|
31055
31602
|
'messages.getDialogs': tl.messages.TypeDialogs
|
|
@@ -31070,9 +31617,9 @@ export class RpcError extends Error {
|
|
|
31070
31617
|
'messages.getFullChat': tl.messages.TypeChatFull
|
|
31071
31618
|
'messages.editChatTitle': tl.TypeUpdates
|
|
31072
31619
|
'messages.editChatPhoto': tl.TypeUpdates
|
|
31073
|
-
'messages.addChatUser': tl.
|
|
31620
|
+
'messages.addChatUser': tl.messages.TypeInvitedUsers
|
|
31074
31621
|
'messages.deleteChatUser': tl.TypeUpdates
|
|
31075
|
-
'messages.createChat': tl.
|
|
31622
|
+
'messages.createChat': tl.messages.TypeInvitedUsers
|
|
31076
31623
|
'messages.getDhConfig': tl.messages.TypeDhConfig
|
|
31077
31624
|
'messages.requestEncryption': tl.TypeEncryptedChat
|
|
31078
31625
|
'messages.acceptEncryption': tl.TypeEncryptedChat
|
|
@@ -31167,7 +31714,7 @@ export class RpcError extends Error {
|
|
|
31167
31714
|
'messages.deleteScheduledMessages': tl.TypeUpdates
|
|
31168
31715
|
'messages.getPollVotes': tl.messages.TypeVotesList
|
|
31169
31716
|
'messages.toggleStickerSets': boolean
|
|
31170
|
-
'messages.getDialogFilters': tl.
|
|
31717
|
+
'messages.getDialogFilters': tl.messages.TypeDialogFilters
|
|
31171
31718
|
'messages.getSuggestedDialogFilters': tl.TypeDialogFilterSuggested[]
|
|
31172
31719
|
'messages.updateDialogFilter': boolean
|
|
31173
31720
|
'messages.updateDialogFiltersOrder': boolean
|
|
@@ -31249,6 +31796,16 @@ export class RpcError extends Error {
|
|
|
31249
31796
|
'messages.updateSavedReactionTag': boolean
|
|
31250
31797
|
'messages.getDefaultTagReactions': tl.messages.TypeReactions
|
|
31251
31798
|
'messages.getOutboxReadDate': tl.TypeOutboxReadDate
|
|
31799
|
+
'messages.getQuickReplies': tl.messages.TypeQuickReplies
|
|
31800
|
+
'messages.reorderQuickReplies': boolean
|
|
31801
|
+
'messages.checkQuickReplyShortcut': boolean
|
|
31802
|
+
'messages.editQuickReplyShortcut': boolean
|
|
31803
|
+
'messages.deleteQuickReplyShortcut': boolean
|
|
31804
|
+
'messages.getQuickReplyMessages': tl.messages.TypeMessages
|
|
31805
|
+
'messages.sendQuickReplyMessages': tl.TypeUpdates
|
|
31806
|
+
'messages.deleteQuickReplyMessages': tl.TypeUpdates
|
|
31807
|
+
'messages.toggleDialogFilterTags': boolean
|
|
31808
|
+
'messages.getMyStickers': tl.messages.TypeMyStickers
|
|
31252
31809
|
}
|
|
31253
31810
|
/**
|
|
31254
31811
|
* Object contains a list of chats with messages and auxiliary
|
|
@@ -31533,6 +32090,14 @@ export class RpcError extends Error {
|
|
|
31533
32090
|
function isAnySavedDialogs(o: object): o is TypeSavedDialogs
|
|
31534
32091
|
type TypeSavedReactionTags = tl.messages.RawSavedReactionTagsNotModified | tl.messages.RawSavedReactionTags
|
|
31535
32092
|
function isAnySavedReactionTags(o: object): o is TypeSavedReactionTags
|
|
32093
|
+
type TypeQuickReplies = tl.messages.RawQuickReplies | tl.messages.RawQuickRepliesNotModified
|
|
32094
|
+
function isAnyQuickReplies(o: object): o is TypeQuickReplies
|
|
32095
|
+
type TypeDialogFilters = tl.messages.RawDialogFilters
|
|
32096
|
+
function isAnyDialogFilters(o: object): o is TypeDialogFilters
|
|
32097
|
+
type TypeMyStickers = tl.messages.RawMyStickers
|
|
32098
|
+
function isAnyMyStickers(o: object): o is TypeMyStickers
|
|
32099
|
+
type TypeInvitedUsers = tl.messages.RawInvitedUsers
|
|
32100
|
+
function isAnyInvitedUsers(o: object): o is TypeInvitedUsers
|
|
31536
32101
|
}
|
|
31537
32102
|
|
|
31538
32103
|
namespace updates {
|
|
@@ -32883,6 +33448,25 @@ export class RpcError extends Error {
|
|
|
32883
33448
|
*/
|
|
32884
33449
|
users: tl.TypeUser[];
|
|
32885
33450
|
}
|
|
33451
|
+
interface RawConnectedBots {
|
|
33452
|
+
_: 'account.connectedBots';
|
|
33453
|
+
connectedBots: tl.TypeConnectedBot[];
|
|
33454
|
+
users: tl.TypeUser[];
|
|
33455
|
+
}
|
|
33456
|
+
interface RawBusinessChatLinks {
|
|
33457
|
+
_: 'account.businessChatLinks';
|
|
33458
|
+
links: tl.TypeBusinessChatLink[];
|
|
33459
|
+
chats: tl.TypeChat[];
|
|
33460
|
+
users: tl.TypeUser[];
|
|
33461
|
+
}
|
|
33462
|
+
interface RawResolvedBusinessChatLinks {
|
|
33463
|
+
_: 'account.resolvedBusinessChatLinks';
|
|
33464
|
+
peer: tl.TypePeer;
|
|
33465
|
+
message: string;
|
|
33466
|
+
entities?: tl.TypeMessageEntity[];
|
|
33467
|
+
chats: tl.TypeChat[];
|
|
33468
|
+
users: tl.TypeUser[];
|
|
33469
|
+
}
|
|
32886
33470
|
/**
|
|
32887
33471
|
* Register device to receive
|
|
32888
33472
|
* <a href="https://corefork.telegram.org/api/push-updates">PUSH
|
|
@@ -34472,6 +35056,130 @@ export class RpcError extends Error {
|
|
|
34472
35056
|
*/
|
|
34473
35057
|
hash: Long;
|
|
34474
35058
|
}
|
|
35059
|
+
/**
|
|
35060
|
+
* RPC method returns boolean
|
|
35061
|
+
*/
|
|
35062
|
+
interface RawUpdateBusinessWorkHoursRequest {
|
|
35063
|
+
_: 'account.updateBusinessWorkHours';
|
|
35064
|
+
businessWorkHours?: tl.TypeBusinessWorkHours;
|
|
35065
|
+
}
|
|
35066
|
+
/**
|
|
35067
|
+
* RPC method returns boolean
|
|
35068
|
+
*/
|
|
35069
|
+
interface RawUpdateBusinessLocationRequest {
|
|
35070
|
+
_: 'account.updateBusinessLocation';
|
|
35071
|
+
geoPoint?: tl.TypeInputGeoPoint;
|
|
35072
|
+
address?: string;
|
|
35073
|
+
}
|
|
35074
|
+
/**
|
|
35075
|
+
* RPC method returns boolean
|
|
35076
|
+
*/
|
|
35077
|
+
interface RawUpdateBusinessGreetingMessageRequest {
|
|
35078
|
+
_: 'account.updateBusinessGreetingMessage';
|
|
35079
|
+
message?: tl.TypeInputBusinessGreetingMessage;
|
|
35080
|
+
}
|
|
35081
|
+
/**
|
|
35082
|
+
* RPC method returns boolean
|
|
35083
|
+
*/
|
|
35084
|
+
interface RawUpdateBusinessAwayMessageRequest {
|
|
35085
|
+
_: 'account.updateBusinessAwayMessage';
|
|
35086
|
+
message?: tl.TypeInputBusinessAwayMessage;
|
|
35087
|
+
}
|
|
35088
|
+
/**
|
|
35089
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
35090
|
+
*/
|
|
35091
|
+
interface RawUpdateConnectedBotRequest {
|
|
35092
|
+
_: 'account.updateConnectedBot';
|
|
35093
|
+
canReply?: boolean;
|
|
35094
|
+
deleted?: boolean;
|
|
35095
|
+
bot: tl.TypeInputUser;
|
|
35096
|
+
recipients: tl.TypeInputBusinessBotRecipients;
|
|
35097
|
+
}
|
|
35098
|
+
/**
|
|
35099
|
+
* RPC method returns {@link tl.account.TypeConnectedBots}
|
|
35100
|
+
*/
|
|
35101
|
+
interface RawGetConnectedBotsRequest {
|
|
35102
|
+
_: 'account.getConnectedBots';
|
|
35103
|
+
}
|
|
35104
|
+
/**
|
|
35105
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
35106
|
+
*/
|
|
35107
|
+
interface RawGetBotBusinessConnectionRequest {
|
|
35108
|
+
_: 'account.getBotBusinessConnection';
|
|
35109
|
+
connectionId: string;
|
|
35110
|
+
}
|
|
35111
|
+
/**
|
|
35112
|
+
* RPC method returns boolean
|
|
35113
|
+
*/
|
|
35114
|
+
interface RawUpdateBusinessIntroRequest {
|
|
35115
|
+
_: 'account.updateBusinessIntro';
|
|
35116
|
+
intro?: tl.TypeInputBusinessIntro;
|
|
35117
|
+
}
|
|
35118
|
+
/**
|
|
35119
|
+
* RPC method returns boolean
|
|
35120
|
+
*/
|
|
35121
|
+
interface RawToggleConnectedBotPausedRequest {
|
|
35122
|
+
_: 'account.toggleConnectedBotPaused';
|
|
35123
|
+
peer: tl.TypeInputPeer;
|
|
35124
|
+
paused: boolean;
|
|
35125
|
+
}
|
|
35126
|
+
/**
|
|
35127
|
+
* RPC method returns boolean
|
|
35128
|
+
*/
|
|
35129
|
+
interface RawDisablePeerConnectedBotRequest {
|
|
35130
|
+
_: 'account.disablePeerConnectedBot';
|
|
35131
|
+
peer: tl.TypeInputPeer;
|
|
35132
|
+
}
|
|
35133
|
+
/**
|
|
35134
|
+
* RPC method returns boolean
|
|
35135
|
+
*/
|
|
35136
|
+
interface RawUpdateBirthdayRequest {
|
|
35137
|
+
_: 'account.updateBirthday';
|
|
35138
|
+
birthday?: tl.TypeBirthday;
|
|
35139
|
+
}
|
|
35140
|
+
/**
|
|
35141
|
+
* RPC method returns {@link tl.TypeBusinessChatLink}
|
|
35142
|
+
*/
|
|
35143
|
+
interface RawCreateBusinessChatLinkRequest {
|
|
35144
|
+
_: 'account.createBusinessChatLink';
|
|
35145
|
+
link: tl.TypeInputBusinessChatLink;
|
|
35146
|
+
}
|
|
35147
|
+
/**
|
|
35148
|
+
* RPC method returns {@link tl.TypeBusinessChatLink}
|
|
35149
|
+
*/
|
|
35150
|
+
interface RawEditBusinessChatLinkRequest {
|
|
35151
|
+
_: 'account.editBusinessChatLink';
|
|
35152
|
+
slug: string;
|
|
35153
|
+
link: tl.TypeInputBusinessChatLink;
|
|
35154
|
+
}
|
|
35155
|
+
/**
|
|
35156
|
+
* RPC method returns boolean
|
|
35157
|
+
*/
|
|
35158
|
+
interface RawDeleteBusinessChatLinkRequest {
|
|
35159
|
+
_: 'account.deleteBusinessChatLink';
|
|
35160
|
+
slug: string;
|
|
35161
|
+
}
|
|
35162
|
+
/**
|
|
35163
|
+
* RPC method returns {@link tl.account.TypeBusinessChatLinks}
|
|
35164
|
+
*/
|
|
35165
|
+
interface RawGetBusinessChatLinksRequest {
|
|
35166
|
+
_: 'account.getBusinessChatLinks';
|
|
35167
|
+
}
|
|
35168
|
+
/**
|
|
35169
|
+
* RPC method returns
|
|
35170
|
+
* {@link tl.account.TypeResolvedBusinessChatLinks}
|
|
35171
|
+
*/
|
|
35172
|
+
interface RawResolveBusinessChatLinkRequest {
|
|
35173
|
+
_: 'account.resolveBusinessChatLink';
|
|
35174
|
+
slug: string;
|
|
35175
|
+
}
|
|
35176
|
+
/**
|
|
35177
|
+
* RPC method returns boolean
|
|
35178
|
+
*/
|
|
35179
|
+
interface RawUpdatePersonalChannelRequest {
|
|
35180
|
+
_: 'account.updatePersonalChannel';
|
|
35181
|
+
channel: tl.TypeInputChannel;
|
|
35182
|
+
}
|
|
34475
35183
|
interface RpcCallReturn {
|
|
34476
35184
|
'account.registerDevice': boolean
|
|
34477
35185
|
'account.unregisterDevice': boolean
|
|
@@ -34565,6 +35273,23 @@ export class RpcError extends Error {
|
|
|
34565
35273
|
'account.getDefaultBackgroundEmojis': tl.TypeEmojiList
|
|
34566
35274
|
'account.getChannelDefaultEmojiStatuses': tl.account.TypeEmojiStatuses
|
|
34567
35275
|
'account.getChannelRestrictedStatusEmojis': tl.TypeEmojiList
|
|
35276
|
+
'account.updateBusinessWorkHours': boolean
|
|
35277
|
+
'account.updateBusinessLocation': boolean
|
|
35278
|
+
'account.updateBusinessGreetingMessage': boolean
|
|
35279
|
+
'account.updateBusinessAwayMessage': boolean
|
|
35280
|
+
'account.updateConnectedBot': tl.TypeUpdates
|
|
35281
|
+
'account.getConnectedBots': tl.account.TypeConnectedBots
|
|
35282
|
+
'account.getBotBusinessConnection': tl.TypeUpdates
|
|
35283
|
+
'account.updateBusinessIntro': boolean
|
|
35284
|
+
'account.toggleConnectedBotPaused': boolean
|
|
35285
|
+
'account.disablePeerConnectedBot': boolean
|
|
35286
|
+
'account.updateBirthday': boolean
|
|
35287
|
+
'account.createBusinessChatLink': tl.TypeBusinessChatLink
|
|
35288
|
+
'account.editBusinessChatLink': tl.TypeBusinessChatLink
|
|
35289
|
+
'account.deleteBusinessChatLink': boolean
|
|
35290
|
+
'account.getBusinessChatLinks': tl.account.TypeBusinessChatLinks
|
|
35291
|
+
'account.resolveBusinessChatLink': tl.account.TypeResolvedBusinessChatLinks
|
|
35292
|
+
'account.updatePersonalChannel': boolean
|
|
34568
35293
|
}
|
|
34569
35294
|
/**
|
|
34570
35295
|
* Privacy rules
|
|
@@ -34674,6 +35399,12 @@ export class RpcError extends Error {
|
|
|
34674
35399
|
*/
|
|
34675
35400
|
type TypeAutoSaveSettings = tl.account.RawAutoSaveSettings
|
|
34676
35401
|
function isAnyAutoSaveSettings(o: object): o is TypeAutoSaveSettings
|
|
35402
|
+
type TypeConnectedBots = tl.account.RawConnectedBots
|
|
35403
|
+
function isAnyConnectedBots(o: object): o is TypeConnectedBots
|
|
35404
|
+
type TypeBusinessChatLinks = tl.account.RawBusinessChatLinks
|
|
35405
|
+
function isAnyBusinessChatLinks(o: object): o is TypeBusinessChatLinks
|
|
35406
|
+
type TypeResolvedBusinessChatLinks = tl.account.RawResolvedBusinessChatLinks
|
|
35407
|
+
function isAnyResolvedBusinessChatLinks(o: object): o is TypeResolvedBusinessChatLinks
|
|
34677
35408
|
}
|
|
34678
35409
|
|
|
34679
35410
|
namespace channels {
|
|
@@ -34761,6 +35492,17 @@ export class RpcError extends Error {
|
|
|
34761
35492
|
*/
|
|
34762
35493
|
users: tl.TypeUser[];
|
|
34763
35494
|
}
|
|
35495
|
+
interface RawSponsoredMessageReportResultChooseOption {
|
|
35496
|
+
_: 'channels.sponsoredMessageReportResultChooseOption';
|
|
35497
|
+
title: string;
|
|
35498
|
+
options: tl.TypeSponsoredMessageReportOption[];
|
|
35499
|
+
}
|
|
35500
|
+
interface RawSponsoredMessageReportResultAdsHidden {
|
|
35501
|
+
_: 'channels.sponsoredMessageReportResultAdsHidden';
|
|
35502
|
+
}
|
|
35503
|
+
interface RawSponsoredMessageReportResultReported {
|
|
35504
|
+
_: 'channels.sponsoredMessageReportResultReported';
|
|
35505
|
+
}
|
|
34764
35506
|
/**
|
|
34765
35507
|
* Mark
|
|
34766
35508
|
* <a href="https://corefork.telegram.org/api/channel">channel/supergroup</a>
|
|
@@ -35109,7 +35851,7 @@ export class RpcError extends Error {
|
|
|
35109
35851
|
* <a href="https://corefork.telegram.org/api/invites">invite
|
|
35110
35852
|
* link</a> can be shared with the user, instead.
|
|
35111
35853
|
*
|
|
35112
|
-
* RPC method returns {@link tl.
|
|
35854
|
+
* RPC method returns {@link tl.messages.TypeInvitedUsers}
|
|
35113
35855
|
*/
|
|
35114
35856
|
interface RawInviteToChannelRequest {
|
|
35115
35857
|
_: 'channels.inviteToChannel';
|
|
@@ -35207,6 +35949,7 @@ export class RpcError extends Error {
|
|
|
35207
35949
|
* {@link channels.RawCheckUsernameRequest}/{@linkchannels.RawUpdateUsernameRequest}.
|
|
35208
35950
|
*/
|
|
35209
35951
|
checkLimit?: boolean;
|
|
35952
|
+
forPersonal?: boolean;
|
|
35210
35953
|
}
|
|
35211
35954
|
/**
|
|
35212
35955
|
* Ban/unban/kick a user in a
|
|
@@ -36078,6 +36821,24 @@ export class RpcError extends Error {
|
|
|
36078
36821
|
channel: tl.TypeInputChannel;
|
|
36079
36822
|
stickerset: tl.TypeInputStickerSet;
|
|
36080
36823
|
}
|
|
36824
|
+
/**
|
|
36825
|
+
* RPC method returns
|
|
36826
|
+
* {@link tl.channels.TypeSponsoredMessageReportResult}
|
|
36827
|
+
*/
|
|
36828
|
+
interface RawReportSponsoredMessageRequest {
|
|
36829
|
+
_: 'channels.reportSponsoredMessage';
|
|
36830
|
+
channel: tl.TypeInputChannel;
|
|
36831
|
+
randomId: Uint8Array;
|
|
36832
|
+
option: Uint8Array;
|
|
36833
|
+
}
|
|
36834
|
+
/**
|
|
36835
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
36836
|
+
*/
|
|
36837
|
+
interface RawRestrictSponsoredMessagesRequest {
|
|
36838
|
+
_: 'channels.restrictSponsoredMessages';
|
|
36839
|
+
channel: tl.TypeInputChannel;
|
|
36840
|
+
restricted: boolean;
|
|
36841
|
+
}
|
|
36081
36842
|
interface RpcCallReturn {
|
|
36082
36843
|
'channels.readHistory': boolean
|
|
36083
36844
|
'channels.deleteMessages': tl.messages.TypeAffectedMessages
|
|
@@ -36095,7 +36856,7 @@ export class RpcError extends Error {
|
|
|
36095
36856
|
'channels.updateUsername': boolean
|
|
36096
36857
|
'channels.joinChannel': tl.TypeUpdates
|
|
36097
36858
|
'channels.leaveChannel': tl.TypeUpdates
|
|
36098
|
-
'channels.inviteToChannel': tl.
|
|
36859
|
+
'channels.inviteToChannel': tl.messages.TypeInvitedUsers
|
|
36099
36860
|
'channels.deleteChannel': tl.TypeUpdates
|
|
36100
36861
|
'channels.exportMessageLink': tl.TypeExportedMessageLink
|
|
36101
36862
|
'channels.toggleSignatures': tl.TypeUpdates
|
|
@@ -36141,6 +36902,8 @@ export class RpcError extends Error {
|
|
|
36141
36902
|
'channels.updateEmojiStatus': tl.TypeUpdates
|
|
36142
36903
|
'channels.setBoostsToUnblockRestrictions': tl.TypeUpdates
|
|
36143
36904
|
'channels.setEmojiStickers': boolean
|
|
36905
|
+
'channels.reportSponsoredMessage': tl.channels.TypeSponsoredMessageReportResult
|
|
36906
|
+
'channels.restrictSponsoredMessages': tl.TypeUpdates
|
|
36144
36907
|
}
|
|
36145
36908
|
/**
|
|
36146
36909
|
* Channel/supergroup participants
|
|
@@ -36163,6 +36926,8 @@ export class RpcError extends Error {
|
|
|
36163
36926
|
*/
|
|
36164
36927
|
type TypeSendAsPeers = tl.channels.RawSendAsPeers
|
|
36165
36928
|
function isAnySendAsPeers(o: object): o is TypeSendAsPeers
|
|
36929
|
+
type TypeSponsoredMessageReportResult = tl.channels.RawSponsoredMessageReportResultChooseOption | tl.channels.RawSponsoredMessageReportResultAdsHidden | tl.channels.RawSponsoredMessageReportResultReported
|
|
36930
|
+
function isAnySponsoredMessageReportResult(o: object): o is TypeSponsoredMessageReportResult
|
|
36166
36931
|
}
|
|
36167
36932
|
|
|
36168
36933
|
namespace payments {
|
|
@@ -38053,6 +38818,24 @@ export class RpcError extends Error {
|
|
|
38053
38818
|
*/
|
|
38054
38819
|
users: tl.TypeUser[];
|
|
38055
38820
|
}
|
|
38821
|
+
interface RawBroadcastRevenueStats {
|
|
38822
|
+
_: 'stats.broadcastRevenueStats';
|
|
38823
|
+
topHoursGraph: tl.TypeStatsGraph;
|
|
38824
|
+
revenueGraph: tl.TypeStatsGraph;
|
|
38825
|
+
currentBalance: Long;
|
|
38826
|
+
availableBalance: Long;
|
|
38827
|
+
overallRevenue: Long;
|
|
38828
|
+
usdRate: Double;
|
|
38829
|
+
}
|
|
38830
|
+
interface RawBroadcastRevenueWithdrawalUrl {
|
|
38831
|
+
_: 'stats.broadcastRevenueWithdrawalUrl';
|
|
38832
|
+
url: string;
|
|
38833
|
+
}
|
|
38834
|
+
interface RawBroadcastRevenueTransactions {
|
|
38835
|
+
_: 'stats.broadcastRevenueTransactions';
|
|
38836
|
+
count: number;
|
|
38837
|
+
transactions: tl.TypeBroadcastRevenueTransaction[];
|
|
38838
|
+
}
|
|
38056
38839
|
/**
|
|
38057
38840
|
* Get
|
|
38058
38841
|
* <a href="https://corefork.telegram.org/api/stats">channel
|
|
@@ -38219,6 +39002,34 @@ export class RpcError extends Error {
|
|
|
38219
39002
|
*/
|
|
38220
39003
|
limit: number;
|
|
38221
39004
|
}
|
|
39005
|
+
/**
|
|
39006
|
+
* RPC method returns
|
|
39007
|
+
* {@link tl.stats.TypeBroadcastRevenueStats}
|
|
39008
|
+
*/
|
|
39009
|
+
interface RawGetBroadcastRevenueStatsRequest {
|
|
39010
|
+
_: 'stats.getBroadcastRevenueStats';
|
|
39011
|
+
dark?: boolean;
|
|
39012
|
+
channel: tl.TypeInputChannel;
|
|
39013
|
+
}
|
|
39014
|
+
/**
|
|
39015
|
+
* RPC method returns
|
|
39016
|
+
* {@link tl.stats.TypeBroadcastRevenueWithdrawalUrl}
|
|
39017
|
+
*/
|
|
39018
|
+
interface RawGetBroadcastRevenueWithdrawalUrlRequest {
|
|
39019
|
+
_: 'stats.getBroadcastRevenueWithdrawalUrl';
|
|
39020
|
+
channel: tl.TypeInputChannel;
|
|
39021
|
+
password: tl.TypeInputCheckPasswordSRP;
|
|
39022
|
+
}
|
|
39023
|
+
/**
|
|
39024
|
+
* RPC method returns
|
|
39025
|
+
* {@link tl.stats.TypeBroadcastRevenueTransactions}
|
|
39026
|
+
*/
|
|
39027
|
+
interface RawGetBroadcastRevenueTransactionsRequest {
|
|
39028
|
+
_: 'stats.getBroadcastRevenueTransactions';
|
|
39029
|
+
channel: tl.TypeInputChannel;
|
|
39030
|
+
offset: number;
|
|
39031
|
+
limit: number;
|
|
39032
|
+
}
|
|
38222
39033
|
interface RpcCallReturn {
|
|
38223
39034
|
'stats.getBroadcastStats': tl.stats.TypeBroadcastStats
|
|
38224
39035
|
'stats.loadAsyncGraph': tl.TypeStatsGraph
|
|
@@ -38227,6 +39038,9 @@ export class RpcError extends Error {
|
|
|
38227
39038
|
'stats.getMessageStats': tl.stats.TypeMessageStats
|
|
38228
39039
|
'stats.getStoryStats': tl.stats.TypeStoryStats
|
|
38229
39040
|
'stats.getStoryPublicForwards': tl.stats.TypePublicForwards
|
|
39041
|
+
'stats.getBroadcastRevenueStats': tl.stats.TypeBroadcastRevenueStats
|
|
39042
|
+
'stats.getBroadcastRevenueWithdrawalUrl': tl.stats.TypeBroadcastRevenueWithdrawalUrl
|
|
39043
|
+
'stats.getBroadcastRevenueTransactions': tl.stats.TypeBroadcastRevenueTransactions
|
|
38230
39044
|
}
|
|
38231
39045
|
/**
|
|
38232
39046
|
* Channel statistics
|
|
@@ -38258,6 +39072,12 @@ export class RpcError extends Error {
|
|
|
38258
39072
|
*/
|
|
38259
39073
|
type TypePublicForwards = tl.stats.RawPublicForwards
|
|
38260
39074
|
function isAnyPublicForwards(o: object): o is TypePublicForwards
|
|
39075
|
+
type TypeBroadcastRevenueStats = tl.stats.RawBroadcastRevenueStats
|
|
39076
|
+
function isAnyBroadcastRevenueStats(o: object): o is TypeBroadcastRevenueStats
|
|
39077
|
+
type TypeBroadcastRevenueWithdrawalUrl = tl.stats.RawBroadcastRevenueWithdrawalUrl
|
|
39078
|
+
function isAnyBroadcastRevenueWithdrawalUrl(o: object): o is TypeBroadcastRevenueWithdrawalUrl
|
|
39079
|
+
type TypeBroadcastRevenueTransactions = tl.stats.RawBroadcastRevenueTransactions
|
|
39080
|
+
function isAnyBroadcastRevenueTransactions(o: object): o is TypeBroadcastRevenueTransactions
|
|
38261
39081
|
}
|
|
38262
39082
|
|
|
38263
39083
|
namespace stickers {
|
|
@@ -38282,14 +39102,6 @@ export class RpcError extends Error {
|
|
|
38282
39102
|
* Whether this is a mask stickerset
|
|
38283
39103
|
*/
|
|
38284
39104
|
masks?: boolean;
|
|
38285
|
-
/**
|
|
38286
|
-
* Whether this is an animated stickerset
|
|
38287
|
-
*/
|
|
38288
|
-
animated?: boolean;
|
|
38289
|
-
/**
|
|
38290
|
-
* Whether this is a video stickerset
|
|
38291
|
-
*/
|
|
38292
|
-
videos?: boolean;
|
|
38293
39105
|
/**
|
|
38294
39106
|
* Whether this is a
|
|
38295
39107
|
* <a href="https://corefork.telegram.org/api/custom-emoji">custom
|
|
@@ -38338,6 +39150,14 @@ export class RpcError extends Error {
|
|
|
38338
39150
|
* name of the software that created the stickers
|
|
38339
39151
|
*/
|
|
38340
39152
|
software?: string;
|
|
39153
|
+
/**
|
|
39154
|
+
* Whether this is an animated stickerset
|
|
39155
|
+
*/
|
|
39156
|
+
animated?: boolean;
|
|
39157
|
+
/**
|
|
39158
|
+
* Whether this is a video stickerset
|
|
39159
|
+
*/
|
|
39160
|
+
videos?: boolean;
|
|
38341
39161
|
}
|
|
38342
39162
|
/**
|
|
38343
39163
|
* Remove a sticker from the set where it belongs, bots only.
|
|
@@ -38494,6 +39314,14 @@ export class RpcError extends Error {
|
|
|
38494
39314
|
*/
|
|
38495
39315
|
stickerset: tl.TypeInputStickerSet;
|
|
38496
39316
|
}
|
|
39317
|
+
/**
|
|
39318
|
+
* RPC method returns {@link tl.messages.TypeStickerSet}
|
|
39319
|
+
*/
|
|
39320
|
+
interface RawReplaceStickerRequest {
|
|
39321
|
+
_: 'stickers.replaceSticker';
|
|
39322
|
+
sticker: tl.TypeInputDocument;
|
|
39323
|
+
newSticker: tl.TypeInputStickerSetItem;
|
|
39324
|
+
}
|
|
38497
39325
|
interface RpcCallReturn {
|
|
38498
39326
|
'stickers.createStickerSet': tl.messages.TypeStickerSet
|
|
38499
39327
|
'stickers.removeStickerFromSet': tl.messages.TypeStickerSet
|
|
@@ -38505,6 +39333,7 @@ export class RpcError extends Error {
|
|
|
38505
39333
|
'stickers.changeSticker': tl.messages.TypeStickerSet
|
|
38506
39334
|
'stickers.renameStickerSet': tl.messages.TypeStickerSet
|
|
38507
39335
|
'stickers.deleteStickerSet': boolean
|
|
39336
|
+
'stickers.replaceSticker': tl.messages.TypeStickerSet
|
|
38508
39337
|
}
|
|
38509
39338
|
/**
|
|
38510
39339
|
* A suggested short name for the specified stickerpack
|
|
@@ -40425,6 +41254,108 @@ export class RpcError extends Error {
|
|
|
40425
41254
|
function isAnyBoostsStatus(o: object): o is TypeBoostsStatus
|
|
40426
41255
|
}
|
|
40427
41256
|
|
|
41257
|
+
namespace smsjobs {
|
|
41258
|
+
interface RawEligibleToJoin {
|
|
41259
|
+
_: 'smsjobs.eligibleToJoin';
|
|
41260
|
+
termsUrl: string;
|
|
41261
|
+
monthlySentSms: number;
|
|
41262
|
+
}
|
|
41263
|
+
interface RawStatus {
|
|
41264
|
+
_: 'smsjobs.status';
|
|
41265
|
+
allowInternational?: boolean;
|
|
41266
|
+
recentSent: number;
|
|
41267
|
+
recentSince: number;
|
|
41268
|
+
recentRemains: number;
|
|
41269
|
+
totalSent: number;
|
|
41270
|
+
totalSince: number;
|
|
41271
|
+
lastGiftSlug?: string;
|
|
41272
|
+
termsUrl: string;
|
|
41273
|
+
}
|
|
41274
|
+
/**
|
|
41275
|
+
* RPC method returns {@link tl.smsjobs.TypeEligibilityToJoin}
|
|
41276
|
+
*/
|
|
41277
|
+
interface RawIsEligibleToJoinRequest {
|
|
41278
|
+
_: 'smsjobs.isEligibleToJoin';
|
|
41279
|
+
}
|
|
41280
|
+
/**
|
|
41281
|
+
* RPC method returns boolean
|
|
41282
|
+
*/
|
|
41283
|
+
interface RawJoinRequest {
|
|
41284
|
+
_: 'smsjobs.join';
|
|
41285
|
+
}
|
|
41286
|
+
/**
|
|
41287
|
+
* RPC method returns boolean
|
|
41288
|
+
*/
|
|
41289
|
+
interface RawLeaveRequest {
|
|
41290
|
+
_: 'smsjobs.leave';
|
|
41291
|
+
}
|
|
41292
|
+
/**
|
|
41293
|
+
* RPC method returns boolean
|
|
41294
|
+
*/
|
|
41295
|
+
interface RawUpdateSettingsRequest {
|
|
41296
|
+
_: 'smsjobs.updateSettings';
|
|
41297
|
+
allowInternational?: boolean;
|
|
41298
|
+
}
|
|
41299
|
+
/**
|
|
41300
|
+
* RPC method returns {@link tl.smsjobs.TypeStatus}
|
|
41301
|
+
*/
|
|
41302
|
+
interface RawGetStatusRequest {
|
|
41303
|
+
_: 'smsjobs.getStatus';
|
|
41304
|
+
}
|
|
41305
|
+
/**
|
|
41306
|
+
* RPC method returns {@link tl.TypeSmsJob}
|
|
41307
|
+
*/
|
|
41308
|
+
interface RawGetSmsJobRequest {
|
|
41309
|
+
_: 'smsjobs.getSmsJob';
|
|
41310
|
+
jobId: string;
|
|
41311
|
+
}
|
|
41312
|
+
/**
|
|
41313
|
+
* RPC method returns boolean
|
|
41314
|
+
*/
|
|
41315
|
+
interface RawFinishJobRequest {
|
|
41316
|
+
_: 'smsjobs.finishJob';
|
|
41317
|
+
jobId: string;
|
|
41318
|
+
error?: string;
|
|
41319
|
+
}
|
|
41320
|
+
interface RpcCallReturn {
|
|
41321
|
+
'smsjobs.isEligibleToJoin': tl.smsjobs.TypeEligibilityToJoin
|
|
41322
|
+
'smsjobs.join': boolean
|
|
41323
|
+
'smsjobs.leave': boolean
|
|
41324
|
+
'smsjobs.updateSettings': boolean
|
|
41325
|
+
'smsjobs.getStatus': tl.smsjobs.TypeStatus
|
|
41326
|
+
'smsjobs.getSmsJob': tl.TypeSmsJob
|
|
41327
|
+
'smsjobs.finishJob': boolean
|
|
41328
|
+
}
|
|
41329
|
+
type TypeEligibilityToJoin = tl.smsjobs.RawEligibleToJoin
|
|
41330
|
+
function isAnyEligibilityToJoin(o: object): o is TypeEligibilityToJoin
|
|
41331
|
+
type TypeStatus = tl.smsjobs.RawStatus
|
|
41332
|
+
function isAnyStatus(o: object): o is TypeStatus
|
|
41333
|
+
}
|
|
41334
|
+
|
|
41335
|
+
namespace fragment {
|
|
41336
|
+
interface RawCollectibleInfo {
|
|
41337
|
+
_: 'fragment.collectibleInfo';
|
|
41338
|
+
purchaseDate: number;
|
|
41339
|
+
currency: string;
|
|
41340
|
+
amount: Long;
|
|
41341
|
+
cryptoCurrency: string;
|
|
41342
|
+
cryptoAmount: Long;
|
|
41343
|
+
url: string;
|
|
41344
|
+
}
|
|
41345
|
+
/**
|
|
41346
|
+
* RPC method returns {@link tl.fragment.TypeCollectibleInfo}
|
|
41347
|
+
*/
|
|
41348
|
+
interface RawGetCollectibleInfoRequest {
|
|
41349
|
+
_: 'fragment.getCollectibleInfo';
|
|
41350
|
+
collectible: tl.TypeInputCollectible;
|
|
41351
|
+
}
|
|
41352
|
+
interface RpcCallReturn {
|
|
41353
|
+
'fragment.getCollectibleInfo': tl.fragment.TypeCollectibleInfo
|
|
41354
|
+
}
|
|
41355
|
+
type TypeCollectibleInfo = tl.fragment.RawCollectibleInfo
|
|
41356
|
+
function isAnyCollectibleInfo(o: object): o is TypeCollectibleInfo
|
|
41357
|
+
}
|
|
41358
|
+
|
|
40428
41359
|
namespace mtcute {
|
|
40429
41360
|
interface RawDummyUpdate {
|
|
40430
41361
|
_: 'mtcute.dummyUpdate';
|
|
@@ -40445,7 +41376,7 @@ export class RpcError extends Error {
|
|
|
40445
41376
|
/**
|
|
40446
41377
|
* Object contains info on events occurred.
|
|
40447
41378
|
*/
|
|
40448
|
-
type TypeUpdate = tl.RawUpdateNewMessage | tl.RawUpdateMessageID | tl.RawUpdateDeleteMessages | tl.RawUpdateUserTyping | tl.RawUpdateChatUserTyping | tl.RawUpdateChatParticipants | tl.RawUpdateUserStatus | tl.RawUpdateUserName | tl.RawUpdateNewAuthorization | tl.RawUpdateNewEncryptedMessage | tl.RawUpdateEncryptedChatTyping | tl.RawUpdateEncryption | tl.RawUpdateEncryptedMessagesRead | tl.RawUpdateChatParticipantAdd | tl.RawUpdateChatParticipantDelete | tl.RawUpdateDcOptions | tl.RawUpdateNotifySettings | tl.RawUpdateServiceNotification | tl.RawUpdatePrivacy | tl.RawUpdateUserPhone | tl.RawUpdateReadHistoryInbox | tl.RawUpdateReadHistoryOutbox | tl.RawUpdateWebPage | tl.RawUpdateReadMessagesContents | tl.RawUpdateChannelTooLong | tl.RawUpdateChannel | tl.RawUpdateNewChannelMessage | tl.RawUpdateReadChannelInbox | tl.RawUpdateDeleteChannelMessages | tl.RawUpdateChannelMessageViews | tl.RawUpdateChatParticipantAdmin | tl.RawUpdateNewStickerSet | tl.RawUpdateStickerSetsOrder | tl.RawUpdateStickerSets | tl.RawUpdateSavedGifs | tl.RawUpdateBotInlineQuery | tl.RawUpdateBotInlineSend | tl.RawUpdateEditChannelMessage | tl.RawUpdateBotCallbackQuery | tl.RawUpdateEditMessage | tl.RawUpdateInlineBotCallbackQuery | tl.RawUpdateReadChannelOutbox | tl.RawUpdateDraftMessage | tl.RawUpdateReadFeaturedStickers | tl.RawUpdateRecentStickers | tl.RawUpdateConfig | tl.RawUpdatePtsChanged | tl.RawUpdateChannelWebPage | tl.RawUpdateDialogPinned | tl.RawUpdatePinnedDialogs | tl.RawUpdateBotWebhookJSON | tl.RawUpdateBotWebhookJSONQuery | tl.RawUpdateBotShippingQuery | tl.RawUpdateBotPrecheckoutQuery | tl.RawUpdatePhoneCall | tl.RawUpdateLangPackTooLong | tl.RawUpdateLangPack | tl.RawUpdateFavedStickers | tl.RawUpdateChannelReadMessagesContents | tl.RawUpdateContactsReset | tl.RawUpdateChannelAvailableMessages | tl.RawUpdateDialogUnreadMark | tl.RawUpdateMessagePoll | tl.RawUpdateChatDefaultBannedRights | tl.RawUpdateFolderPeers | tl.RawUpdatePeerSettings | tl.RawUpdatePeerLocated | tl.RawUpdateNewScheduledMessage | tl.RawUpdateDeleteScheduledMessages | tl.RawUpdateTheme | tl.RawUpdateGeoLiveViewed | tl.RawUpdateLoginToken | tl.RawUpdateMessagePollVote | tl.RawUpdateDialogFilter | tl.RawUpdateDialogFilterOrder | tl.RawUpdateDialogFilters | tl.RawUpdatePhoneCallSignalingData | tl.RawUpdateChannelMessageForwards | tl.RawUpdateReadChannelDiscussionInbox | tl.RawUpdateReadChannelDiscussionOutbox | tl.RawUpdatePeerBlocked | tl.RawUpdateChannelUserTyping | tl.RawUpdatePinnedMessages | tl.RawUpdatePinnedChannelMessages | tl.RawUpdateChat | tl.RawUpdateGroupCallParticipants | tl.RawUpdateGroupCall | tl.RawUpdatePeerHistoryTTL | tl.RawUpdateChatParticipant | tl.RawUpdateChannelParticipant | tl.RawUpdateBotStopped | tl.RawUpdateGroupCallConnection | tl.RawUpdateBotCommands | tl.RawUpdatePendingJoinRequests | tl.RawUpdateBotChatInviteRequester | tl.RawUpdateMessageReactions | tl.RawUpdateAttachMenuBots | tl.RawUpdateWebViewResultSent | tl.RawUpdateBotMenuButton | tl.RawUpdateSavedRingtones | tl.RawUpdateTranscribedAudio | tl.RawUpdateReadFeaturedEmojiStickers | tl.RawUpdateUserEmojiStatus | tl.RawUpdateRecentEmojiStatuses | tl.RawUpdateRecentReactions | tl.RawUpdateMoveStickerSetToTop | tl.RawUpdateMessageExtendedMedia | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.RawUpdateUser | tl.RawUpdateAutoSaveSettings | tl.
|
|
41379
|
+
type TypeUpdate = tl.RawUpdateNewMessage | tl.RawUpdateMessageID | tl.RawUpdateDeleteMessages | tl.RawUpdateUserTyping | tl.RawUpdateChatUserTyping | tl.RawUpdateChatParticipants | tl.RawUpdateUserStatus | tl.RawUpdateUserName | tl.RawUpdateNewAuthorization | tl.RawUpdateNewEncryptedMessage | tl.RawUpdateEncryptedChatTyping | tl.RawUpdateEncryption | tl.RawUpdateEncryptedMessagesRead | tl.RawUpdateChatParticipantAdd | tl.RawUpdateChatParticipantDelete | tl.RawUpdateDcOptions | tl.RawUpdateNotifySettings | tl.RawUpdateServiceNotification | tl.RawUpdatePrivacy | tl.RawUpdateUserPhone | tl.RawUpdateReadHistoryInbox | tl.RawUpdateReadHistoryOutbox | tl.RawUpdateWebPage | tl.RawUpdateReadMessagesContents | tl.RawUpdateChannelTooLong | tl.RawUpdateChannel | tl.RawUpdateNewChannelMessage | tl.RawUpdateReadChannelInbox | tl.RawUpdateDeleteChannelMessages | tl.RawUpdateChannelMessageViews | tl.RawUpdateChatParticipantAdmin | tl.RawUpdateNewStickerSet | tl.RawUpdateStickerSetsOrder | tl.RawUpdateStickerSets | tl.RawUpdateSavedGifs | tl.RawUpdateBotInlineQuery | tl.RawUpdateBotInlineSend | tl.RawUpdateEditChannelMessage | tl.RawUpdateBotCallbackQuery | tl.RawUpdateEditMessage | tl.RawUpdateInlineBotCallbackQuery | tl.RawUpdateReadChannelOutbox | tl.RawUpdateDraftMessage | tl.RawUpdateReadFeaturedStickers | tl.RawUpdateRecentStickers | tl.RawUpdateConfig | tl.RawUpdatePtsChanged | tl.RawUpdateChannelWebPage | tl.RawUpdateDialogPinned | tl.RawUpdatePinnedDialogs | tl.RawUpdateBotWebhookJSON | tl.RawUpdateBotWebhookJSONQuery | tl.RawUpdateBotShippingQuery | tl.RawUpdateBotPrecheckoutQuery | tl.RawUpdatePhoneCall | tl.RawUpdateLangPackTooLong | tl.RawUpdateLangPack | tl.RawUpdateFavedStickers | tl.RawUpdateChannelReadMessagesContents | tl.RawUpdateContactsReset | tl.RawUpdateChannelAvailableMessages | tl.RawUpdateDialogUnreadMark | tl.RawUpdateMessagePoll | tl.RawUpdateChatDefaultBannedRights | tl.RawUpdateFolderPeers | tl.RawUpdatePeerSettings | tl.RawUpdatePeerLocated | tl.RawUpdateNewScheduledMessage | tl.RawUpdateDeleteScheduledMessages | tl.RawUpdateTheme | tl.RawUpdateGeoLiveViewed | tl.RawUpdateLoginToken | tl.RawUpdateMessagePollVote | tl.RawUpdateDialogFilter | tl.RawUpdateDialogFilterOrder | tl.RawUpdateDialogFilters | tl.RawUpdatePhoneCallSignalingData | tl.RawUpdateChannelMessageForwards | tl.RawUpdateReadChannelDiscussionInbox | tl.RawUpdateReadChannelDiscussionOutbox | tl.RawUpdatePeerBlocked | tl.RawUpdateChannelUserTyping | tl.RawUpdatePinnedMessages | tl.RawUpdatePinnedChannelMessages | tl.RawUpdateChat | tl.RawUpdateGroupCallParticipants | tl.RawUpdateGroupCall | tl.RawUpdatePeerHistoryTTL | tl.RawUpdateChatParticipant | tl.RawUpdateChannelParticipant | tl.RawUpdateBotStopped | tl.RawUpdateGroupCallConnection | tl.RawUpdateBotCommands | tl.RawUpdatePendingJoinRequests | tl.RawUpdateBotChatInviteRequester | tl.RawUpdateMessageReactions | tl.RawUpdateAttachMenuBots | tl.RawUpdateWebViewResultSent | tl.RawUpdateBotMenuButton | tl.RawUpdateSavedRingtones | tl.RawUpdateTranscribedAudio | tl.RawUpdateReadFeaturedEmojiStickers | tl.RawUpdateUserEmojiStatus | tl.RawUpdateRecentEmojiStatuses | tl.RawUpdateRecentReactions | tl.RawUpdateMoveStickerSetToTop | tl.RawUpdateMessageExtendedMedia | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.RawUpdateUser | tl.RawUpdateAutoSaveSettings | tl.RawUpdateStory | tl.RawUpdateReadStories | tl.RawUpdateStoryID | tl.RawUpdateStoriesStealthMode | tl.RawUpdateSentStoryReaction | tl.RawUpdateBotChatBoost | tl.RawUpdateChannelViewForumAsMessages | tl.RawUpdatePeerWallpaper | tl.RawUpdateBotMessageReaction | tl.RawUpdateBotMessageReactions | tl.RawUpdateSavedDialogPinned | tl.RawUpdatePinnedSavedDialogs | tl.RawUpdateSavedReactionTags | tl.RawUpdateSmsJob | tl.RawUpdateQuickReplies | tl.RawUpdateNewQuickReply | tl.RawUpdateDeleteQuickReply | tl.RawUpdateQuickReplyMessage | tl.RawUpdateDeleteQuickReplyMessages | tl.RawUpdateBotBusinessConnect | tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage | tl.RawUpdateBotDeleteBusinessMessage | tl.RawUpdateGroupInvitePrivacyForbidden | tl.mtcute.RawDummyUpdate
|
|
40449
41380
|
function isAnyUpdate(o: object): o is TypeUpdate
|
|
40450
41381
|
/**
|
|
40451
41382
|
* Peer
|
|
@@ -40455,12 +41386,6 @@ export class RpcError extends Error {
|
|
|
40455
41386
|
}
|
|
40456
41387
|
|
|
40457
41388
|
namespace test {
|
|
40458
|
-
/**
|
|
40459
|
-
* RPC method returns {@link tl.TypeError}
|
|
40460
|
-
*/
|
|
40461
|
-
interface RawUseErrorRequest {
|
|
40462
|
-
_: 'test.useError';
|
|
40463
|
-
}
|
|
40464
41389
|
/**
|
|
40465
41390
|
* RPC method returns {@link tl.help.TypeConfigSimple}
|
|
40466
41391
|
*/
|
|
@@ -40474,7 +41399,6 @@ export class RpcError extends Error {
|
|
|
40474
41399
|
_: 'test.parseInputAppEvent';
|
|
40475
41400
|
}
|
|
40476
41401
|
interface RpcCallReturn {
|
|
40477
|
-
'test.useError': tl.TypeError
|
|
40478
41402
|
'test.useConfigSimple': tl.help.TypeConfigSimple
|
|
40479
41403
|
'test.parseInputAppEvent': tl.TypeInputAppEvent
|
|
40480
41404
|
}
|
|
@@ -40600,9 +41524,9 @@ export class RpcError extends Error {
|
|
|
40600
41524
|
}
|
|
40601
41525
|
}
|
|
40602
41526
|
type RpcMethod =
|
|
40603
|
-
| tl.test.RawUseErrorRequest
|
|
40604
41527
|
| tl.test.RawUseConfigSimpleRequest
|
|
40605
41528
|
| tl.test.RawParseInputAppEventRequest
|
|
41529
|
+
| tl.RawInvokeWithBusinessConnectionPrefixRequest
|
|
40606
41530
|
| tl.RawInvokeAfterMsgRequest
|
|
40607
41531
|
| tl.RawInvokeAfterMsgsRequest
|
|
40608
41532
|
| tl.RawInitConnectionRequest
|
|
@@ -40610,6 +41534,7 @@ export class RpcError extends Error {
|
|
|
40610
41534
|
| tl.RawInvokeWithoutUpdatesRequest
|
|
40611
41535
|
| tl.RawInvokeWithMessagesRangeRequest
|
|
40612
41536
|
| tl.RawInvokeWithTakeoutRequest
|
|
41537
|
+
| tl.RawInvokeWithBusinessConnectionRequest
|
|
40613
41538
|
| tl.auth.RawSendCodeRequest
|
|
40614
41539
|
| tl.auth.RawSignUpRequest
|
|
40615
41540
|
| tl.auth.RawSignInRequest
|
|
@@ -40724,6 +41649,23 @@ export class RpcError extends Error {
|
|
|
40724
41649
|
| tl.account.RawGetDefaultBackgroundEmojisRequest
|
|
40725
41650
|
| tl.account.RawGetChannelDefaultEmojiStatusesRequest
|
|
40726
41651
|
| tl.account.RawGetChannelRestrictedStatusEmojisRequest
|
|
41652
|
+
| tl.account.RawUpdateBusinessWorkHoursRequest
|
|
41653
|
+
| tl.account.RawUpdateBusinessLocationRequest
|
|
41654
|
+
| tl.account.RawUpdateBusinessGreetingMessageRequest
|
|
41655
|
+
| tl.account.RawUpdateBusinessAwayMessageRequest
|
|
41656
|
+
| tl.account.RawUpdateConnectedBotRequest
|
|
41657
|
+
| tl.account.RawGetConnectedBotsRequest
|
|
41658
|
+
| tl.account.RawGetBotBusinessConnectionRequest
|
|
41659
|
+
| tl.account.RawUpdateBusinessIntroRequest
|
|
41660
|
+
| tl.account.RawToggleConnectedBotPausedRequest
|
|
41661
|
+
| tl.account.RawDisablePeerConnectedBotRequest
|
|
41662
|
+
| tl.account.RawUpdateBirthdayRequest
|
|
41663
|
+
| tl.account.RawCreateBusinessChatLinkRequest
|
|
41664
|
+
| tl.account.RawEditBusinessChatLinkRequest
|
|
41665
|
+
| tl.account.RawDeleteBusinessChatLinkRequest
|
|
41666
|
+
| tl.account.RawGetBusinessChatLinksRequest
|
|
41667
|
+
| tl.account.RawResolveBusinessChatLinkRequest
|
|
41668
|
+
| tl.account.RawUpdatePersonalChannelRequest
|
|
40727
41669
|
| tl.users.RawGetUsersRequest
|
|
40728
41670
|
| tl.users.RawGetFullUserRequest
|
|
40729
41671
|
| tl.users.RawSetSecureValueErrorsRequest
|
|
@@ -40753,6 +41695,7 @@ export class RpcError extends Error {
|
|
|
40753
41695
|
| tl.contacts.RawImportContactTokenRequest
|
|
40754
41696
|
| tl.contacts.RawEditCloseFriendsRequest
|
|
40755
41697
|
| tl.contacts.RawSetBlockedRequest
|
|
41698
|
+
| tl.contacts.RawGetBirthdaysRequest
|
|
40756
41699
|
| tl.messages.RawGetMessagesRequest
|
|
40757
41700
|
| tl.messages.RawGetDialogsRequest
|
|
40758
41701
|
| tl.messages.RawGetHistoryRequest
|
|
@@ -40951,6 +41894,16 @@ export class RpcError extends Error {
|
|
|
40951
41894
|
| tl.messages.RawUpdateSavedReactionTagRequest
|
|
40952
41895
|
| tl.messages.RawGetDefaultTagReactionsRequest
|
|
40953
41896
|
| tl.messages.RawGetOutboxReadDateRequest
|
|
41897
|
+
| tl.messages.RawGetQuickRepliesRequest
|
|
41898
|
+
| tl.messages.RawReorderQuickRepliesRequest
|
|
41899
|
+
| tl.messages.RawCheckQuickReplyShortcutRequest
|
|
41900
|
+
| tl.messages.RawEditQuickReplyShortcutRequest
|
|
41901
|
+
| tl.messages.RawDeleteQuickReplyShortcutRequest
|
|
41902
|
+
| tl.messages.RawGetQuickReplyMessagesRequest
|
|
41903
|
+
| tl.messages.RawSendQuickReplyMessagesRequest
|
|
41904
|
+
| tl.messages.RawDeleteQuickReplyMessagesRequest
|
|
41905
|
+
| tl.messages.RawToggleDialogFilterTagsRequest
|
|
41906
|
+
| tl.messages.RawGetMyStickersRequest
|
|
40954
41907
|
| tl.updates.RawGetStateRequest
|
|
40955
41908
|
| tl.updates.RawGetDifferenceRequest
|
|
40956
41909
|
| tl.updates.RawGetChannelDifferenceRequest
|
|
@@ -40991,6 +41944,7 @@ export class RpcError extends Error {
|
|
|
40991
41944
|
| tl.help.RawGetPremiumPromoRequest
|
|
40992
41945
|
| tl.help.RawGetPeerColorsRequest
|
|
40993
41946
|
| tl.help.RawGetPeerProfileColorsRequest
|
|
41947
|
+
| tl.help.RawGetTimezonesListRequest
|
|
40994
41948
|
| tl.channels.RawReadHistoryRequest
|
|
40995
41949
|
| tl.channels.RawDeleteMessagesRequest
|
|
40996
41950
|
| tl.channels.RawReportSpamRequest
|
|
@@ -41053,6 +42007,8 @@ export class RpcError extends Error {
|
|
|
41053
42007
|
| tl.channels.RawUpdateEmojiStatusRequest
|
|
41054
42008
|
| tl.channels.RawSetBoostsToUnblockRestrictionsRequest
|
|
41055
42009
|
| tl.channels.RawSetEmojiStickersRequest
|
|
42010
|
+
| tl.channels.RawReportSponsoredMessageRequest
|
|
42011
|
+
| tl.channels.RawRestrictSponsoredMessagesRequest
|
|
41056
42012
|
| tl.bots.RawSendCustomRequestRequest
|
|
41057
42013
|
| tl.bots.RawAnswerWebhookJSONQueryRequest
|
|
41058
42014
|
| tl.bots.RawSetBotCommandsRequest
|
|
@@ -41095,6 +42051,7 @@ export class RpcError extends Error {
|
|
|
41095
42051
|
| tl.stickers.RawChangeStickerRequest
|
|
41096
42052
|
| tl.stickers.RawRenameStickerSetRequest
|
|
41097
42053
|
| tl.stickers.RawDeleteStickerSetRequest
|
|
42054
|
+
| tl.stickers.RawReplaceStickerRequest
|
|
41098
42055
|
| tl.phone.RawGetCallConfigRequest
|
|
41099
42056
|
| tl.phone.RawRequestCallRequest
|
|
41100
42057
|
| tl.phone.RawAcceptCallRequest
|
|
@@ -41139,6 +42096,9 @@ export class RpcError extends Error {
|
|
|
41139
42096
|
| tl.stats.RawGetMessageStatsRequest
|
|
41140
42097
|
| tl.stats.RawGetStoryStatsRequest
|
|
41141
42098
|
| tl.stats.RawGetStoryPublicForwardsRequest
|
|
42099
|
+
| tl.stats.RawGetBroadcastRevenueStatsRequest
|
|
42100
|
+
| tl.stats.RawGetBroadcastRevenueWithdrawalUrlRequest
|
|
42101
|
+
| tl.stats.RawGetBroadcastRevenueTransactionsRequest
|
|
41142
42102
|
| tl.chatlists.RawExportChatlistInviteRequest
|
|
41143
42103
|
| tl.chatlists.RawDeleteExportedInviteRequest
|
|
41144
42104
|
| tl.chatlists.RawEditExportedInviteRequest
|
|
@@ -41179,6 +42139,14 @@ export class RpcError extends Error {
|
|
|
41179
42139
|
| tl.premium.RawApplyBoostRequest
|
|
41180
42140
|
| tl.premium.RawGetBoostsStatusRequest
|
|
41181
42141
|
| tl.premium.RawGetUserBoostsRequest
|
|
42142
|
+
| tl.smsjobs.RawIsEligibleToJoinRequest
|
|
42143
|
+
| tl.smsjobs.RawJoinRequest
|
|
42144
|
+
| tl.smsjobs.RawLeaveRequest
|
|
42145
|
+
| tl.smsjobs.RawUpdateSettingsRequest
|
|
42146
|
+
| tl.smsjobs.RawGetStatusRequest
|
|
42147
|
+
| tl.smsjobs.RawGetSmsJobRequest
|
|
42148
|
+
| tl.smsjobs.RawFinishJobRequest
|
|
42149
|
+
| tl.fragment.RawGetCollectibleInfoRequest
|
|
41182
42150
|
|
|
41183
42151
|
type TlObject =
|
|
41184
42152
|
| tl.RawError
|
|
@@ -41334,6 +42302,7 @@ export class RpcError extends Error {
|
|
|
41334
42302
|
| tl.RawMessageActionGiveawayLaunch
|
|
41335
42303
|
| tl.RawMessageActionGiveawayResults
|
|
41336
42304
|
| tl.RawMessageActionBoostApply
|
|
42305
|
+
| tl.RawMessageActionRequestedPeerSentMe
|
|
41337
42306
|
| tl.RawDialog
|
|
41338
42307
|
| tl.RawDialogFolder
|
|
41339
42308
|
| tl.RawPhotoEmpty
|
|
@@ -41519,7 +42488,6 @@ export class RpcError extends Error {
|
|
|
41519
42488
|
| tl.RawUpdateChannelPinnedTopics
|
|
41520
42489
|
| tl.RawUpdateUser
|
|
41521
42490
|
| tl.RawUpdateAutoSaveSettings
|
|
41522
|
-
| tl.RawUpdateGroupInvitePrivacyForbidden
|
|
41523
42491
|
| tl.RawUpdateStory
|
|
41524
42492
|
| tl.RawUpdateReadStories
|
|
41525
42493
|
| tl.RawUpdateStoryID
|
|
@@ -41533,6 +42501,16 @@ export class RpcError extends Error {
|
|
|
41533
42501
|
| tl.RawUpdateSavedDialogPinned
|
|
41534
42502
|
| tl.RawUpdatePinnedSavedDialogs
|
|
41535
42503
|
| tl.RawUpdateSavedReactionTags
|
|
42504
|
+
| tl.RawUpdateSmsJob
|
|
42505
|
+
| tl.RawUpdateQuickReplies
|
|
42506
|
+
| tl.RawUpdateNewQuickReply
|
|
42507
|
+
| tl.RawUpdateDeleteQuickReply
|
|
42508
|
+
| tl.RawUpdateQuickReplyMessage
|
|
42509
|
+
| tl.RawUpdateDeleteQuickReplyMessages
|
|
42510
|
+
| tl.RawUpdateBotBusinessConnect
|
|
42511
|
+
| tl.RawUpdateBotNewBusinessMessage
|
|
42512
|
+
| tl.RawUpdateBotEditBusinessMessage
|
|
42513
|
+
| tl.RawUpdateBotDeleteBusinessMessage
|
|
41536
42514
|
| tl.updates.RawState
|
|
41537
42515
|
| tl.updates.RawDifferenceEmpty
|
|
41538
42516
|
| tl.updates.RawDifference
|
|
@@ -41613,6 +42591,7 @@ export class RpcError extends Error {
|
|
|
41613
42591
|
| tl.RawInputPrivacyKeyAddedByPhone
|
|
41614
42592
|
| tl.RawInputPrivacyKeyVoiceMessages
|
|
41615
42593
|
| tl.RawInputPrivacyKeyAbout
|
|
42594
|
+
| tl.RawInputPrivacyKeyBirthday
|
|
41616
42595
|
| tl.RawPrivacyKeyStatusTimestamp
|
|
41617
42596
|
| tl.RawPrivacyKeyChatInvite
|
|
41618
42597
|
| tl.RawPrivacyKeyPhoneCall
|
|
@@ -41623,6 +42602,7 @@ export class RpcError extends Error {
|
|
|
41623
42602
|
| tl.RawPrivacyKeyAddedByPhone
|
|
41624
42603
|
| tl.RawPrivacyKeyVoiceMessages
|
|
41625
42604
|
| tl.RawPrivacyKeyAbout
|
|
42605
|
+
| tl.RawPrivacyKeyBirthday
|
|
41626
42606
|
| tl.RawInputPrivacyValueAllowContacts
|
|
41627
42607
|
| tl.RawInputPrivacyValueAllowAll
|
|
41628
42608
|
| tl.RawInputPrivacyValueAllowUsers
|
|
@@ -41632,6 +42612,7 @@ export class RpcError extends Error {
|
|
|
41632
42612
|
| tl.RawInputPrivacyValueAllowChatParticipants
|
|
41633
42613
|
| tl.RawInputPrivacyValueDisallowChatParticipants
|
|
41634
42614
|
| tl.RawInputPrivacyValueAllowCloseFriends
|
|
42615
|
+
| tl.RawInputPrivacyValueAllowPremium
|
|
41635
42616
|
| tl.RawPrivacyValueAllowContacts
|
|
41636
42617
|
| tl.RawPrivacyValueAllowAll
|
|
41637
42618
|
| tl.RawPrivacyValueAllowUsers
|
|
@@ -41641,6 +42622,7 @@ export class RpcError extends Error {
|
|
|
41641
42622
|
| tl.RawPrivacyValueAllowChatParticipants
|
|
41642
42623
|
| tl.RawPrivacyValueDisallowChatParticipants
|
|
41643
42624
|
| tl.RawPrivacyValueAllowCloseFriends
|
|
42625
|
+
| tl.RawPrivacyValueAllowPremium
|
|
41644
42626
|
| tl.account.RawPrivacyRules
|
|
41645
42627
|
| tl.RawAccountDaysTTL
|
|
41646
42628
|
| tl.RawDocumentAttributeImageSize
|
|
@@ -41705,6 +42687,7 @@ export class RpcError extends Error {
|
|
|
41705
42687
|
| tl.RawKeyboardButtonWebView
|
|
41706
42688
|
| tl.RawKeyboardButtonSimpleWebView
|
|
41707
42689
|
| tl.RawKeyboardButtonRequestPeer
|
|
42690
|
+
| tl.RawInputKeyboardButtonRequestPeer
|
|
41708
42691
|
| tl.RawKeyboardButtonRow
|
|
41709
42692
|
| tl.RawReplyKeyboardHide
|
|
41710
42693
|
| tl.RawReplyKeyboardForceReply
|
|
@@ -42396,12 +43379,70 @@ export class RpcError extends Error {
|
|
|
42396
43379
|
| tl.messages.RawSavedReactionTagsNotModified
|
|
42397
43380
|
| tl.messages.RawSavedReactionTags
|
|
42398
43381
|
| tl.RawOutboxReadDate
|
|
43382
|
+
| tl.smsjobs.RawEligibleToJoin
|
|
43383
|
+
| tl.smsjobs.RawStatus
|
|
43384
|
+
| tl.RawSmsJob
|
|
43385
|
+
| tl.RawBusinessWeeklyOpen
|
|
43386
|
+
| tl.RawBusinessWorkHours
|
|
43387
|
+
| tl.RawBusinessLocation
|
|
43388
|
+
| tl.RawInputBusinessRecipients
|
|
43389
|
+
| tl.RawBusinessRecipients
|
|
43390
|
+
| tl.RawBusinessAwayMessageScheduleAlways
|
|
43391
|
+
| tl.RawBusinessAwayMessageScheduleOutsideWorkHours
|
|
43392
|
+
| tl.RawBusinessAwayMessageScheduleCustom
|
|
43393
|
+
| tl.RawInputBusinessGreetingMessage
|
|
43394
|
+
| tl.RawBusinessGreetingMessage
|
|
43395
|
+
| tl.RawInputBusinessAwayMessage
|
|
43396
|
+
| tl.RawBusinessAwayMessage
|
|
43397
|
+
| tl.RawTimezone
|
|
43398
|
+
| tl.help.RawTimezonesListNotModified
|
|
43399
|
+
| tl.help.RawTimezonesList
|
|
43400
|
+
| tl.RawQuickReply
|
|
43401
|
+
| tl.RawInputQuickReplyShortcut
|
|
43402
|
+
| tl.RawInputQuickReplyShortcutId
|
|
43403
|
+
| tl.messages.RawQuickReplies
|
|
43404
|
+
| tl.messages.RawQuickRepliesNotModified
|
|
43405
|
+
| tl.RawConnectedBot
|
|
43406
|
+
| tl.account.RawConnectedBots
|
|
43407
|
+
| tl.messages.RawDialogFilters
|
|
43408
|
+
| tl.RawBirthday
|
|
43409
|
+
| tl.RawBotBusinessConnection
|
|
43410
|
+
| tl.RawInputBusinessIntro
|
|
43411
|
+
| tl.RawBusinessIntro
|
|
43412
|
+
| tl.messages.RawMyStickers
|
|
43413
|
+
| tl.RawInputCollectibleUsername
|
|
43414
|
+
| tl.RawInputCollectiblePhone
|
|
43415
|
+
| tl.fragment.RawCollectibleInfo
|
|
43416
|
+
| tl.RawInputBusinessBotRecipients
|
|
43417
|
+
| tl.RawBusinessBotRecipients
|
|
43418
|
+
| tl.RawContactBirthday
|
|
43419
|
+
| tl.contacts.RawContactBirthdays
|
|
43420
|
+
| tl.RawMissingInvitee
|
|
43421
|
+
| tl.messages.RawInvitedUsers
|
|
43422
|
+
| tl.RawInputBusinessChatLink
|
|
43423
|
+
| tl.RawBusinessChatLink
|
|
43424
|
+
| tl.account.RawBusinessChatLinks
|
|
43425
|
+
| tl.account.RawResolvedBusinessChatLinks
|
|
43426
|
+
| tl.RawRequestedPeerUser
|
|
43427
|
+
| tl.RawRequestedPeerChat
|
|
43428
|
+
| tl.RawRequestedPeerChannel
|
|
43429
|
+
| tl.RawSponsoredMessageReportOption
|
|
43430
|
+
| tl.channels.RawSponsoredMessageReportResultChooseOption
|
|
43431
|
+
| tl.channels.RawSponsoredMessageReportResultAdsHidden
|
|
43432
|
+
| tl.channels.RawSponsoredMessageReportResultReported
|
|
43433
|
+
| tl.stats.RawBroadcastRevenueStats
|
|
43434
|
+
| tl.stats.RawBroadcastRevenueWithdrawalUrl
|
|
43435
|
+
| tl.RawBroadcastRevenueTransactionProceeds
|
|
43436
|
+
| tl.RawBroadcastRevenueTransactionWithdrawal
|
|
43437
|
+
| tl.RawBroadcastRevenueTransactionRefund
|
|
43438
|
+
| tl.stats.RawBroadcastRevenueTransactions
|
|
43439
|
+
| tl.RawUpdateGroupInvitePrivacyForbidden
|
|
42399
43440
|
| tl.mtcute.RawDummyUpdate
|
|
42400
43441
|
| tl.mtcute.RawDummyInputPeerMinUser
|
|
42401
43442
|
| tl.mtcute.RawDummyInputPeerMinChannel
|
|
42402
|
-
| tl.test.RawUseErrorRequest
|
|
42403
43443
|
| tl.test.RawUseConfigSimpleRequest
|
|
42404
43444
|
| tl.test.RawParseInputAppEventRequest
|
|
43445
|
+
| tl.RawInvokeWithBusinessConnectionPrefixRequest
|
|
42405
43446
|
| tl.RawInvokeAfterMsgRequest
|
|
42406
43447
|
| tl.RawInvokeAfterMsgsRequest
|
|
42407
43448
|
| tl.RawInitConnectionRequest
|
|
@@ -42409,6 +43450,7 @@ export class RpcError extends Error {
|
|
|
42409
43450
|
| tl.RawInvokeWithoutUpdatesRequest
|
|
42410
43451
|
| tl.RawInvokeWithMessagesRangeRequest
|
|
42411
43452
|
| tl.RawInvokeWithTakeoutRequest
|
|
43453
|
+
| tl.RawInvokeWithBusinessConnectionRequest
|
|
42412
43454
|
| tl.auth.RawSendCodeRequest
|
|
42413
43455
|
| tl.auth.RawSignUpRequest
|
|
42414
43456
|
| tl.auth.RawSignInRequest
|
|
@@ -42523,6 +43565,23 @@ export class RpcError extends Error {
|
|
|
42523
43565
|
| tl.account.RawGetDefaultBackgroundEmojisRequest
|
|
42524
43566
|
| tl.account.RawGetChannelDefaultEmojiStatusesRequest
|
|
42525
43567
|
| tl.account.RawGetChannelRestrictedStatusEmojisRequest
|
|
43568
|
+
| tl.account.RawUpdateBusinessWorkHoursRequest
|
|
43569
|
+
| tl.account.RawUpdateBusinessLocationRequest
|
|
43570
|
+
| tl.account.RawUpdateBusinessGreetingMessageRequest
|
|
43571
|
+
| tl.account.RawUpdateBusinessAwayMessageRequest
|
|
43572
|
+
| tl.account.RawUpdateConnectedBotRequest
|
|
43573
|
+
| tl.account.RawGetConnectedBotsRequest
|
|
43574
|
+
| tl.account.RawGetBotBusinessConnectionRequest
|
|
43575
|
+
| tl.account.RawUpdateBusinessIntroRequest
|
|
43576
|
+
| tl.account.RawToggleConnectedBotPausedRequest
|
|
43577
|
+
| tl.account.RawDisablePeerConnectedBotRequest
|
|
43578
|
+
| tl.account.RawUpdateBirthdayRequest
|
|
43579
|
+
| tl.account.RawCreateBusinessChatLinkRequest
|
|
43580
|
+
| tl.account.RawEditBusinessChatLinkRequest
|
|
43581
|
+
| tl.account.RawDeleteBusinessChatLinkRequest
|
|
43582
|
+
| tl.account.RawGetBusinessChatLinksRequest
|
|
43583
|
+
| tl.account.RawResolveBusinessChatLinkRequest
|
|
43584
|
+
| tl.account.RawUpdatePersonalChannelRequest
|
|
42526
43585
|
| tl.users.RawGetUsersRequest
|
|
42527
43586
|
| tl.users.RawGetFullUserRequest
|
|
42528
43587
|
| tl.users.RawSetSecureValueErrorsRequest
|
|
@@ -42552,6 +43611,7 @@ export class RpcError extends Error {
|
|
|
42552
43611
|
| tl.contacts.RawImportContactTokenRequest
|
|
42553
43612
|
| tl.contacts.RawEditCloseFriendsRequest
|
|
42554
43613
|
| tl.contacts.RawSetBlockedRequest
|
|
43614
|
+
| tl.contacts.RawGetBirthdaysRequest
|
|
42555
43615
|
| tl.messages.RawGetMessagesRequest
|
|
42556
43616
|
| tl.messages.RawGetDialogsRequest
|
|
42557
43617
|
| tl.messages.RawGetHistoryRequest
|
|
@@ -42750,6 +43810,16 @@ export class RpcError extends Error {
|
|
|
42750
43810
|
| tl.messages.RawUpdateSavedReactionTagRequest
|
|
42751
43811
|
| tl.messages.RawGetDefaultTagReactionsRequest
|
|
42752
43812
|
| tl.messages.RawGetOutboxReadDateRequest
|
|
43813
|
+
| tl.messages.RawGetQuickRepliesRequest
|
|
43814
|
+
| tl.messages.RawReorderQuickRepliesRequest
|
|
43815
|
+
| tl.messages.RawCheckQuickReplyShortcutRequest
|
|
43816
|
+
| tl.messages.RawEditQuickReplyShortcutRequest
|
|
43817
|
+
| tl.messages.RawDeleteQuickReplyShortcutRequest
|
|
43818
|
+
| tl.messages.RawGetQuickReplyMessagesRequest
|
|
43819
|
+
| tl.messages.RawSendQuickReplyMessagesRequest
|
|
43820
|
+
| tl.messages.RawDeleteQuickReplyMessagesRequest
|
|
43821
|
+
| tl.messages.RawToggleDialogFilterTagsRequest
|
|
43822
|
+
| tl.messages.RawGetMyStickersRequest
|
|
42753
43823
|
| tl.updates.RawGetStateRequest
|
|
42754
43824
|
| tl.updates.RawGetDifferenceRequest
|
|
42755
43825
|
| tl.updates.RawGetChannelDifferenceRequest
|
|
@@ -42790,6 +43860,7 @@ export class RpcError extends Error {
|
|
|
42790
43860
|
| tl.help.RawGetPremiumPromoRequest
|
|
42791
43861
|
| tl.help.RawGetPeerColorsRequest
|
|
42792
43862
|
| tl.help.RawGetPeerProfileColorsRequest
|
|
43863
|
+
| tl.help.RawGetTimezonesListRequest
|
|
42793
43864
|
| tl.channels.RawReadHistoryRequest
|
|
42794
43865
|
| tl.channels.RawDeleteMessagesRequest
|
|
42795
43866
|
| tl.channels.RawReportSpamRequest
|
|
@@ -42852,6 +43923,8 @@ export class RpcError extends Error {
|
|
|
42852
43923
|
| tl.channels.RawUpdateEmojiStatusRequest
|
|
42853
43924
|
| tl.channels.RawSetBoostsToUnblockRestrictionsRequest
|
|
42854
43925
|
| tl.channels.RawSetEmojiStickersRequest
|
|
43926
|
+
| tl.channels.RawReportSponsoredMessageRequest
|
|
43927
|
+
| tl.channels.RawRestrictSponsoredMessagesRequest
|
|
42855
43928
|
| tl.bots.RawSendCustomRequestRequest
|
|
42856
43929
|
| tl.bots.RawAnswerWebhookJSONQueryRequest
|
|
42857
43930
|
| tl.bots.RawSetBotCommandsRequest
|
|
@@ -42894,6 +43967,7 @@ export class RpcError extends Error {
|
|
|
42894
43967
|
| tl.stickers.RawChangeStickerRequest
|
|
42895
43968
|
| tl.stickers.RawRenameStickerSetRequest
|
|
42896
43969
|
| tl.stickers.RawDeleteStickerSetRequest
|
|
43970
|
+
| tl.stickers.RawReplaceStickerRequest
|
|
42897
43971
|
| tl.phone.RawGetCallConfigRequest
|
|
42898
43972
|
| tl.phone.RawRequestCallRequest
|
|
42899
43973
|
| tl.phone.RawAcceptCallRequest
|
|
@@ -42938,6 +44012,9 @@ export class RpcError extends Error {
|
|
|
42938
44012
|
| tl.stats.RawGetMessageStatsRequest
|
|
42939
44013
|
| tl.stats.RawGetStoryStatsRequest
|
|
42940
44014
|
| tl.stats.RawGetStoryPublicForwardsRequest
|
|
44015
|
+
| tl.stats.RawGetBroadcastRevenueStatsRequest
|
|
44016
|
+
| tl.stats.RawGetBroadcastRevenueWithdrawalUrlRequest
|
|
44017
|
+
| tl.stats.RawGetBroadcastRevenueTransactionsRequest
|
|
42941
44018
|
| tl.chatlists.RawExportChatlistInviteRequest
|
|
42942
44019
|
| tl.chatlists.RawDeleteExportedInviteRequest
|
|
42943
44020
|
| tl.chatlists.RawEditExportedInviteRequest
|
|
@@ -42978,6 +44055,14 @@ export class RpcError extends Error {
|
|
|
42978
44055
|
| tl.premium.RawApplyBoostRequest
|
|
42979
44056
|
| tl.premium.RawGetBoostsStatusRequest
|
|
42980
44057
|
| tl.premium.RawGetUserBoostsRequest
|
|
44058
|
+
| tl.smsjobs.RawIsEligibleToJoinRequest
|
|
44059
|
+
| tl.smsjobs.RawJoinRequest
|
|
44060
|
+
| tl.smsjobs.RawLeaveRequest
|
|
44061
|
+
| tl.smsjobs.RawUpdateSettingsRequest
|
|
44062
|
+
| tl.smsjobs.RawGetStatusRequest
|
|
44063
|
+
| tl.smsjobs.RawGetSmsJobRequest
|
|
44064
|
+
| tl.smsjobs.RawFinishJobRequest
|
|
44065
|
+
| tl.fragment.RawGetCollectibleInfoRequest
|
|
42981
44066
|
}
|
|
42982
44067
|
|
|
42983
44068
|
|