@mtcute/tl 204.0.0 → 206.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/README.md +1 -1
- package/api-schema.json +1 -1
- package/binary/reader.js +28 -13
- package/binary/writer.js +55 -31
- package/compat/index.d.ts +158 -2
- package/compat/reader.js +3 -0
- package/index.d.ts +233 -58
- package/index.js +6 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _Long from 'long';
|
|
2
2
|
export declare namespace tl {
|
|
3
|
-
const LAYER =
|
|
3
|
+
const LAYER = 206;
|
|
4
4
|
|
|
5
5
|
function $extendTypes(types: Record<string, string>): void
|
|
6
6
|
|
|
@@ -1318,6 +1318,10 @@ export class RpcError extends Error {
|
|
|
1318
1318
|
*/
|
|
1319
1319
|
payload?: string;
|
|
1320
1320
|
}
|
|
1321
|
+
interface RawInputMediaTodo {
|
|
1322
|
+
_: 'inputMediaTodo';
|
|
1323
|
+
todo: tl.TypeTodoList;
|
|
1324
|
+
}
|
|
1321
1325
|
/**
|
|
1322
1326
|
* Empty constructor, remove group photo.
|
|
1323
1327
|
*/
|
|
@@ -3147,6 +3151,7 @@ export class RpcError extends Error {
|
|
|
3147
3151
|
emojiset?: tl.TypeStickerSet;
|
|
3148
3152
|
botVerification?: tl.TypeBotVerification;
|
|
3149
3153
|
stargiftsCount?: number;
|
|
3154
|
+
sendPaidMessagesStars?: Long;
|
|
3150
3155
|
}
|
|
3151
3156
|
/**
|
|
3152
3157
|
* Group member.
|
|
@@ -3354,6 +3359,8 @@ export class RpcError extends Error {
|
|
|
3354
3359
|
* »</a> for more info.
|
|
3355
3360
|
*/
|
|
3356
3361
|
videoProcessingPending?: boolean;
|
|
3362
|
+
paidSuggestedPostStars?: boolean;
|
|
3363
|
+
paidSuggestedPostTon?: boolean;
|
|
3357
3364
|
/**
|
|
3358
3365
|
* ID of the message
|
|
3359
3366
|
*/
|
|
@@ -3507,6 +3514,7 @@ export class RpcError extends Error {
|
|
|
3507
3514
|
factcheck?: tl.TypeFactCheck;
|
|
3508
3515
|
reportDeliveryUntilDate?: number;
|
|
3509
3516
|
paidMessageStars?: Long;
|
|
3517
|
+
suggestedPost?: tl.TypeSuggestedPost;
|
|
3510
3518
|
}
|
|
3511
3519
|
/**
|
|
3512
3520
|
* Indicates a service message
|
|
@@ -3551,6 +3559,7 @@ export class RpcError extends Error {
|
|
|
3551
3559
|
* Sender of service message
|
|
3552
3560
|
*/
|
|
3553
3561
|
peerId: tl.TypePeer;
|
|
3562
|
+
savedPeerId?: tl.TypePeer;
|
|
3554
3563
|
/**
|
|
3555
3564
|
* Reply (thread) information
|
|
3556
3565
|
*/
|
|
@@ -4062,6 +4071,11 @@ export class RpcError extends Error {
|
|
|
4062
4071
|
*/
|
|
4063
4072
|
extendedMedia: tl.TypeMessageExtendedMedia[];
|
|
4064
4073
|
}
|
|
4074
|
+
interface RawMessageMediaToDo {
|
|
4075
|
+
_: 'messageMediaToDo';
|
|
4076
|
+
todo: tl.TypeTodoList;
|
|
4077
|
+
completions?: tl.TypeTodoCompletion[];
|
|
4078
|
+
}
|
|
4065
4079
|
/**
|
|
4066
4080
|
* Empty constructor.
|
|
4067
4081
|
*/
|
|
@@ -5045,6 +5059,15 @@ export class RpcError extends Error {
|
|
|
5045
5059
|
duration?: number;
|
|
5046
5060
|
otherParticipants?: tl.TypePeer[];
|
|
5047
5061
|
}
|
|
5062
|
+
interface RawMessageActionTodoCompletions {
|
|
5063
|
+
_: 'messageActionTodoCompletions';
|
|
5064
|
+
completed: number[];
|
|
5065
|
+
incompleted: number[];
|
|
5066
|
+
}
|
|
5067
|
+
interface RawMessageActionTodoAppendTasks {
|
|
5068
|
+
_: 'messageActionTodoAppendTasks';
|
|
5069
|
+
list: tl.TypeTodoItem[];
|
|
5070
|
+
}
|
|
5048
5071
|
/**
|
|
5049
5072
|
* Chat
|
|
5050
5073
|
*/
|
|
@@ -8946,6 +8969,24 @@ export class RpcError extends Error {
|
|
|
8946
8969
|
blocks: Uint8Array[];
|
|
8947
8970
|
nextOffset: number;
|
|
8948
8971
|
}
|
|
8972
|
+
interface RawUpdateReadMonoForumInbox {
|
|
8973
|
+
_: 'updateReadMonoForumInbox';
|
|
8974
|
+
channelId: number;
|
|
8975
|
+
savedPeerId: tl.TypePeer;
|
|
8976
|
+
readMaxId: number;
|
|
8977
|
+
}
|
|
8978
|
+
interface RawUpdateReadMonoForumOutbox {
|
|
8979
|
+
_: 'updateReadMonoForumOutbox';
|
|
8980
|
+
channelId: number;
|
|
8981
|
+
savedPeerId: tl.TypePeer;
|
|
8982
|
+
readMaxId: number;
|
|
8983
|
+
}
|
|
8984
|
+
interface RawUpdateMonoForumNoPaidException {
|
|
8985
|
+
_: 'updateMonoForumNoPaidException';
|
|
8986
|
+
exception?: boolean;
|
|
8987
|
+
channelId: number;
|
|
8988
|
+
savedPeerId: tl.TypePeer;
|
|
8989
|
+
}
|
|
8949
8990
|
/**
|
|
8950
8991
|
* Too many updates, it is necessary to execute
|
|
8951
8992
|
* {@link updates.RawGetDifferenceRequest}.
|
|
@@ -13703,6 +13744,7 @@ export class RpcError extends Error {
|
|
|
13703
13744
|
* effect that should be played as specified here »</a>.
|
|
13704
13745
|
*/
|
|
13705
13746
|
effect?: Long;
|
|
13747
|
+
suggestedPost?: tl.TypeSuggestedPost;
|
|
13706
13748
|
}
|
|
13707
13749
|
/**
|
|
13708
13750
|
* Stickerset with a single sticker as preview
|
|
@@ -17848,6 +17890,7 @@ export class RpcError extends Error {
|
|
|
17848
17890
|
* <a href="https://corefork.telegram.org/api/channel">channel</a>.
|
|
17849
17891
|
*/
|
|
17850
17892
|
deleteStories?: boolean;
|
|
17893
|
+
manageDirectMessages?: boolean;
|
|
17851
17894
|
}
|
|
17852
17895
|
/**
|
|
17853
17896
|
* Represents the rights of a normal user in a
|
|
@@ -19858,6 +19901,8 @@ export class RpcError extends Error {
|
|
|
19858
19901
|
* message to be shown along with the message.
|
|
19859
19902
|
*/
|
|
19860
19903
|
additionalInfo?: string;
|
|
19904
|
+
minDisplayDuration?: number;
|
|
19905
|
+
maxDisplayDuration?: number;
|
|
19861
19906
|
}
|
|
19862
19907
|
/**
|
|
19863
19908
|
* Information about found messages sent on a specific day,
|
|
@@ -22131,6 +22176,10 @@ export class RpcError extends Error {
|
|
|
22131
22176
|
*/
|
|
22132
22177
|
storyId: number;
|
|
22133
22178
|
}
|
|
22179
|
+
interface RawInputReplyToMonoForum {
|
|
22180
|
+
_: 'inputReplyToMonoForum';
|
|
22181
|
+
monoforumPeerId: tl.TypeInputPeer;
|
|
22182
|
+
}
|
|
22134
22183
|
/**
|
|
22135
22184
|
* Represents a
|
|
22136
22185
|
* <a href="https://corefork.telegram.org/api/stories#story-links">story
|
|
@@ -22809,6 +22858,18 @@ export class RpcError extends Error {
|
|
|
22809
22858
|
*/
|
|
22810
22859
|
topMessage: number;
|
|
22811
22860
|
}
|
|
22861
|
+
interface RawMonoForumDialog {
|
|
22862
|
+
_: 'monoForumDialog';
|
|
22863
|
+
unreadMark?: boolean;
|
|
22864
|
+
nopaidMessagesException?: boolean;
|
|
22865
|
+
peer: tl.TypePeer;
|
|
22866
|
+
topMessage: number;
|
|
22867
|
+
readInboxMaxId: number;
|
|
22868
|
+
readOutboxMaxId: number;
|
|
22869
|
+
unreadCount: number;
|
|
22870
|
+
unreadReactionsCount: number;
|
|
22871
|
+
draft?: tl.TypeDraftMessage;
|
|
22872
|
+
}
|
|
22812
22873
|
/**
|
|
22813
22874
|
* Info about a
|
|
22814
22875
|
* <a href="https://corefork.telegram.org/api/saved-messages#tags">saved
|
|
@@ -24095,10 +24156,7 @@ export class RpcError extends Error {
|
|
|
24095
24156
|
* Transaction ID.
|
|
24096
24157
|
*/
|
|
24097
24158
|
id: string;
|
|
24098
|
-
|
|
24099
|
-
* Amount of Stars (negative for outgoing transactions).
|
|
24100
|
-
*/
|
|
24101
|
-
stars: tl.TypeStarsAmount;
|
|
24159
|
+
amount: tl.TypeStarsAmount;
|
|
24102
24160
|
/**
|
|
24103
24161
|
* Date of the transaction (unixtime).
|
|
24104
24162
|
*/
|
|
@@ -24218,6 +24276,8 @@ export class RpcError extends Error {
|
|
|
24218
24276
|
starrefAmount?: tl.TypeStarsAmount;
|
|
24219
24277
|
paidMessages?: number;
|
|
24220
24278
|
premiumGiftMonths?: number;
|
|
24279
|
+
adsProceedsFromDate?: number;
|
|
24280
|
+
adsProceedsToDate?: number;
|
|
24221
24281
|
}
|
|
24222
24282
|
/**
|
|
24223
24283
|
* A story found using
|
|
@@ -24985,32 +25045,61 @@ export class RpcError extends Error {
|
|
|
24985
25045
|
description: tl.TypeTextWithEntities;
|
|
24986
25046
|
url: string;
|
|
24987
25047
|
}
|
|
24988
|
-
interface
|
|
24989
|
-
_: '
|
|
24990
|
-
|
|
24991
|
-
|
|
24992
|
-
readMaxId: number;
|
|
25048
|
+
interface RawTodoItem {
|
|
25049
|
+
_: 'todoItem';
|
|
25050
|
+
id: number;
|
|
25051
|
+
title: tl.TypeTextWithEntities;
|
|
24993
25052
|
}
|
|
24994
|
-
interface
|
|
24995
|
-
_: '
|
|
24996
|
-
|
|
24997
|
-
|
|
24998
|
-
|
|
25053
|
+
interface RawTodoList {
|
|
25054
|
+
_: 'todoList';
|
|
25055
|
+
othersCanAppend?: boolean;
|
|
25056
|
+
othersCanComplete?: boolean;
|
|
25057
|
+
title: tl.TypeTextWithEntities;
|
|
25058
|
+
list: tl.TypeTodoItem[];
|
|
24999
25059
|
}
|
|
25000
|
-
interface
|
|
25001
|
-
_: '
|
|
25002
|
-
|
|
25060
|
+
interface RawTodoCompletion {
|
|
25061
|
+
_: 'todoCompletion';
|
|
25062
|
+
id: number;
|
|
25063
|
+
completedBy: number;
|
|
25064
|
+
date: number;
|
|
25003
25065
|
}
|
|
25004
|
-
interface
|
|
25005
|
-
_: '
|
|
25006
|
-
|
|
25007
|
-
|
|
25008
|
-
|
|
25009
|
-
|
|
25010
|
-
|
|
25011
|
-
|
|
25012
|
-
|
|
25013
|
-
|
|
25066
|
+
interface RawMessageActionSuggestedPostApproval {
|
|
25067
|
+
_: 'messageActionSuggestedPostApproval';
|
|
25068
|
+
rejected?: boolean;
|
|
25069
|
+
balanceTooLow?: boolean;
|
|
25070
|
+
rejectComment?: string;
|
|
25071
|
+
scheduleDate?: number;
|
|
25072
|
+
price?: tl.TypeStarsAmount;
|
|
25073
|
+
}
|
|
25074
|
+
interface RawMessageActionSuggestedPostSuccess {
|
|
25075
|
+
_: 'messageActionSuggestedPostSuccess';
|
|
25076
|
+
price: tl.TypeStarsAmount;
|
|
25077
|
+
}
|
|
25078
|
+
interface RawMessageActionSuggestedPostRefund {
|
|
25079
|
+
_: 'messageActionSuggestedPostRefund';
|
|
25080
|
+
payerInitiated?: boolean;
|
|
25081
|
+
}
|
|
25082
|
+
interface RawMessageActionGiftTon {
|
|
25083
|
+
_: 'messageActionGiftTon';
|
|
25084
|
+
currency: string;
|
|
25085
|
+
amount: Long;
|
|
25086
|
+
cryptoCurrency: string;
|
|
25087
|
+
cryptoAmount: Long;
|
|
25088
|
+
transactionId?: string;
|
|
25089
|
+
}
|
|
25090
|
+
interface RawInputStickerSetTonGifts {
|
|
25091
|
+
_: 'inputStickerSetTonGifts';
|
|
25092
|
+
}
|
|
25093
|
+
interface RawStarsTonAmount {
|
|
25094
|
+
_: 'starsTonAmount';
|
|
25095
|
+
amount: Long;
|
|
25096
|
+
}
|
|
25097
|
+
interface RawSuggestedPost {
|
|
25098
|
+
_: 'suggestedPost';
|
|
25099
|
+
accepted?: boolean;
|
|
25100
|
+
rejected?: boolean;
|
|
25101
|
+
price?: tl.TypeStarsAmount;
|
|
25102
|
+
scheduleDate?: number;
|
|
25014
25103
|
}
|
|
25015
25104
|
/**
|
|
25016
25105
|
* Telegram Premium gift option
|
|
@@ -25417,7 +25506,7 @@ export class RpcError extends Error {
|
|
|
25417
25506
|
/**
|
|
25418
25507
|
* Defines media content of a message.
|
|
25419
25508
|
*/
|
|
25420
|
-
type TypeInputMedia = tl.RawInputMediaEmpty | tl.RawInputMediaUploadedPhoto | tl.RawInputMediaPhoto | tl.RawInputMediaGeoPoint | tl.RawInputMediaContact | tl.RawInputMediaUploadedDocument | tl.RawInputMediaDocument | tl.RawInputMediaVenue | tl.RawInputMediaPhotoExternal | tl.RawInputMediaDocumentExternal | tl.RawInputMediaGame | tl.RawInputMediaInvoice | tl.RawInputMediaGeoLive | tl.RawInputMediaPoll | tl.RawInputMediaDice | tl.RawInputMediaStory | tl.RawInputMediaWebPage | tl.RawInputMediaPaidMedia
|
|
25509
|
+
type TypeInputMedia = tl.RawInputMediaEmpty | tl.RawInputMediaUploadedPhoto | tl.RawInputMediaPhoto | tl.RawInputMediaGeoPoint | tl.RawInputMediaContact | tl.RawInputMediaUploadedDocument | tl.RawInputMediaDocument | tl.RawInputMediaVenue | tl.RawInputMediaPhotoExternal | tl.RawInputMediaDocumentExternal | tl.RawInputMediaGame | tl.RawInputMediaInvoice | tl.RawInputMediaGeoLive | tl.RawInputMediaPoll | tl.RawInputMediaDice | tl.RawInputMediaStory | tl.RawInputMediaWebPage | tl.RawInputMediaPaidMedia | tl.RawInputMediaTodo
|
|
25421
25510
|
function isAnyInputMedia(o: object): o is TypeInputMedia
|
|
25422
25511
|
/**
|
|
25423
25512
|
* Defines a new group profile photo.
|
|
@@ -25495,12 +25584,12 @@ export class RpcError extends Error {
|
|
|
25495
25584
|
/**
|
|
25496
25585
|
* Media
|
|
25497
25586
|
*/
|
|
25498
|
-
type TypeMessageMedia = tl.RawMessageMediaEmpty | tl.RawMessageMediaPhoto | tl.RawMessageMediaGeo | tl.RawMessageMediaContact | tl.RawMessageMediaUnsupported | tl.RawMessageMediaDocument | tl.RawMessageMediaWebPage | tl.RawMessageMediaVenue | tl.RawMessageMediaGame | tl.RawMessageMediaInvoice | tl.RawMessageMediaGeoLive | tl.RawMessageMediaPoll | tl.RawMessageMediaDice | tl.RawMessageMediaStory | tl.RawMessageMediaGiveaway | tl.RawMessageMediaGiveawayResults | tl.RawMessageMediaPaidMedia
|
|
25587
|
+
type TypeMessageMedia = tl.RawMessageMediaEmpty | tl.RawMessageMediaPhoto | tl.RawMessageMediaGeo | tl.RawMessageMediaContact | tl.RawMessageMediaUnsupported | tl.RawMessageMediaDocument | tl.RawMessageMediaWebPage | tl.RawMessageMediaVenue | tl.RawMessageMediaGame | tl.RawMessageMediaInvoice | tl.RawMessageMediaGeoLive | tl.RawMessageMediaPoll | tl.RawMessageMediaDice | tl.RawMessageMediaStory | tl.RawMessageMediaGiveaway | tl.RawMessageMediaGiveawayResults | tl.RawMessageMediaPaidMedia | tl.RawMessageMediaToDo
|
|
25499
25588
|
function isAnyMessageMedia(o: object): o is TypeMessageMedia
|
|
25500
25589
|
/**
|
|
25501
25590
|
* Object describing actions connected to a service message.
|
|
25502
25591
|
*/
|
|
25503
|
-
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 | tl.RawMessageActionPaymentRefunded | tl.RawMessageActionGiftStars | tl.RawMessageActionPrizeStars | tl.RawMessageActionStarGift | tl.RawMessageActionStarGiftUnique | tl.RawMessageActionPaidMessagesRefunded | tl.RawMessageActionPaidMessagesPrice | tl.RawMessageActionConferenceCall
|
|
25592
|
+
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 | tl.RawMessageActionPaymentRefunded | tl.RawMessageActionGiftStars | tl.RawMessageActionPrizeStars | tl.RawMessageActionStarGift | tl.RawMessageActionStarGiftUnique | tl.RawMessageActionPaidMessagesRefunded | tl.RawMessageActionPaidMessagesPrice | tl.RawMessageActionConferenceCall | tl.RawMessageActionTodoCompletions | tl.RawMessageActionTodoAppendTasks | tl.RawMessageActionSuggestedPostApproval | tl.RawMessageActionSuggestedPostSuccess | tl.RawMessageActionSuggestedPostRefund | tl.RawMessageActionGiftTon
|
|
25504
25593
|
function isAnyMessageAction(o: object): o is TypeMessageAction
|
|
25505
25594
|
/**
|
|
25506
25595
|
* Chat info.
|
|
@@ -25583,7 +25672,7 @@ export class RpcError extends Error {
|
|
|
25583
25672
|
/**
|
|
25584
25673
|
* Object contains info on events occurred.
|
|
25585
25674
|
*/
|
|
25586
|
-
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.RawUpdateNewStoryReaction | tl.RawUpdateBroadcastRevenueTransactions | tl.RawUpdateStarsBalance | tl.RawUpdateBusinessBotCallbackQuery | tl.RawUpdateStarsRevenueStatus | tl.RawUpdateBotPurchasedPaidMedia | tl.RawUpdatePaidReactionPrivacy | tl.RawUpdateSentPhoneCode | tl.RawUpdateGroupCallChainBlocks | tl.RawUpdateReadMonoForumInbox | tl.RawUpdateReadMonoForumOutbox | tl.mtcute.RawDummyUpdate
|
|
25675
|
+
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.RawUpdateNewStoryReaction | tl.RawUpdateBroadcastRevenueTransactions | tl.RawUpdateStarsBalance | tl.RawUpdateBusinessBotCallbackQuery | tl.RawUpdateStarsRevenueStatus | tl.RawUpdateBotPurchasedPaidMedia | tl.RawUpdatePaidReactionPrivacy | tl.RawUpdateSentPhoneCode | tl.RawUpdateGroupCallChainBlocks | tl.RawUpdateReadMonoForumInbox | tl.RawUpdateReadMonoForumOutbox | tl.RawUpdateMonoForumNoPaidException | tl.mtcute.RawDummyUpdate
|
|
25587
25676
|
function isAnyUpdate(o: object): o is TypeUpdate
|
|
25588
25677
|
/**
|
|
25589
25678
|
* Object which is perceived by the client without a call on
|
|
@@ -25758,7 +25847,7 @@ export class RpcError extends Error {
|
|
|
25758
25847
|
/**
|
|
25759
25848
|
* Represents a stickerset
|
|
25760
25849
|
*/
|
|
25761
|
-
type TypeInputStickerSet = tl.RawInputStickerSetEmpty | tl.RawInputStickerSetID | tl.RawInputStickerSetShortName | tl.RawInputStickerSetAnimatedEmoji | tl.RawInputStickerSetDice | tl.RawInputStickerSetAnimatedEmojiAnimations | tl.RawInputStickerSetPremiumGifts | tl.RawInputStickerSetEmojiGenericAnimations | tl.RawInputStickerSetEmojiDefaultStatuses | tl.RawInputStickerSetEmojiDefaultTopicIcons | tl.RawInputStickerSetEmojiChannelDefaultStatuses
|
|
25850
|
+
type TypeInputStickerSet = tl.RawInputStickerSetEmpty | tl.RawInputStickerSetID | tl.RawInputStickerSetShortName | tl.RawInputStickerSetAnimatedEmoji | tl.RawInputStickerSetDice | tl.RawInputStickerSetAnimatedEmojiAnimations | tl.RawInputStickerSetPremiumGifts | tl.RawInputStickerSetEmojiGenericAnimations | tl.RawInputStickerSetEmojiDefaultStatuses | tl.RawInputStickerSetEmojiDefaultTopicIcons | tl.RawInputStickerSetEmojiChannelDefaultStatuses | tl.RawInputStickerSetTonGifts
|
|
25762
25851
|
function isAnyInputStickerSet(o: object): o is TypeInputStickerSet
|
|
25763
25852
|
/**
|
|
25764
25853
|
* Represents a stickerset (stickerpack)
|
|
@@ -27360,7 +27449,7 @@ export class RpcError extends Error {
|
|
|
27360
27449
|
* <a href="https://corefork.telegram.org/api/stars">Telegram
|
|
27361
27450
|
* Stars</a>.
|
|
27362
27451
|
*/
|
|
27363
|
-
type TypeStarsAmount = tl.RawStarsAmount
|
|
27452
|
+
type TypeStarsAmount = tl.RawStarsAmount | tl.RawStarsTonAmount
|
|
27364
27453
|
function isAnyStarsAmount(o: object): o is TypeStarsAmount
|
|
27365
27454
|
type TypeBotVerifierSettings = tl.RawBotVerifierSettings
|
|
27366
27455
|
function isAnyBotVerifierSettings(o: object): o is TypeBotVerifierSettings
|
|
@@ -27388,6 +27477,14 @@ export class RpcError extends Error {
|
|
|
27388
27477
|
function isAnyStarGiftAttributeCounter(o: object): o is TypeStarGiftAttributeCounter
|
|
27389
27478
|
type TypePendingSuggestion = tl.RawPendingSuggestion
|
|
27390
27479
|
function isAnyPendingSuggestion(o: object): o is TypePendingSuggestion
|
|
27480
|
+
type TypeTodoItem = tl.RawTodoItem
|
|
27481
|
+
function isAnyTodoItem(o: object): o is TypeTodoItem
|
|
27482
|
+
type TypeTodoList = tl.RawTodoList
|
|
27483
|
+
function isAnyTodoList(o: object): o is TypeTodoList
|
|
27484
|
+
type TypeTodoCompletion = tl.RawTodoCompletion
|
|
27485
|
+
function isAnyTodoCompletion(o: object): o is TypeTodoCompletion
|
|
27486
|
+
type TypeSuggestedPost = tl.RawSuggestedPost
|
|
27487
|
+
function isAnySuggestedPost(o: object): o is TypeSuggestedPost
|
|
27391
27488
|
/**
|
|
27392
27489
|
* Telegram Premium gift option
|
|
27393
27490
|
*/
|
|
@@ -31250,6 +31347,8 @@ export class RpcError extends Error {
|
|
|
31250
31347
|
* message must be shown after all ordinary messages.
|
|
31251
31348
|
*/
|
|
31252
31349
|
postsBetween?: number;
|
|
31350
|
+
startDelay?: number;
|
|
31351
|
+
betweenDelay?: number;
|
|
31253
31352
|
/**
|
|
31254
31353
|
* Sponsored messages
|
|
31255
31354
|
*/
|
|
@@ -32288,6 +32387,7 @@ export class RpcError extends Error {
|
|
|
32288
32387
|
*/
|
|
32289
32388
|
effect?: Long;
|
|
32290
32389
|
allowPaidStars?: Long;
|
|
32390
|
+
suggestedPost?: tl.TypeSuggestedPost;
|
|
32291
32391
|
}
|
|
32292
32392
|
/**
|
|
32293
32393
|
* Send a media
|
|
@@ -32388,6 +32488,7 @@ export class RpcError extends Error {
|
|
|
32388
32488
|
*/
|
|
32389
32489
|
effect?: Long;
|
|
32390
32490
|
allowPaidStars?: Long;
|
|
32491
|
+
suggestedPost?: tl.TypeSuggestedPost;
|
|
32391
32492
|
}
|
|
32392
32493
|
/**
|
|
32393
32494
|
* Forwards messages by their IDs.
|
|
@@ -32473,6 +32574,7 @@ export class RpcError extends Error {
|
|
|
32473
32574
|
quickReplyShortcut?: tl.TypeInputQuickReplyShortcut;
|
|
32474
32575
|
videoTimestamp?: number;
|
|
32475
32576
|
allowPaidStars?: Long;
|
|
32577
|
+
suggestedPost?: tl.TypeSuggestedPost;
|
|
32476
32578
|
}
|
|
32477
32579
|
/**
|
|
32478
32580
|
* Report a new incoming chat for spam, if the
|
|
@@ -33664,6 +33766,7 @@ export class RpcError extends Error {
|
|
|
33664
33766
|
* effect »</a> to use for the message.
|
|
33665
33767
|
*/
|
|
33666
33768
|
effect?: Long;
|
|
33769
|
+
suggestedPost?: tl.TypeSuggestedPost;
|
|
33667
33770
|
}
|
|
33668
33771
|
/**
|
|
33669
33772
|
* Return all message
|
|
@@ -37445,6 +37548,7 @@ export class RpcError extends Error {
|
|
|
37445
37548
|
* The currently open channel/bot.
|
|
37446
37549
|
*/
|
|
37447
37550
|
peer: tl.TypeInputPeer;
|
|
37551
|
+
msgId?: number;
|
|
37448
37552
|
}
|
|
37449
37553
|
/**
|
|
37450
37554
|
* Save a
|
|
@@ -37574,6 +37678,36 @@ export class RpcError extends Error {
|
|
|
37574
37678
|
peer: tl.TypeInputPeer;
|
|
37575
37679
|
maxId: number;
|
|
37576
37680
|
}
|
|
37681
|
+
/**
|
|
37682
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
37683
|
+
*/
|
|
37684
|
+
interface RawToggleTodoCompletedRequest {
|
|
37685
|
+
_: 'messages.toggleTodoCompleted';
|
|
37686
|
+
peer: tl.TypeInputPeer;
|
|
37687
|
+
msgId: number;
|
|
37688
|
+
completed: number[];
|
|
37689
|
+
incompleted: number[];
|
|
37690
|
+
}
|
|
37691
|
+
/**
|
|
37692
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
37693
|
+
*/
|
|
37694
|
+
interface RawAppendTodoListRequest {
|
|
37695
|
+
_: 'messages.appendTodoList';
|
|
37696
|
+
peer: tl.TypeInputPeer;
|
|
37697
|
+
msgId: number;
|
|
37698
|
+
list: tl.TypeTodoItem[];
|
|
37699
|
+
}
|
|
37700
|
+
/**
|
|
37701
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
37702
|
+
*/
|
|
37703
|
+
interface RawToggleSuggestedPostApprovalRequest {
|
|
37704
|
+
_: 'messages.toggleSuggestedPostApproval';
|
|
37705
|
+
reject?: boolean;
|
|
37706
|
+
peer: tl.TypeInputPeer;
|
|
37707
|
+
msgId: number;
|
|
37708
|
+
scheduleDate?: number;
|
|
37709
|
+
rejectComment?: string;
|
|
37710
|
+
}
|
|
37577
37711
|
interface RpcCallReturn {
|
|
37578
37712
|
'messages.getMessages': tl.messages.TypeMessages
|
|
37579
37713
|
'messages.getDialogs': tl.messages.TypeDialogs
|
|
@@ -37802,6 +37936,9 @@ export class RpcError extends Error {
|
|
|
37802
37936
|
'messages.reportMessagesDelivery': boolean
|
|
37803
37937
|
'messages.getSavedDialogsByID': tl.messages.TypeSavedDialogs
|
|
37804
37938
|
'messages.readSavedHistory': boolean
|
|
37939
|
+
'messages.toggleTodoCompleted': tl.TypeUpdates
|
|
37940
|
+
'messages.appendTodoList': tl.TypeUpdates
|
|
37941
|
+
'messages.toggleSuggestedPostApproval': tl.TypeUpdates
|
|
37805
37942
|
}
|
|
37806
37943
|
/**
|
|
37807
37944
|
* Object contains a list of chats with messages and auxiliary
|
|
@@ -41530,20 +41667,31 @@ export class RpcError extends Error {
|
|
|
41530
41667
|
_: 'account.getCollectibleEmojiStatuses';
|
|
41531
41668
|
hash: Long;
|
|
41532
41669
|
}
|
|
41670
|
+
/**
|
|
41671
|
+
* RPC method returns
|
|
41672
|
+
* {@link tl.account.TypePaidMessagesRevenue}
|
|
41673
|
+
*/
|
|
41674
|
+
interface RawGetPaidMessagesRevenueRequest {
|
|
41675
|
+
_: 'account.getPaidMessagesRevenue';
|
|
41676
|
+
parentPeer?: tl.TypeInputPeer;
|
|
41677
|
+
userId: tl.TypeInputUser;
|
|
41678
|
+
}
|
|
41533
41679
|
/**
|
|
41534
41680
|
* RPC method returns boolean
|
|
41535
41681
|
*/
|
|
41536
|
-
interface
|
|
41537
|
-
_: 'account.
|
|
41682
|
+
interface RawToggleNoPaidMessagesExceptionRequest {
|
|
41683
|
+
_: 'account.toggleNoPaidMessagesException';
|
|
41538
41684
|
refundCharged?: boolean;
|
|
41685
|
+
requirePayment?: boolean;
|
|
41686
|
+
parentPeer?: tl.TypeInputPeer;
|
|
41539
41687
|
userId: tl.TypeInputUser;
|
|
41540
41688
|
}
|
|
41541
41689
|
/**
|
|
41542
|
-
* RPC method returns
|
|
41543
|
-
* {@link tl.account.TypePaidMessagesRevenue}
|
|
41690
|
+
* RPC method returns boolean
|
|
41544
41691
|
*/
|
|
41545
|
-
interface
|
|
41546
|
-
_: 'account.
|
|
41692
|
+
interface RawAddNoPaidMessagesExceptionRequest {
|
|
41693
|
+
_: 'account.addNoPaidMessagesException';
|
|
41694
|
+
refundCharged?: boolean;
|
|
41547
41695
|
userId: tl.TypeInputUser;
|
|
41548
41696
|
}
|
|
41549
41697
|
interface RpcCallReturn {
|
|
@@ -41660,8 +41808,9 @@ export class RpcError extends Error {
|
|
|
41660
41808
|
'account.getReactionsNotifySettings': tl.TypeReactionsNotifySettings
|
|
41661
41809
|
'account.setReactionsNotifySettings': tl.TypeReactionsNotifySettings
|
|
41662
41810
|
'account.getCollectibleEmojiStatuses': tl.account.TypeEmojiStatuses
|
|
41663
|
-
'account.addNoPaidMessagesException': boolean
|
|
41664
41811
|
'account.getPaidMessagesRevenue': tl.account.TypePaidMessagesRevenue
|
|
41812
|
+
'account.toggleNoPaidMessagesException': boolean
|
|
41813
|
+
'account.addNoPaidMessagesException': boolean
|
|
41665
41814
|
}
|
|
41666
41815
|
/**
|
|
41667
41816
|
* Privacy rules
|
|
@@ -43967,6 +44116,7 @@ export class RpcError extends Error {
|
|
|
43967
44116
|
*/
|
|
43968
44117
|
interface RawStarsRevenueStats {
|
|
43969
44118
|
_: 'payments.starsRevenueStats';
|
|
44119
|
+
topHoursGraph?: tl.TypeStatsGraph;
|
|
43970
44120
|
/**
|
|
43971
44121
|
* Star revenue graph (number of earned stars)
|
|
43972
44122
|
*/
|
|
@@ -44420,6 +44570,7 @@ export class RpcError extends Error {
|
|
|
44420
44570
|
*/
|
|
44421
44571
|
interface RawGetStarsStatusRequest {
|
|
44422
44572
|
_: 'payments.getStarsStatus';
|
|
44573
|
+
ton?: boolean;
|
|
44423
44574
|
/**
|
|
44424
44575
|
* Peer of which to get the balance.
|
|
44425
44576
|
*/
|
|
@@ -44457,6 +44608,7 @@ export class RpcError extends Error {
|
|
|
44457
44608
|
* Star subscription »</a>.
|
|
44458
44609
|
*/
|
|
44459
44610
|
subscriptionId?: string;
|
|
44611
|
+
ton?: boolean;
|
|
44460
44612
|
/**
|
|
44461
44613
|
* Fetch the transaction history of the peer
|
|
44462
44614
|
* ({@link RawInputPeerSelf} or a bot we own).
|
|
@@ -44526,6 +44678,7 @@ export class RpcError extends Error {
|
|
|
44526
44678
|
* Whether to enable dark theme for graph colors
|
|
44527
44679
|
*/
|
|
44528
44680
|
dark?: boolean;
|
|
44681
|
+
ton?: boolean;
|
|
44529
44682
|
/**
|
|
44530
44683
|
* Get statistics for the specified bot, channel or ourselves
|
|
44531
44684
|
* ({@link RawInputPeerSelf}).
|
|
@@ -44542,14 +44695,12 @@ export class RpcError extends Error {
|
|
|
44542
44695
|
*/
|
|
44543
44696
|
interface RawGetStarsRevenueWithdrawalUrlRequest {
|
|
44544
44697
|
_: 'payments.getStarsRevenueWithdrawalUrl';
|
|
44698
|
+
ton?: boolean;
|
|
44545
44699
|
/**
|
|
44546
44700
|
* Channel or bot from which to withdraw funds.
|
|
44547
44701
|
*/
|
|
44548
44702
|
peer: tl.TypeInputPeer;
|
|
44549
|
-
|
|
44550
|
-
* Amount of stars to withdraw.
|
|
44551
|
-
*/
|
|
44552
|
-
stars: Long;
|
|
44703
|
+
amount?: Long;
|
|
44553
44704
|
/**
|
|
44554
44705
|
* 2FA password, see
|
|
44555
44706
|
* <a href="https://corefork.telegram.org/api/srp#using-the-2fa-password">here
|
|
@@ -44584,6 +44735,7 @@ export class RpcError extends Error {
|
|
|
44584
44735
|
*/
|
|
44585
44736
|
interface RawGetStarsTransactionsByIDRequest {
|
|
44586
44737
|
_: 'payments.getStarsTransactionsByID';
|
|
44738
|
+
ton?: boolean;
|
|
44587
44739
|
/**
|
|
44588
44740
|
* Channel or bot.
|
|
44589
44741
|
*/
|
|
@@ -49766,7 +49918,7 @@ export class RpcError extends Error {
|
|
|
49766
49918
|
/**
|
|
49767
49919
|
* Object contains info on events occurred.
|
|
49768
49920
|
*/
|
|
49769
|
-
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.RawUpdateNewStoryReaction | tl.RawUpdateBroadcastRevenueTransactions | tl.RawUpdateStarsBalance | tl.RawUpdateBusinessBotCallbackQuery | tl.RawUpdateStarsRevenueStatus | tl.RawUpdateBotPurchasedPaidMedia | tl.RawUpdatePaidReactionPrivacy | tl.RawUpdateSentPhoneCode | tl.RawUpdateGroupCallChainBlocks | tl.RawUpdateReadMonoForumInbox | tl.RawUpdateReadMonoForumOutbox | tl.mtcute.RawDummyUpdate
|
|
49921
|
+
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.RawUpdateNewStoryReaction | tl.RawUpdateBroadcastRevenueTransactions | tl.RawUpdateStarsBalance | tl.RawUpdateBusinessBotCallbackQuery | tl.RawUpdateStarsRevenueStatus | tl.RawUpdateBotPurchasedPaidMedia | tl.RawUpdatePaidReactionPrivacy | tl.RawUpdateSentPhoneCode | tl.RawUpdateGroupCallChainBlocks | tl.RawUpdateReadMonoForumInbox | tl.RawUpdateReadMonoForumOutbox | tl.RawUpdateMonoForumNoPaidException | tl.mtcute.RawDummyUpdate
|
|
49770
49922
|
function isAnyUpdate(o: object): o is TypeUpdate
|
|
49771
49923
|
/**
|
|
49772
49924
|
* Peer
|
|
@@ -50078,8 +50230,8 @@ export class RpcError extends Error {
|
|
|
50078
50230
|
| tl.account.RawGetReactionsNotifySettingsRequest
|
|
50079
50231
|
| tl.account.RawSetReactionsNotifySettingsRequest
|
|
50080
50232
|
| tl.account.RawGetCollectibleEmojiStatusesRequest
|
|
50081
|
-
| tl.account.RawAddNoPaidMessagesExceptionRequest
|
|
50082
50233
|
| tl.account.RawGetPaidMessagesRevenueRequest
|
|
50234
|
+
| tl.account.RawToggleNoPaidMessagesExceptionRequest
|
|
50083
50235
|
| tl.users.RawGetUsersRequest
|
|
50084
50236
|
| tl.users.RawGetFullUserRequest
|
|
50085
50237
|
| tl.users.RawSetSecureValueErrorsRequest
|
|
@@ -50336,6 +50488,10 @@ export class RpcError extends Error {
|
|
|
50336
50488
|
| tl.messages.RawGetPreparedInlineMessageRequest
|
|
50337
50489
|
| tl.messages.RawSearchStickersRequest
|
|
50338
50490
|
| tl.messages.RawReportMessagesDeliveryRequest
|
|
50491
|
+
| tl.messages.RawGetSavedDialogsByIDRequest
|
|
50492
|
+
| tl.messages.RawReadSavedHistoryRequest
|
|
50493
|
+
| tl.messages.RawToggleTodoCompletedRequest
|
|
50494
|
+
| tl.messages.RawAppendTodoListRequest
|
|
50339
50495
|
| tl.updates.RawGetStateRequest
|
|
50340
50496
|
| tl.updates.RawGetDifferenceRequest
|
|
50341
50497
|
| tl.updates.RawGetChannelDifferenceRequest
|
|
@@ -50440,6 +50596,7 @@ export class RpcError extends Error {
|
|
|
50440
50596
|
| tl.channels.RawSearchPostsRequest
|
|
50441
50597
|
| tl.channels.RawUpdatePaidMessagesPriceRequest
|
|
50442
50598
|
| tl.channels.RawToggleAutotranslationRequest
|
|
50599
|
+
| tl.channels.RawGetMessageAuthorRequest
|
|
50443
50600
|
| tl.bots.RawSendCustomRequestRequest
|
|
50444
50601
|
| tl.bots.RawAnswerWebhookJSONQueryRequest
|
|
50445
50602
|
| tl.bots.RawSetBotCommandsRequest
|
|
@@ -50634,12 +50791,11 @@ export class RpcError extends Error {
|
|
|
50634
50791
|
| tl.smsjobs.RawGetSmsJobRequest
|
|
50635
50792
|
| tl.smsjobs.RawFinishJobRequest
|
|
50636
50793
|
| tl.fragment.RawGetCollectibleInfoRequest
|
|
50637
|
-
| tl.messages.
|
|
50638
|
-
| tl.messages.RawReadSavedHistoryRequest
|
|
50639
|
-
| tl.channels.RawGetMessageAuthorRequest
|
|
50794
|
+
| tl.messages.RawToggleSuggestedPostApprovalRequest
|
|
50640
50795
|
| tl.users.RawGetIsPremiumRequiredToContactRequest
|
|
50641
50796
|
| tl.payments.RawCanPurchasePremiumRequest
|
|
50642
50797
|
| tl.payments.RawGetUserStarGiftsRequest
|
|
50798
|
+
| tl.account.RawAddNoPaidMessagesExceptionRequest
|
|
50643
50799
|
| tl.mtcute.RawCustomMethodRequest
|
|
50644
50800
|
|
|
50645
50801
|
type TlObject =
|
|
@@ -50683,6 +50839,7 @@ export class RpcError extends Error {
|
|
|
50683
50839
|
| tl.RawInputMediaStory
|
|
50684
50840
|
| tl.RawInputMediaWebPage
|
|
50685
50841
|
| tl.RawInputMediaPaidMedia
|
|
50842
|
+
| tl.RawInputMediaTodo
|
|
50686
50843
|
| tl.RawInputChatPhotoEmpty
|
|
50687
50844
|
| tl.RawInputChatUploadedPhoto
|
|
50688
50845
|
| tl.RawInputChatPhoto
|
|
@@ -50757,6 +50914,7 @@ export class RpcError extends Error {
|
|
|
50757
50914
|
| tl.RawMessageMediaGiveaway
|
|
50758
50915
|
| tl.RawMessageMediaGiveawayResults
|
|
50759
50916
|
| tl.RawMessageMediaPaidMedia
|
|
50917
|
+
| tl.RawMessageMediaToDo
|
|
50760
50918
|
| tl.RawMessageActionEmpty
|
|
50761
50919
|
| tl.RawMessageActionChatCreate
|
|
50762
50920
|
| tl.RawMessageActionChatEditTitle
|
|
@@ -50808,6 +50966,8 @@ export class RpcError extends Error {
|
|
|
50808
50966
|
| tl.RawMessageActionPaidMessagesRefunded
|
|
50809
50967
|
| tl.RawMessageActionPaidMessagesPrice
|
|
50810
50968
|
| tl.RawMessageActionConferenceCall
|
|
50969
|
+
| tl.RawMessageActionTodoCompletions
|
|
50970
|
+
| tl.RawMessageActionTodoAppendTasks
|
|
50811
50971
|
| tl.RawDialog
|
|
50812
50972
|
| tl.RawDialogFolder
|
|
50813
50973
|
| tl.RawPhotoEmpty
|
|
@@ -51026,6 +51186,9 @@ export class RpcError extends Error {
|
|
|
51026
51186
|
| tl.RawUpdatePaidReactionPrivacy
|
|
51027
51187
|
| tl.RawUpdateSentPhoneCode
|
|
51028
51188
|
| tl.RawUpdateGroupCallChainBlocks
|
|
51189
|
+
| tl.RawUpdateReadMonoForumInbox
|
|
51190
|
+
| tl.RawUpdateReadMonoForumOutbox
|
|
51191
|
+
| tl.RawUpdateMonoForumNoPaidException
|
|
51029
51192
|
| tl.updates.RawState
|
|
51030
51193
|
| tl.updates.RawDifferenceEmpty
|
|
51031
51194
|
| tl.updates.RawDifference
|
|
@@ -51882,6 +52045,7 @@ export class RpcError extends Error {
|
|
|
51882
52045
|
| tl.stories.RawStoryViews
|
|
51883
52046
|
| tl.RawInputReplyToMessage
|
|
51884
52047
|
| tl.RawInputReplyToStory
|
|
52048
|
+
| tl.RawInputReplyToMonoForum
|
|
51885
52049
|
| tl.RawExportedStoryLink
|
|
51886
52050
|
| tl.RawStoriesStealthMode
|
|
51887
52051
|
| tl.RawMediaAreaCoordinates
|
|
@@ -51926,6 +52090,7 @@ export class RpcError extends Error {
|
|
|
51926
52090
|
| tl.RawStoryReactionPublicRepost
|
|
51927
52091
|
| tl.stories.RawStoryReactionsList
|
|
51928
52092
|
| tl.RawSavedDialog
|
|
52093
|
+
| tl.RawMonoForumDialog
|
|
51929
52094
|
| tl.messages.RawSavedDialogs
|
|
51930
52095
|
| tl.messages.RawSavedDialogsSlice
|
|
51931
52096
|
| tl.messages.RawSavedDialogsNotModified
|
|
@@ -52080,10 +52245,16 @@ export class RpcError extends Error {
|
|
|
52080
52245
|
| tl.payments.RawResaleStarGifts
|
|
52081
52246
|
| tl.stories.RawCanSendStoryCount
|
|
52082
52247
|
| tl.RawPendingSuggestion
|
|
52083
|
-
| tl.
|
|
52084
|
-
| tl.
|
|
52085
|
-
| tl.
|
|
52086
|
-
| tl.
|
|
52248
|
+
| tl.RawTodoItem
|
|
52249
|
+
| tl.RawTodoList
|
|
52250
|
+
| tl.RawTodoCompletion
|
|
52251
|
+
| tl.RawMessageActionSuggestedPostApproval
|
|
52252
|
+
| tl.RawMessageActionSuggestedPostSuccess
|
|
52253
|
+
| tl.RawMessageActionSuggestedPostRefund
|
|
52254
|
+
| tl.RawMessageActionGiftTon
|
|
52255
|
+
| tl.RawInputStickerSetTonGifts
|
|
52256
|
+
| tl.RawStarsTonAmount
|
|
52257
|
+
| tl.RawSuggestedPost
|
|
52087
52258
|
| tl.RawPremiumGiftOption
|
|
52088
52259
|
| tl.RawEmojiStatusUntil
|
|
52089
52260
|
| tl.RawUserStarGift
|
|
@@ -52244,8 +52415,8 @@ export class RpcError extends Error {
|
|
|
52244
52415
|
| tl.account.RawGetReactionsNotifySettingsRequest
|
|
52245
52416
|
| tl.account.RawSetReactionsNotifySettingsRequest
|
|
52246
52417
|
| tl.account.RawGetCollectibleEmojiStatusesRequest
|
|
52247
|
-
| tl.account.RawAddNoPaidMessagesExceptionRequest
|
|
52248
52418
|
| tl.account.RawGetPaidMessagesRevenueRequest
|
|
52419
|
+
| tl.account.RawToggleNoPaidMessagesExceptionRequest
|
|
52249
52420
|
| tl.users.RawGetUsersRequest
|
|
52250
52421
|
| tl.users.RawGetFullUserRequest
|
|
52251
52422
|
| tl.users.RawSetSecureValueErrorsRequest
|
|
@@ -52502,6 +52673,10 @@ export class RpcError extends Error {
|
|
|
52502
52673
|
| tl.messages.RawGetPreparedInlineMessageRequest
|
|
52503
52674
|
| tl.messages.RawSearchStickersRequest
|
|
52504
52675
|
| tl.messages.RawReportMessagesDeliveryRequest
|
|
52676
|
+
| tl.messages.RawGetSavedDialogsByIDRequest
|
|
52677
|
+
| tl.messages.RawReadSavedHistoryRequest
|
|
52678
|
+
| tl.messages.RawToggleTodoCompletedRequest
|
|
52679
|
+
| tl.messages.RawAppendTodoListRequest
|
|
52505
52680
|
| tl.updates.RawGetStateRequest
|
|
52506
52681
|
| tl.updates.RawGetDifferenceRequest
|
|
52507
52682
|
| tl.updates.RawGetChannelDifferenceRequest
|
|
@@ -52606,6 +52781,7 @@ export class RpcError extends Error {
|
|
|
52606
52781
|
| tl.channels.RawSearchPostsRequest
|
|
52607
52782
|
| tl.channels.RawUpdatePaidMessagesPriceRequest
|
|
52608
52783
|
| tl.channels.RawToggleAutotranslationRequest
|
|
52784
|
+
| tl.channels.RawGetMessageAuthorRequest
|
|
52609
52785
|
| tl.bots.RawSendCustomRequestRequest
|
|
52610
52786
|
| tl.bots.RawAnswerWebhookJSONQueryRequest
|
|
52611
52787
|
| tl.bots.RawSetBotCommandsRequest
|
|
@@ -52800,12 +52976,11 @@ export class RpcError extends Error {
|
|
|
52800
52976
|
| tl.smsjobs.RawGetSmsJobRequest
|
|
52801
52977
|
| tl.smsjobs.RawFinishJobRequest
|
|
52802
52978
|
| tl.fragment.RawGetCollectibleInfoRequest
|
|
52803
|
-
| tl.messages.
|
|
52804
|
-
| tl.messages.RawReadSavedHistoryRequest
|
|
52805
|
-
| tl.channels.RawGetMessageAuthorRequest
|
|
52979
|
+
| tl.messages.RawToggleSuggestedPostApprovalRequest
|
|
52806
52980
|
| tl.users.RawGetIsPremiumRequiredToContactRequest
|
|
52807
52981
|
| tl.payments.RawCanPurchasePremiumRequest
|
|
52808
52982
|
| tl.payments.RawGetUserStarGiftsRequest
|
|
52983
|
+
| tl.account.RawAddNoPaidMessagesExceptionRequest
|
|
52809
52984
|
| tl.mtcute.RawCustomMethodRequest
|
|
52810
52985
|
}
|
|
52811
52986
|
|