@mtkruto/node 0.1.106 → 0.1.108
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/esm/4_constants.d.ts +2 -2
- package/esm/4_constants.js +3 -3
- package/esm/5_client.d.ts +1 -0
- package/esm/5_client.js +1 -0
- package/esm/client/3_types.d.ts +18 -13
- package/esm/client/4_client.d.ts +48 -21
- package/esm/client/4_client.js +56 -37
- package/esm/tl/2_types.d.ts +634 -75
- package/esm/tl/2_types.js +2387 -289
- package/esm/tl/3_functions.d.ts +260 -57
- package/esm/tl/3_functions.js +869 -203
- package/esm/types/0_audio.d.ts +9 -9
- package/esm/types/0_bot_command.d.ts +2 -0
- package/esm/types/0_chat_action.d.ts +1 -0
- package/esm/types/0_chat_administrator_rights.d.ts +13 -13
- package/esm/types/0_chat_photo.d.ts +7 -6
- package/esm/types/0_chat_photo.js +1 -1
- package/esm/types/0_contact.d.ts +6 -6
- package/esm/types/0_dice.d.ts +3 -3
- package/esm/types/0_force_reply.d.ts +4 -4
- package/esm/types/0_input_contact_message_content.d.ts +5 -0
- package/esm/types/0_input_location_message_content.d.ts +7 -0
- package/esm/types/0_input_venue_message_content.d.ts +10 -1
- package/esm/types/0_keyboard_button_poll_type.d.ts +3 -3
- package/esm/types/0_location.d.ts +7 -7
- package/esm/types/0_login_url.d.ts +4 -5
- package/esm/types/0_mask_position.d.ts +0 -1
- package/esm/types/0_message_entity.d.ts +6 -6
- package/esm/types/0_parse_mode.d.ts +1 -0
- package/esm/types/0_poll_option.d.ts +2 -2
- package/esm/types/0_reply_keyboard_remove.d.ts +3 -3
- package/esm/types/0_thumbnail.d.ts +6 -6
- package/esm/types/0_venue.d.ts +6 -6
- package/esm/types/0_voice.d.ts +6 -6
- package/esm/types/0_web_app_info.d.ts +1 -2
- package/esm/types/1_animation.d.ts +9 -9
- package/esm/types/1_chat.d.ts +29 -28
- package/esm/types/1_document.d.ts +6 -7
- package/esm/types/1_keyboard_button.d.ts +1 -1
- package/esm/types/1_photo.d.ts +3 -3
- package/esm/types/1_sticker.d.ts +2 -2
- package/esm/types/1_user.d.ts +2 -1
- package/esm/types/1_video.d.ts +4 -4
- package/esm/types/1_video_note.d.ts +3 -3
- package/esm/types/3_message.js +1 -1
- package/package.json +1 -1
- package/script/4_constants.d.ts +2 -2
- package/script/4_constants.js +3 -3
- package/script/5_client.d.ts +1 -0
- package/script/5_client.js +1 -0
- package/script/client/3_types.d.ts +18 -13
- package/script/client/4_client.d.ts +48 -21
- package/script/client/4_client.js +56 -37
- package/script/tl/2_types.d.ts +634 -75
- package/script/tl/2_types.js +2454 -321
- package/script/tl/3_functions.d.ts +260 -57
- package/script/tl/3_functions.js +895 -211
- package/script/types/0_audio.d.ts +9 -9
- package/script/types/0_bot_command.d.ts +2 -0
- package/script/types/0_chat_action.d.ts +1 -0
- package/script/types/0_chat_administrator_rights.d.ts +13 -13
- package/script/types/0_chat_photo.d.ts +7 -6
- package/script/types/0_chat_photo.js +1 -1
- package/script/types/0_contact.d.ts +6 -6
- package/script/types/0_dice.d.ts +3 -3
- package/script/types/0_force_reply.d.ts +4 -4
- package/script/types/0_input_contact_message_content.d.ts +5 -0
- package/script/types/0_input_location_message_content.d.ts +7 -0
- package/script/types/0_input_venue_message_content.d.ts +10 -1
- package/script/types/0_keyboard_button_poll_type.d.ts +3 -3
- package/script/types/0_location.d.ts +7 -7
- package/script/types/0_login_url.d.ts +4 -5
- package/script/types/0_mask_position.d.ts +0 -1
- package/script/types/0_message_entity.d.ts +6 -6
- package/script/types/0_parse_mode.d.ts +1 -0
- package/script/types/0_poll_option.d.ts +2 -2
- package/script/types/0_reply_keyboard_remove.d.ts +3 -3
- package/script/types/0_thumbnail.d.ts +6 -6
- package/script/types/0_venue.d.ts +6 -6
- package/script/types/0_voice.d.ts +6 -6
- package/script/types/0_web_app_info.d.ts +1 -2
- package/script/types/1_animation.d.ts +9 -9
- package/script/types/1_chat.d.ts +29 -28
- package/script/types/1_document.d.ts +6 -7
- package/script/types/1_keyboard_button.d.ts +1 -1
- package/script/types/1_photo.d.ts +3 -3
- package/script/types/1_sticker.d.ts +2 -2
- package/script/types/1_user.d.ts +2 -1
- package/script/types/1_video.d.ts +4 -4
- package/script/types/1_video_note.d.ts +3 -3
- package/script/types/3_message.js +1 -1
package/esm/tl/2_types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { id,
|
|
1
|
+
import { id, params, TLObject, Params, TLObjectConstructor, ParamDesc, paramDesc } from "./1_tl_object.js";
|
|
2
2
|
export declare abstract class Type extends TLObject {
|
|
3
3
|
}
|
|
4
4
|
export declare abstract class TypeX extends Type {
|
|
@@ -855,14 +855,10 @@ export declare abstract class _TypeStoryViews extends Type {
|
|
|
855
855
|
}
|
|
856
856
|
export declare abstract class _TypeStoryItem extends Type {
|
|
857
857
|
}
|
|
858
|
-
export declare abstract class _TypeUserStories extends Type {
|
|
859
|
-
}
|
|
860
858
|
export declare abstract class _TypeStoriesAllStories extends Type {
|
|
861
859
|
}
|
|
862
860
|
export declare abstract class _TypeStoriesStories extends Type {
|
|
863
861
|
}
|
|
864
|
-
export declare abstract class _TypeStoriesUserStories extends Type {
|
|
865
|
-
}
|
|
866
862
|
export declare abstract class _TypeStoryView extends Type {
|
|
867
863
|
}
|
|
868
864
|
export declare abstract class _TypeStoriesStoryViewsList extends Type {
|
|
@@ -879,6 +875,30 @@ export declare abstract class _TypeMediaAreaCoordinates extends Type {
|
|
|
879
875
|
}
|
|
880
876
|
export declare abstract class _TypeMediaArea extends Type {
|
|
881
877
|
}
|
|
878
|
+
export declare abstract class _TypePeerStories extends Type {
|
|
879
|
+
}
|
|
880
|
+
export declare abstract class _TypeStoriesPeerStories extends Type {
|
|
881
|
+
}
|
|
882
|
+
export declare abstract class _TypeMessagesWebPage extends Type {
|
|
883
|
+
}
|
|
884
|
+
export declare abstract class _TypePremiumGiftCodeOption extends Type {
|
|
885
|
+
}
|
|
886
|
+
export declare abstract class _TypePaymentsCheckedGiftCode extends Type {
|
|
887
|
+
}
|
|
888
|
+
export declare abstract class _TypePaymentsGiveawayInfo extends Type {
|
|
889
|
+
}
|
|
890
|
+
export declare abstract class _TypePrepaidGiveaway extends Type {
|
|
891
|
+
}
|
|
892
|
+
export declare abstract class _TypeBoost extends Type {
|
|
893
|
+
}
|
|
894
|
+
export declare abstract class _TypePremiumBoostsList extends Type {
|
|
895
|
+
}
|
|
896
|
+
export declare abstract class _TypeMyBoost extends Type {
|
|
897
|
+
}
|
|
898
|
+
export declare abstract class _TypePremiumMyBoosts extends Type {
|
|
899
|
+
}
|
|
900
|
+
export declare abstract class _TypePremiumBoostsStatus extends Type {
|
|
901
|
+
}
|
|
882
902
|
export declare class ResPQ extends _TypeResPQ {
|
|
883
903
|
nonce: bigint;
|
|
884
904
|
serverNonce: bigint;
|
|
@@ -1680,16 +1700,31 @@ export declare class InputMediaDice extends _TypeInputMedia {
|
|
|
1680
1700
|
});
|
|
1681
1701
|
}
|
|
1682
1702
|
export declare class InputMediaStory extends _TypeInputMedia {
|
|
1683
|
-
|
|
1703
|
+
peer: TypeInputPeer;
|
|
1684
1704
|
id: number;
|
|
1685
1705
|
protected get [id](): number;
|
|
1686
1706
|
static get [paramDesc](): ParamDesc;
|
|
1687
1707
|
protected get [params](): Params;
|
|
1688
1708
|
constructor(params: {
|
|
1689
|
-
|
|
1709
|
+
peer: TypeInputPeer;
|
|
1690
1710
|
id: number;
|
|
1691
1711
|
});
|
|
1692
1712
|
}
|
|
1713
|
+
export declare class InputMediaWebPage extends _TypeInputMedia {
|
|
1714
|
+
forceLargeMedia?: true;
|
|
1715
|
+
forceSmallMedia?: true;
|
|
1716
|
+
optional?: true;
|
|
1717
|
+
url: string;
|
|
1718
|
+
protected get [id](): number;
|
|
1719
|
+
static get [paramDesc](): ParamDesc;
|
|
1720
|
+
protected get [params](): Params;
|
|
1721
|
+
constructor(params: {
|
|
1722
|
+
forceLargeMedia?: true;
|
|
1723
|
+
forceSmallMedia?: true;
|
|
1724
|
+
optional?: true;
|
|
1725
|
+
url: string;
|
|
1726
|
+
});
|
|
1727
|
+
}
|
|
1693
1728
|
export declare class InputChatPhotoEmpty extends _TypeInputChatPhoto {
|
|
1694
1729
|
protected get [id](): number;
|
|
1695
1730
|
static get [paramDesc](): ParamDesc;
|
|
@@ -2025,6 +2060,8 @@ export declare class User extends _TypeUser {
|
|
|
2025
2060
|
emojiStatus?: TypeEmojiStatus;
|
|
2026
2061
|
usernames?: Array<TypeUsername>;
|
|
2027
2062
|
storiesMaxId?: number;
|
|
2063
|
+
color?: number;
|
|
2064
|
+
backgroundEmojiId?: bigint;
|
|
2028
2065
|
protected get [id](): number;
|
|
2029
2066
|
static get [paramDesc](): ParamDesc;
|
|
2030
2067
|
protected get [params](): Params;
|
|
@@ -2066,6 +2103,8 @@ export declare class User extends _TypeUser {
|
|
|
2066
2103
|
emojiStatus?: TypeEmojiStatus;
|
|
2067
2104
|
usernames?: Array<TypeUsername>;
|
|
2068
2105
|
storiesMaxId?: number;
|
|
2106
|
+
color?: number;
|
|
2107
|
+
backgroundEmojiId?: bigint;
|
|
2069
2108
|
});
|
|
2070
2109
|
}
|
|
2071
2110
|
export declare class UserProfilePhotoEmpty extends _TypeUserProfilePhoto {
|
|
@@ -2211,6 +2250,9 @@ export declare class Channel extends _TypeChat {
|
|
|
2211
2250
|
joinToSend?: true;
|
|
2212
2251
|
joinRequest?: true;
|
|
2213
2252
|
forum?: true;
|
|
2253
|
+
storiesHidden?: true;
|
|
2254
|
+
storiesHiddenMin?: true;
|
|
2255
|
+
storiesUnavailable?: true;
|
|
2214
2256
|
id: bigint;
|
|
2215
2257
|
accessHash?: bigint;
|
|
2216
2258
|
title: string;
|
|
@@ -2223,6 +2265,9 @@ export declare class Channel extends _TypeChat {
|
|
|
2223
2265
|
defaultBannedRights?: TypeChatBannedRights;
|
|
2224
2266
|
participantsCount?: number;
|
|
2225
2267
|
usernames?: Array<TypeUsername>;
|
|
2268
|
+
storiesMaxId?: number;
|
|
2269
|
+
color?: number;
|
|
2270
|
+
backgroundEmojiId?: bigint;
|
|
2226
2271
|
protected get [id](): number;
|
|
2227
2272
|
static get [paramDesc](): ParamDesc;
|
|
2228
2273
|
protected get [params](): Params;
|
|
@@ -2247,6 +2292,9 @@ export declare class Channel extends _TypeChat {
|
|
|
2247
2292
|
joinToSend?: true;
|
|
2248
2293
|
joinRequest?: true;
|
|
2249
2294
|
forum?: true;
|
|
2295
|
+
storiesHidden?: true;
|
|
2296
|
+
storiesHiddenMin?: true;
|
|
2297
|
+
storiesUnavailable?: true;
|
|
2250
2298
|
id: bigint;
|
|
2251
2299
|
accessHash?: bigint;
|
|
2252
2300
|
title: string;
|
|
@@ -2259,6 +2307,9 @@ export declare class Channel extends _TypeChat {
|
|
|
2259
2307
|
defaultBannedRights?: TypeChatBannedRights;
|
|
2260
2308
|
participantsCount?: number;
|
|
2261
2309
|
usernames?: Array<TypeUsername>;
|
|
2310
|
+
storiesMaxId?: number;
|
|
2311
|
+
color?: number;
|
|
2312
|
+
backgroundEmojiId?: bigint;
|
|
2262
2313
|
});
|
|
2263
2314
|
}
|
|
2264
2315
|
export declare class ChannelForbidden extends _TypeChat {
|
|
@@ -2338,6 +2389,7 @@ export declare class ChannelFull extends _TypeChatFull {
|
|
|
2338
2389
|
antispam?: true;
|
|
2339
2390
|
participantsHidden?: true;
|
|
2340
2391
|
translationsDisabled?: true;
|
|
2392
|
+
storiesPinnedAvailable?: true;
|
|
2341
2393
|
id: bigint;
|
|
2342
2394
|
about: string;
|
|
2343
2395
|
participantsCount?: number;
|
|
@@ -2373,6 +2425,7 @@ export declare class ChannelFull extends _TypeChatFull {
|
|
|
2373
2425
|
recentRequesters?: Array<bigint>;
|
|
2374
2426
|
defaultSendAs?: TypePeer;
|
|
2375
2427
|
availableReactions?: TypeChatReactions;
|
|
2428
|
+
stories?: TypePeerStories;
|
|
2376
2429
|
protected get [id](): number;
|
|
2377
2430
|
static get [paramDesc](): ParamDesc;
|
|
2378
2431
|
protected get [params](): Params;
|
|
@@ -2389,6 +2442,7 @@ export declare class ChannelFull extends _TypeChatFull {
|
|
|
2389
2442
|
antispam?: true;
|
|
2390
2443
|
participantsHidden?: true;
|
|
2391
2444
|
translationsDisabled?: true;
|
|
2445
|
+
storiesPinnedAvailable?: true;
|
|
2392
2446
|
id: bigint;
|
|
2393
2447
|
about: string;
|
|
2394
2448
|
participantsCount?: number;
|
|
@@ -2424,6 +2478,7 @@ export declare class ChannelFull extends _TypeChatFull {
|
|
|
2424
2478
|
recentRequesters?: Array<bigint>;
|
|
2425
2479
|
defaultSendAs?: TypePeer;
|
|
2426
2480
|
availableReactions?: TypeChatReactions;
|
|
2481
|
+
stories?: TypePeerStories;
|
|
2427
2482
|
});
|
|
2428
2483
|
}
|
|
2429
2484
|
export declare class ChatParticipant extends _TypeChatParticipant {
|
|
@@ -2528,6 +2583,7 @@ export declare class Message extends _TypeMessage {
|
|
|
2528
2583
|
editHide?: true;
|
|
2529
2584
|
pinned?: true;
|
|
2530
2585
|
noforwards?: true;
|
|
2586
|
+
invertMedia?: true;
|
|
2531
2587
|
id: number;
|
|
2532
2588
|
fromId?: TypePeer;
|
|
2533
2589
|
peerId: TypePeer;
|
|
@@ -2562,6 +2618,7 @@ export declare class Message extends _TypeMessage {
|
|
|
2562
2618
|
editHide?: true;
|
|
2563
2619
|
pinned?: true;
|
|
2564
2620
|
noforwards?: true;
|
|
2621
|
+
invertMedia?: true;
|
|
2565
2622
|
id: number;
|
|
2566
2623
|
fromId?: TypePeer;
|
|
2567
2624
|
peerId: TypePeer;
|
|
@@ -2686,11 +2743,19 @@ export declare class MessageMediaDocument extends _TypeMessageMedia {
|
|
|
2686
2743
|
});
|
|
2687
2744
|
}
|
|
2688
2745
|
export declare class MessageMediaWebPage extends _TypeMessageMedia {
|
|
2746
|
+
forceLargeMedia?: true;
|
|
2747
|
+
forceSmallMedia?: true;
|
|
2748
|
+
manual?: true;
|
|
2749
|
+
safe?: true;
|
|
2689
2750
|
webpage: TypeWebPage;
|
|
2690
2751
|
protected get [id](): number;
|
|
2691
2752
|
static get [paramDesc](): ParamDesc;
|
|
2692
2753
|
protected get [params](): Params;
|
|
2693
2754
|
constructor(params: {
|
|
2755
|
+
forceLargeMedia?: true;
|
|
2756
|
+
forceSmallMedia?: true;
|
|
2757
|
+
manual?: true;
|
|
2758
|
+
safe?: true;
|
|
2694
2759
|
webpage: TypeWebPage;
|
|
2695
2760
|
});
|
|
2696
2761
|
}
|
|
@@ -2788,7 +2853,7 @@ export declare class MessageMediaDice extends _TypeMessageMedia {
|
|
|
2788
2853
|
}
|
|
2789
2854
|
export declare class MessageMediaStory extends _TypeMessageMedia {
|
|
2790
2855
|
viaMention?: true;
|
|
2791
|
-
|
|
2856
|
+
peer: TypePeer;
|
|
2792
2857
|
id: number;
|
|
2793
2858
|
story?: TypeStoryItem;
|
|
2794
2859
|
protected get [id](): number;
|
|
@@ -2796,11 +2861,30 @@ export declare class MessageMediaStory extends _TypeMessageMedia {
|
|
|
2796
2861
|
protected get [params](): Params;
|
|
2797
2862
|
constructor(params: {
|
|
2798
2863
|
viaMention?: true;
|
|
2799
|
-
|
|
2864
|
+
peer: TypePeer;
|
|
2800
2865
|
id: number;
|
|
2801
2866
|
story?: TypeStoryItem;
|
|
2802
2867
|
});
|
|
2803
2868
|
}
|
|
2869
|
+
export declare class MessageMediaGiveaway extends _TypeMessageMedia {
|
|
2870
|
+
onlyNewSubscribers?: true;
|
|
2871
|
+
channels: Array<bigint>;
|
|
2872
|
+
countriesIso2?: Array<string>;
|
|
2873
|
+
quantity: number;
|
|
2874
|
+
months: number;
|
|
2875
|
+
untilDate: number;
|
|
2876
|
+
protected get [id](): number;
|
|
2877
|
+
static get [paramDesc](): ParamDesc;
|
|
2878
|
+
protected get [params](): Params;
|
|
2879
|
+
constructor(params: {
|
|
2880
|
+
onlyNewSubscribers?: true;
|
|
2881
|
+
channels: Array<bigint>;
|
|
2882
|
+
countriesIso2?: Array<string>;
|
|
2883
|
+
quantity: number;
|
|
2884
|
+
months: number;
|
|
2885
|
+
untilDate: number;
|
|
2886
|
+
});
|
|
2887
|
+
}
|
|
2804
2888
|
export declare class MessageActionEmpty extends _TypeMessageAction {
|
|
2805
2889
|
protected get [id](): number;
|
|
2806
2890
|
static get [paramDesc](): ParamDesc;
|
|
@@ -2993,6 +3077,7 @@ export declare class MessageActionCustomAction extends _TypeMessageAction {
|
|
|
2993
3077
|
}
|
|
2994
3078
|
export declare class MessageActionBotAllowed extends _TypeMessageAction {
|
|
2995
3079
|
attachMenu?: true;
|
|
3080
|
+
fromRequest?: true;
|
|
2996
3081
|
domain?: string;
|
|
2997
3082
|
app?: TypeBotApp;
|
|
2998
3083
|
protected get [id](): number;
|
|
@@ -3000,6 +3085,7 @@ export declare class MessageActionBotAllowed extends _TypeMessageAction {
|
|
|
3000
3085
|
protected get [params](): Params;
|
|
3001
3086
|
constructor(params?: {
|
|
3002
3087
|
attachMenu?: true;
|
|
3088
|
+
fromRequest?: true;
|
|
3003
3089
|
domain?: string;
|
|
3004
3090
|
app?: TypeBotApp;
|
|
3005
3091
|
});
|
|
@@ -3205,6 +3291,29 @@ export declare class MessageActionSetSameChatWallPaper extends _TypeMessageActio
|
|
|
3205
3291
|
wallpaper: TypeWallPaper;
|
|
3206
3292
|
});
|
|
3207
3293
|
}
|
|
3294
|
+
export declare class MessageActionGiftCode extends _TypeMessageAction {
|
|
3295
|
+
viaGiveaway?: true;
|
|
3296
|
+
unclaimed?: true;
|
|
3297
|
+
boostPeer?: TypePeer;
|
|
3298
|
+
months: number;
|
|
3299
|
+
slug: string;
|
|
3300
|
+
protected get [id](): number;
|
|
3301
|
+
static get [paramDesc](): ParamDesc;
|
|
3302
|
+
protected get [params](): Params;
|
|
3303
|
+
constructor(params: {
|
|
3304
|
+
viaGiveaway?: true;
|
|
3305
|
+
unclaimed?: true;
|
|
3306
|
+
boostPeer?: TypePeer;
|
|
3307
|
+
months: number;
|
|
3308
|
+
slug: string;
|
|
3309
|
+
});
|
|
3310
|
+
}
|
|
3311
|
+
export declare class MessageActionGiveawayLaunch extends _TypeMessageAction {
|
|
3312
|
+
protected get [id](): number;
|
|
3313
|
+
static get [paramDesc](): ParamDesc;
|
|
3314
|
+
protected get [params](): Params;
|
|
3315
|
+
constructor();
|
|
3316
|
+
}
|
|
3208
3317
|
export declare class Dialog extends _TypeDialog {
|
|
3209
3318
|
pinned?: true;
|
|
3210
3319
|
unreadMark?: true;
|
|
@@ -3701,7 +3810,7 @@ export declare class UserFull extends _TypeUserFull {
|
|
|
3701
3810
|
botBroadcastAdminRights?: TypeChatAdminRights;
|
|
3702
3811
|
premiumGifts?: Array<TypePremiumGiftOption>;
|
|
3703
3812
|
wallpaper?: TypeWallPaper;
|
|
3704
|
-
stories?:
|
|
3813
|
+
stories?: TypePeerStories;
|
|
3705
3814
|
protected get [id](): number;
|
|
3706
3815
|
static get [paramDesc](): ParamDesc;
|
|
3707
3816
|
protected get [params](): Params;
|
|
@@ -3734,7 +3843,7 @@ export declare class UserFull extends _TypeUserFull {
|
|
|
3734
3843
|
botBroadcastAdminRights?: TypeChatAdminRights;
|
|
3735
3844
|
premiumGifts?: Array<TypePremiumGiftOption>;
|
|
3736
3845
|
wallpaper?: TypeWallPaper;
|
|
3737
|
-
stories?:
|
|
3846
|
+
stories?: TypePeerStories;
|
|
3738
3847
|
});
|
|
3739
3848
|
}
|
|
3740
3849
|
export declare class Contact extends _TypeContact {
|
|
@@ -4186,6 +4295,23 @@ export declare class UpdateUserName extends _TypeUpdate {
|
|
|
4186
4295
|
usernames: Array<TypeUsername>;
|
|
4187
4296
|
});
|
|
4188
4297
|
}
|
|
4298
|
+
export declare class UpdateNewAuthorization extends _TypeUpdate {
|
|
4299
|
+
unconfirmed?: true;
|
|
4300
|
+
hash: bigint;
|
|
4301
|
+
date?: number;
|
|
4302
|
+
device?: string;
|
|
4303
|
+
location?: string;
|
|
4304
|
+
protected get [id](): number;
|
|
4305
|
+
static get [paramDesc](): ParamDesc;
|
|
4306
|
+
protected get [params](): Params;
|
|
4307
|
+
constructor(params: {
|
|
4308
|
+
unconfirmed?: true;
|
|
4309
|
+
hash: bigint;
|
|
4310
|
+
date?: number;
|
|
4311
|
+
device?: string;
|
|
4312
|
+
location?: string;
|
|
4313
|
+
});
|
|
4314
|
+
}
|
|
4189
4315
|
export declare class UpdateNewEncryptedMessage extends _TypeUpdate {
|
|
4190
4316
|
message: TypeEncryptedMessage;
|
|
4191
4317
|
qts: number;
|
|
@@ -4282,6 +4408,7 @@ export declare class UpdateNotifySettings extends _TypeUpdate {
|
|
|
4282
4408
|
}
|
|
4283
4409
|
export declare class UpdateServiceNotification extends _TypeUpdate {
|
|
4284
4410
|
popup?: true;
|
|
4411
|
+
invertMedia?: true;
|
|
4285
4412
|
inboxDate?: number;
|
|
4286
4413
|
type: string;
|
|
4287
4414
|
message: string;
|
|
@@ -4292,6 +4419,7 @@ export declare class UpdateServiceNotification extends _TypeUpdate {
|
|
|
4292
4419
|
protected get [params](): Params;
|
|
4293
4420
|
constructor(params: {
|
|
4294
4421
|
popup?: true;
|
|
4422
|
+
invertMedia?: true;
|
|
4295
4423
|
inboxDate?: number;
|
|
4296
4424
|
type: string;
|
|
4297
4425
|
message: string;
|
|
@@ -4372,6 +4500,7 @@ export declare class UpdateReadMessagesContents extends _TypeUpdate {
|
|
|
4372
4500
|
messages: Array<number>;
|
|
4373
4501
|
pts: number;
|
|
4374
4502
|
ptsCount: number;
|
|
4503
|
+
date?: number;
|
|
4375
4504
|
protected get [id](): number;
|
|
4376
4505
|
static get [paramDesc](): ParamDesc;
|
|
4377
4506
|
protected get [params](): Params;
|
|
@@ -4379,6 +4508,7 @@ export declare class UpdateReadMessagesContents extends _TypeUpdate {
|
|
|
4379
4508
|
messages: Array<number>;
|
|
4380
4509
|
pts: number;
|
|
4381
4510
|
ptsCount: number;
|
|
4511
|
+
date?: number;
|
|
4382
4512
|
});
|
|
4383
4513
|
}
|
|
4384
4514
|
export declare class UpdateChannelTooLong extends _TypeUpdate {
|
|
@@ -5427,24 +5557,24 @@ export declare class UpdateGroupInvitePrivacyForbidden extends _TypeUpdate {
|
|
|
5427
5557
|
});
|
|
5428
5558
|
}
|
|
5429
5559
|
export declare class UpdateStory extends _TypeUpdate {
|
|
5430
|
-
|
|
5560
|
+
peer: TypePeer;
|
|
5431
5561
|
story: TypeStoryItem;
|
|
5432
5562
|
protected get [id](): number;
|
|
5433
5563
|
static get [paramDesc](): ParamDesc;
|
|
5434
5564
|
protected get [params](): Params;
|
|
5435
5565
|
constructor(params: {
|
|
5436
|
-
|
|
5566
|
+
peer: TypePeer;
|
|
5437
5567
|
story: TypeStoryItem;
|
|
5438
5568
|
});
|
|
5439
5569
|
}
|
|
5440
5570
|
export declare class UpdateReadStories extends _TypeUpdate {
|
|
5441
|
-
|
|
5571
|
+
peer: TypePeer;
|
|
5442
5572
|
maxId: number;
|
|
5443
5573
|
protected get [id](): number;
|
|
5444
5574
|
static get [paramDesc](): ParamDesc;
|
|
5445
5575
|
protected get [params](): Params;
|
|
5446
5576
|
constructor(params: {
|
|
5447
|
-
|
|
5577
|
+
peer: TypePeer;
|
|
5448
5578
|
maxId: number;
|
|
5449
5579
|
});
|
|
5450
5580
|
}
|
|
@@ -5469,14 +5599,14 @@ export declare class UpdateStoriesStealthMode extends _TypeUpdate {
|
|
|
5469
5599
|
});
|
|
5470
5600
|
}
|
|
5471
5601
|
export declare class UpdateSentStoryReaction extends _TypeUpdate {
|
|
5472
|
-
|
|
5602
|
+
peer: TypePeer;
|
|
5473
5603
|
storyId: number;
|
|
5474
5604
|
reaction: TypeReaction;
|
|
5475
5605
|
protected get [id](): number;
|
|
5476
5606
|
static get [paramDesc](): ParamDesc;
|
|
5477
5607
|
protected get [params](): Params;
|
|
5478
5608
|
constructor(params: {
|
|
5479
|
-
|
|
5609
|
+
peer: TypePeer;
|
|
5480
5610
|
storyId: number;
|
|
5481
5611
|
reaction: TypeReaction;
|
|
5482
5612
|
});
|
|
@@ -6873,25 +7003,30 @@ export declare class MessagesAffectedMessages extends _TypeMessagesAffectedMessa
|
|
|
6873
7003
|
}
|
|
6874
7004
|
export declare class WebPageEmpty extends _TypeWebPage {
|
|
6875
7005
|
id: bigint;
|
|
7006
|
+
url?: string;
|
|
6876
7007
|
protected get [id](): number;
|
|
6877
7008
|
static get [paramDesc](): ParamDesc;
|
|
6878
7009
|
protected get [params](): Params;
|
|
6879
7010
|
constructor(params: {
|
|
6880
7011
|
id: bigint;
|
|
7012
|
+
url?: string;
|
|
6881
7013
|
});
|
|
6882
7014
|
}
|
|
6883
7015
|
export declare class WebPagePending extends _TypeWebPage {
|
|
6884
7016
|
id: bigint;
|
|
7017
|
+
url?: string;
|
|
6885
7018
|
date: number;
|
|
6886
7019
|
protected get [id](): number;
|
|
6887
7020
|
static get [paramDesc](): ParamDesc;
|
|
6888
7021
|
protected get [params](): Params;
|
|
6889
7022
|
constructor(params: {
|
|
6890
7023
|
id: bigint;
|
|
7024
|
+
url?: string;
|
|
6891
7025
|
date: number;
|
|
6892
7026
|
});
|
|
6893
7027
|
}
|
|
6894
7028
|
export declare class WebPage extends _TypeWebPage {
|
|
7029
|
+
hasLargeMedia?: true;
|
|
6895
7030
|
id: bigint;
|
|
6896
7031
|
url: string;
|
|
6897
7032
|
displayUrl: string;
|
|
@@ -6914,6 +7049,7 @@ export declare class WebPage extends _TypeWebPage {
|
|
|
6914
7049
|
static get [paramDesc](): ParamDesc;
|
|
6915
7050
|
protected get [params](): Params;
|
|
6916
7051
|
constructor(params: {
|
|
7052
|
+
hasLargeMedia?: true;
|
|
6917
7053
|
id: bigint;
|
|
6918
7054
|
url: string;
|
|
6919
7055
|
displayUrl: string;
|
|
@@ -6949,6 +7085,7 @@ export declare class Authorization extends _TypeAuthorization {
|
|
|
6949
7085
|
passwordPending?: true;
|
|
6950
7086
|
encryptedRequestsDisabled?: true;
|
|
6951
7087
|
callRequestsDisabled?: true;
|
|
7088
|
+
unconfirmed?: true;
|
|
6952
7089
|
hash: bigint;
|
|
6953
7090
|
deviceModel: string;
|
|
6954
7091
|
platform: string;
|
|
@@ -6970,6 +7107,7 @@ export declare class Authorization extends _TypeAuthorization {
|
|
|
6970
7107
|
passwordPending?: true;
|
|
6971
7108
|
encryptedRequestsDisabled?: true;
|
|
6972
7109
|
callRequestsDisabled?: true;
|
|
7110
|
+
unconfirmed?: true;
|
|
6973
7111
|
hash: bigint;
|
|
6974
7112
|
deviceModel: string;
|
|
6975
7113
|
platform: string;
|
|
@@ -7128,11 +7266,15 @@ export declare class ChatInvite extends _TypeChatInvite {
|
|
|
7128
7266
|
public?: true;
|
|
7129
7267
|
megagroup?: true;
|
|
7130
7268
|
requestNeeded?: true;
|
|
7269
|
+
verified?: true;
|
|
7270
|
+
scam?: true;
|
|
7271
|
+
fake?: true;
|
|
7131
7272
|
title: string;
|
|
7132
7273
|
about?: string;
|
|
7133
7274
|
photo: TypePhoto;
|
|
7134
7275
|
participantsCount: number;
|
|
7135
7276
|
participants?: Array<TypeUser>;
|
|
7277
|
+
color: number;
|
|
7136
7278
|
protected get [id](): number;
|
|
7137
7279
|
static get [paramDesc](): ParamDesc;
|
|
7138
7280
|
protected get [params](): Params;
|
|
@@ -7142,11 +7284,15 @@ export declare class ChatInvite extends _TypeChatInvite {
|
|
|
7142
7284
|
public?: true;
|
|
7143
7285
|
megagroup?: true;
|
|
7144
7286
|
requestNeeded?: true;
|
|
7287
|
+
verified?: true;
|
|
7288
|
+
scam?: true;
|
|
7289
|
+
fake?: true;
|
|
7145
7290
|
title: string;
|
|
7146
7291
|
about?: string;
|
|
7147
7292
|
photo: TypePhoto;
|
|
7148
7293
|
participantsCount: number;
|
|
7149
7294
|
participants?: Array<TypeUser>;
|
|
7295
|
+
color: number;
|
|
7150
7296
|
});
|
|
7151
7297
|
}
|
|
7152
7298
|
export declare class ChatInvitePeek extends _TypeChatInvite {
|
|
@@ -7238,6 +7384,7 @@ export declare class StickerSet extends _TypeStickerSet {
|
|
|
7238
7384
|
animated?: true;
|
|
7239
7385
|
videos?: true;
|
|
7240
7386
|
emojis?: true;
|
|
7387
|
+
textColor?: true;
|
|
7241
7388
|
installedDate?: number;
|
|
7242
7389
|
id: bigint;
|
|
7243
7390
|
accessHash: bigint;
|
|
@@ -7259,6 +7406,7 @@ export declare class StickerSet extends _TypeStickerSet {
|
|
|
7259
7406
|
animated?: true;
|
|
7260
7407
|
videos?: true;
|
|
7261
7408
|
emojis?: true;
|
|
7409
|
+
textColor?: true;
|
|
7262
7410
|
installedDate?: number;
|
|
7263
7411
|
id: bigint;
|
|
7264
7412
|
accessHash: bigint;
|
|
@@ -7761,7 +7909,7 @@ export declare class MessageEntityStrike extends _TypeMessageEntity {
|
|
|
7761
7909
|
length: number;
|
|
7762
7910
|
});
|
|
7763
7911
|
}
|
|
7764
|
-
export declare class
|
|
7912
|
+
export declare class MessageEntityBankCard extends _TypeMessageEntity {
|
|
7765
7913
|
offset: number;
|
|
7766
7914
|
length: number;
|
|
7767
7915
|
protected get [id](): number;
|
|
@@ -7772,7 +7920,7 @@ export declare class MessageEntityBlockquote extends _TypeMessageEntity {
|
|
|
7772
7920
|
length: number;
|
|
7773
7921
|
});
|
|
7774
7922
|
}
|
|
7775
|
-
export declare class
|
|
7923
|
+
export declare class MessageEntitySpoiler extends _TypeMessageEntity {
|
|
7776
7924
|
offset: number;
|
|
7777
7925
|
length: number;
|
|
7778
7926
|
protected get [id](): number;
|
|
@@ -7783,28 +7931,28 @@ export declare class MessageEntityBankCard extends _TypeMessageEntity {
|
|
|
7783
7931
|
length: number;
|
|
7784
7932
|
});
|
|
7785
7933
|
}
|
|
7786
|
-
export declare class
|
|
7934
|
+
export declare class MessageEntityCustomEmoji extends _TypeMessageEntity {
|
|
7787
7935
|
offset: number;
|
|
7788
7936
|
length: number;
|
|
7937
|
+
documentId: bigint;
|
|
7789
7938
|
protected get [id](): number;
|
|
7790
7939
|
static get [paramDesc](): ParamDesc;
|
|
7791
7940
|
protected get [params](): Params;
|
|
7792
7941
|
constructor(params: {
|
|
7793
7942
|
offset: number;
|
|
7794
7943
|
length: number;
|
|
7944
|
+
documentId: bigint;
|
|
7795
7945
|
});
|
|
7796
7946
|
}
|
|
7797
|
-
export declare class
|
|
7947
|
+
export declare class MessageEntityBlockquote extends _TypeMessageEntity {
|
|
7798
7948
|
offset: number;
|
|
7799
7949
|
length: number;
|
|
7800
|
-
documentId: bigint;
|
|
7801
7950
|
protected get [id](): number;
|
|
7802
7951
|
static get [paramDesc](): ParamDesc;
|
|
7803
7952
|
protected get [params](): Params;
|
|
7804
7953
|
constructor(params: {
|
|
7805
7954
|
offset: number;
|
|
7806
7955
|
length: number;
|
|
7807
|
-
documentId: bigint;
|
|
7808
7956
|
});
|
|
7809
7957
|
}
|
|
7810
7958
|
export declare class InputChannelEmpty extends _TypeInputChannel {
|
|
@@ -8153,6 +8301,7 @@ export declare class MessagesSavedGifs extends _TypeMessagesSavedGifs {
|
|
|
8153
8301
|
});
|
|
8154
8302
|
}
|
|
8155
8303
|
export declare class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineMessage {
|
|
8304
|
+
invertMedia?: true;
|
|
8156
8305
|
message: string;
|
|
8157
8306
|
entities?: Array<TypeMessageEntity>;
|
|
8158
8307
|
replyMarkup?: TypeReplyMarkup;
|
|
@@ -8160,6 +8309,7 @@ export declare class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineM
|
|
|
8160
8309
|
static get [paramDesc](): ParamDesc;
|
|
8161
8310
|
protected get [params](): Params;
|
|
8162
8311
|
constructor(params: {
|
|
8312
|
+
invertMedia?: true;
|
|
8163
8313
|
message: string;
|
|
8164
8314
|
entities?: Array<TypeMessageEntity>;
|
|
8165
8315
|
replyMarkup?: TypeReplyMarkup;
|
|
@@ -8167,6 +8317,7 @@ export declare class InputBotInlineMessageMediaAuto extends _TypeInputBotInlineM
|
|
|
8167
8317
|
}
|
|
8168
8318
|
export declare class InputBotInlineMessageText extends _TypeInputBotInlineMessage {
|
|
8169
8319
|
noWebpage?: true;
|
|
8320
|
+
invertMedia?: true;
|
|
8170
8321
|
message: string;
|
|
8171
8322
|
entities?: Array<TypeMessageEntity>;
|
|
8172
8323
|
replyMarkup?: TypeReplyMarkup;
|
|
@@ -8175,6 +8326,7 @@ export declare class InputBotInlineMessageText extends _TypeInputBotInlineMessag
|
|
|
8175
8326
|
protected get [params](): Params;
|
|
8176
8327
|
constructor(params: {
|
|
8177
8328
|
noWebpage?: true;
|
|
8329
|
+
invertMedia?: true;
|
|
8178
8330
|
message: string;
|
|
8179
8331
|
entities?: Array<TypeMessageEntity>;
|
|
8180
8332
|
replyMarkup?: TypeReplyMarkup;
|
|
@@ -8267,6 +8419,29 @@ export declare class InputBotInlineMessageMediaInvoice extends _TypeInputBotInli
|
|
|
8267
8419
|
replyMarkup?: TypeReplyMarkup;
|
|
8268
8420
|
});
|
|
8269
8421
|
}
|
|
8422
|
+
export declare class InputBotInlineMessageMediaWebPage extends _TypeInputBotInlineMessage {
|
|
8423
|
+
invertMedia?: true;
|
|
8424
|
+
forceLargeMedia?: true;
|
|
8425
|
+
forceSmallMedia?: true;
|
|
8426
|
+
optional?: true;
|
|
8427
|
+
message: string;
|
|
8428
|
+
entities?: Array<TypeMessageEntity>;
|
|
8429
|
+
url: string;
|
|
8430
|
+
replyMarkup?: TypeReplyMarkup;
|
|
8431
|
+
protected get [id](): number;
|
|
8432
|
+
static get [paramDesc](): ParamDesc;
|
|
8433
|
+
protected get [params](): Params;
|
|
8434
|
+
constructor(params: {
|
|
8435
|
+
invertMedia?: true;
|
|
8436
|
+
forceLargeMedia?: true;
|
|
8437
|
+
forceSmallMedia?: true;
|
|
8438
|
+
optional?: true;
|
|
8439
|
+
message: string;
|
|
8440
|
+
entities?: Array<TypeMessageEntity>;
|
|
8441
|
+
url: string;
|
|
8442
|
+
replyMarkup?: TypeReplyMarkup;
|
|
8443
|
+
});
|
|
8444
|
+
}
|
|
8270
8445
|
export declare class InputBotInlineResult extends _TypeInputBotInlineResult {
|
|
8271
8446
|
id: string;
|
|
8272
8447
|
type: string;
|
|
@@ -8338,6 +8513,7 @@ export declare class InputBotInlineResultGame extends _TypeInputBotInlineResult
|
|
|
8338
8513
|
});
|
|
8339
8514
|
}
|
|
8340
8515
|
export declare class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
8516
|
+
invertMedia?: true;
|
|
8341
8517
|
message: string;
|
|
8342
8518
|
entities?: Array<TypeMessageEntity>;
|
|
8343
8519
|
replyMarkup?: TypeReplyMarkup;
|
|
@@ -8345,6 +8521,7 @@ export declare class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
8345
8521
|
static get [paramDesc](): ParamDesc;
|
|
8346
8522
|
protected get [params](): Params;
|
|
8347
8523
|
constructor(params: {
|
|
8524
|
+
invertMedia?: true;
|
|
8348
8525
|
message: string;
|
|
8349
8526
|
entities?: Array<TypeMessageEntity>;
|
|
8350
8527
|
replyMarkup?: TypeReplyMarkup;
|
|
@@ -8352,6 +8529,7 @@ export declare class BotInlineMessageMediaAuto extends _TypeBotInlineMessage {
|
|
|
8352
8529
|
}
|
|
8353
8530
|
export declare class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
8354
8531
|
noWebpage?: true;
|
|
8532
|
+
invertMedia?: true;
|
|
8355
8533
|
message: string;
|
|
8356
8534
|
entities?: Array<TypeMessageEntity>;
|
|
8357
8535
|
replyMarkup?: TypeReplyMarkup;
|
|
@@ -8360,6 +8538,7 @@ export declare class BotInlineMessageText extends _TypeBotInlineMessage {
|
|
|
8360
8538
|
protected get [params](): Params;
|
|
8361
8539
|
constructor(params: {
|
|
8362
8540
|
noWebpage?: true;
|
|
8541
|
+
invertMedia?: true;
|
|
8363
8542
|
message: string;
|
|
8364
8543
|
entities?: Array<TypeMessageEntity>;
|
|
8365
8544
|
replyMarkup?: TypeReplyMarkup;
|
|
@@ -8443,6 +8622,31 @@ export declare class BotInlineMessageMediaInvoice extends _TypeBotInlineMessage
|
|
|
8443
8622
|
replyMarkup?: TypeReplyMarkup;
|
|
8444
8623
|
});
|
|
8445
8624
|
}
|
|
8625
|
+
export declare class BotInlineMessageMediaWebPage extends _TypeBotInlineMessage {
|
|
8626
|
+
invertMedia?: true;
|
|
8627
|
+
forceLargeMedia?: true;
|
|
8628
|
+
forceSmallMedia?: true;
|
|
8629
|
+
manual?: true;
|
|
8630
|
+
safe?: true;
|
|
8631
|
+
message: string;
|
|
8632
|
+
entities?: Array<TypeMessageEntity>;
|
|
8633
|
+
url: string;
|
|
8634
|
+
replyMarkup?: TypeReplyMarkup;
|
|
8635
|
+
protected get [id](): number;
|
|
8636
|
+
static get [paramDesc](): ParamDesc;
|
|
8637
|
+
protected get [params](): Params;
|
|
8638
|
+
constructor(params: {
|
|
8639
|
+
invertMedia?: true;
|
|
8640
|
+
forceLargeMedia?: true;
|
|
8641
|
+
forceSmallMedia?: true;
|
|
8642
|
+
manual?: true;
|
|
8643
|
+
safe?: true;
|
|
8644
|
+
message: string;
|
|
8645
|
+
entities?: Array<TypeMessageEntity>;
|
|
8646
|
+
url: string;
|
|
8647
|
+
replyMarkup?: TypeReplyMarkup;
|
|
8648
|
+
});
|
|
8649
|
+
}
|
|
8446
8650
|
export declare class BotInlineResult extends _TypeBotInlineResult {
|
|
8447
8651
|
id: string;
|
|
8448
8652
|
type: string;
|
|
@@ -8871,18 +9075,22 @@ export declare class DraftMessageEmpty extends _TypeDraftMessage {
|
|
|
8871
9075
|
}
|
|
8872
9076
|
export declare class DraftMessage extends _TypeDraftMessage {
|
|
8873
9077
|
noWebpage?: true;
|
|
8874
|
-
|
|
9078
|
+
invertMedia?: true;
|
|
9079
|
+
replyTo?: TypeInputReplyTo;
|
|
8875
9080
|
message: string;
|
|
8876
9081
|
entities?: Array<TypeMessageEntity>;
|
|
9082
|
+
media?: TypeInputMedia;
|
|
8877
9083
|
date: number;
|
|
8878
9084
|
protected get [id](): number;
|
|
8879
9085
|
static get [paramDesc](): ParamDesc;
|
|
8880
9086
|
protected get [params](): Params;
|
|
8881
9087
|
constructor(params: {
|
|
8882
9088
|
noWebpage?: true;
|
|
8883
|
-
|
|
9089
|
+
invertMedia?: true;
|
|
9090
|
+
replyTo?: TypeInputReplyTo;
|
|
8884
9091
|
message: string;
|
|
8885
9092
|
entities?: Array<TypeMessageEntity>;
|
|
9093
|
+
media?: TypeInputMedia;
|
|
8886
9094
|
date: number;
|
|
8887
9095
|
});
|
|
8888
9096
|
}
|
|
@@ -9645,7 +9853,7 @@ export declare class Invoice extends _TypeInvoice {
|
|
|
9645
9853
|
prices: Array<TypeLabeledPrice>;
|
|
9646
9854
|
maxTipAmount?: bigint;
|
|
9647
9855
|
suggestedTipAmounts?: Array<bigint>;
|
|
9648
|
-
|
|
9856
|
+
termsUrl?: string;
|
|
9649
9857
|
protected get [id](): number;
|
|
9650
9858
|
static get [paramDesc](): ParamDesc;
|
|
9651
9859
|
protected get [params](): Params;
|
|
@@ -9663,7 +9871,7 @@ export declare class Invoice extends _TypeInvoice {
|
|
|
9663
9871
|
prices: Array<TypeLabeledPrice>;
|
|
9664
9872
|
maxTipAmount?: bigint;
|
|
9665
9873
|
suggestedTipAmounts?: Array<bigint>;
|
|
9666
|
-
|
|
9874
|
+
termsUrl?: string;
|
|
9667
9875
|
});
|
|
9668
9876
|
}
|
|
9669
9877
|
export declare class PaymentCharge extends _TypePaymentCharge {
|
|
@@ -10777,6 +10985,28 @@ export declare class ChannelAdminLogEventActionToggleAntiSpam extends _TypeChann
|
|
|
10777
10985
|
newValue: boolean;
|
|
10778
10986
|
});
|
|
10779
10987
|
}
|
|
10988
|
+
export declare class ChannelAdminLogEventActionChangeColor extends _TypeChannelAdminLogEventAction {
|
|
10989
|
+
prevValue: number;
|
|
10990
|
+
newValue: number;
|
|
10991
|
+
protected get [id](): number;
|
|
10992
|
+
static get [paramDesc](): ParamDesc;
|
|
10993
|
+
protected get [params](): Params;
|
|
10994
|
+
constructor(params: {
|
|
10995
|
+
prevValue: number;
|
|
10996
|
+
newValue: number;
|
|
10997
|
+
});
|
|
10998
|
+
}
|
|
10999
|
+
export declare class ChannelAdminLogEventActionChangeBackgroundEmoji extends _TypeChannelAdminLogEventAction {
|
|
11000
|
+
prevValue: bigint;
|
|
11001
|
+
newValue: bigint;
|
|
11002
|
+
protected get [id](): number;
|
|
11003
|
+
static get [paramDesc](): ParamDesc;
|
|
11004
|
+
protected get [params](): Params;
|
|
11005
|
+
constructor(params: {
|
|
11006
|
+
prevValue: bigint;
|
|
11007
|
+
newValue: bigint;
|
|
11008
|
+
});
|
|
11009
|
+
}
|
|
10780
11010
|
export declare class ChannelAdminLogEvent extends _TypeChannelAdminLogEvent {
|
|
10781
11011
|
id: bigint;
|
|
10782
11012
|
date: number;
|
|
@@ -12006,6 +12236,9 @@ export declare class ChatAdminRights extends _TypeChatAdminRights {
|
|
|
12006
12236
|
manageCall?: true;
|
|
12007
12237
|
other?: true;
|
|
12008
12238
|
manageTopics?: true;
|
|
12239
|
+
postStories?: true;
|
|
12240
|
+
editStories?: true;
|
|
12241
|
+
deleteStories?: true;
|
|
12009
12242
|
protected get [id](): number;
|
|
12010
12243
|
static get [paramDesc](): ParamDesc;
|
|
12011
12244
|
protected get [params](): Params;
|
|
@@ -12022,6 +12255,9 @@ export declare class ChatAdminRights extends _TypeChatAdminRights {
|
|
|
12022
12255
|
manageCall?: true;
|
|
12023
12256
|
other?: true;
|
|
12024
12257
|
manageTopics?: true;
|
|
12258
|
+
postStories?: true;
|
|
12259
|
+
editStories?: true;
|
|
12260
|
+
deleteStories?: true;
|
|
12025
12261
|
});
|
|
12026
12262
|
}
|
|
12027
12263
|
export declare class ChatBannedRights extends _TypeChatBannedRights {
|
|
@@ -12599,14 +12835,14 @@ export declare class WebPageAttributeTheme extends _TypeWebPageAttribute {
|
|
|
12599
12835
|
});
|
|
12600
12836
|
}
|
|
12601
12837
|
export declare class WebPageAttributeStory extends _TypeWebPageAttribute {
|
|
12602
|
-
|
|
12838
|
+
peer: TypePeer;
|
|
12603
12839
|
id: number;
|
|
12604
12840
|
story?: TypeStoryItem;
|
|
12605
12841
|
protected get [id](): number;
|
|
12606
12842
|
static get [paramDesc](): ParamDesc;
|
|
12607
12843
|
protected get [params](): Params;
|
|
12608
12844
|
constructor(params: {
|
|
12609
|
-
|
|
12845
|
+
peer: TypePeer;
|
|
12610
12846
|
id: number;
|
|
12611
12847
|
story?: TypeStoryItem;
|
|
12612
12848
|
});
|
|
@@ -13094,18 +13330,28 @@ export declare class MessagesDiscussionMessage extends _TypeMessagesDiscussionMe
|
|
|
13094
13330
|
export declare class MessageReplyHeader extends _TypeMessageReplyHeader {
|
|
13095
13331
|
replyToScheduled?: true;
|
|
13096
13332
|
forumTopic?: true;
|
|
13097
|
-
|
|
13333
|
+
quote?: true;
|
|
13334
|
+
replyToMsgId?: number;
|
|
13098
13335
|
replyToPeerId?: TypePeer;
|
|
13336
|
+
replyFrom?: TypeMessageFwdHeader;
|
|
13337
|
+
replyMedia?: TypeMessageMedia;
|
|
13099
13338
|
replyToTopId?: number;
|
|
13339
|
+
quoteText?: string;
|
|
13340
|
+
quoteEntities?: Array<TypeMessageEntity>;
|
|
13100
13341
|
protected get [id](): number;
|
|
13101
13342
|
static get [paramDesc](): ParamDesc;
|
|
13102
13343
|
protected get [params](): Params;
|
|
13103
|
-
constructor(params
|
|
13344
|
+
constructor(params?: {
|
|
13104
13345
|
replyToScheduled?: true;
|
|
13105
13346
|
forumTopic?: true;
|
|
13106
|
-
|
|
13347
|
+
quote?: true;
|
|
13348
|
+
replyToMsgId?: number;
|
|
13107
13349
|
replyToPeerId?: TypePeer;
|
|
13350
|
+
replyFrom?: TypeMessageFwdHeader;
|
|
13351
|
+
replyMedia?: TypeMessageMedia;
|
|
13108
13352
|
replyToTopId?: number;
|
|
13353
|
+
quoteText?: string;
|
|
13354
|
+
quoteEntities?: Array<TypeMessageEntity>;
|
|
13109
13355
|
});
|
|
13110
13356
|
}
|
|
13111
13357
|
export declare class MessageReplyStoryHeader extends _TypeMessageReplyHeader {
|
|
@@ -13954,9 +14200,12 @@ export declare class AttachMenuBot extends _TypeAttachMenuBot {
|
|
|
13954
14200
|
inactive?: true;
|
|
13955
14201
|
hasSettings?: true;
|
|
13956
14202
|
requestWriteAccess?: true;
|
|
14203
|
+
showInAttachMenu?: true;
|
|
14204
|
+
showInSideMenu?: true;
|
|
14205
|
+
sideMenuDisclaimerNeeded?: true;
|
|
13957
14206
|
botId: bigint;
|
|
13958
14207
|
shortName: string;
|
|
13959
|
-
peerTypes
|
|
14208
|
+
peerTypes?: Array<TypeAttachMenuPeerType>;
|
|
13960
14209
|
icons: Array<TypeAttachMenuBotIcon>;
|
|
13961
14210
|
protected get [id](): number;
|
|
13962
14211
|
static get [paramDesc](): ParamDesc;
|
|
@@ -13965,9 +14214,12 @@ export declare class AttachMenuBot extends _TypeAttachMenuBot {
|
|
|
13965
14214
|
inactive?: true;
|
|
13966
14215
|
hasSettings?: true;
|
|
13967
14216
|
requestWriteAccess?: true;
|
|
14217
|
+
showInAttachMenu?: true;
|
|
14218
|
+
showInSideMenu?: true;
|
|
14219
|
+
sideMenuDisclaimerNeeded?: true;
|
|
13968
14220
|
botId: bigint;
|
|
13969
14221
|
shortName: string;
|
|
13970
|
-
peerTypes
|
|
14222
|
+
peerTypes?: Array<TypeAttachMenuPeerType>;
|
|
13971
14223
|
icons: Array<TypeAttachMenuBotIcon>;
|
|
13972
14224
|
});
|
|
13973
14225
|
}
|
|
@@ -14167,6 +14419,17 @@ export declare class InputInvoiceSlug extends _TypeInputInvoice {
|
|
|
14167
14419
|
slug: string;
|
|
14168
14420
|
});
|
|
14169
14421
|
}
|
|
14422
|
+
export declare class InputInvoicePremiumGiftCode extends _TypeInputInvoice {
|
|
14423
|
+
purpose: TypeInputStorePaymentPurpose;
|
|
14424
|
+
option: TypePremiumGiftCodeOption;
|
|
14425
|
+
protected get [id](): number;
|
|
14426
|
+
static get [paramDesc](): ParamDesc;
|
|
14427
|
+
protected get [params](): Params;
|
|
14428
|
+
constructor(params: {
|
|
14429
|
+
purpose: TypeInputStorePaymentPurpose;
|
|
14430
|
+
option: TypePremiumGiftCodeOption;
|
|
14431
|
+
});
|
|
14432
|
+
}
|
|
14170
14433
|
export declare class PaymentsExportedInvoice extends _TypePaymentsExportedInvoice {
|
|
14171
14434
|
url: string;
|
|
14172
14435
|
protected get [id](): number;
|
|
@@ -14232,6 +14495,44 @@ export declare class InputStorePaymentGiftPremium extends _TypeInputStorePayment
|
|
|
14232
14495
|
amount: bigint;
|
|
14233
14496
|
});
|
|
14234
14497
|
}
|
|
14498
|
+
export declare class InputStorePaymentPremiumGiftCode extends _TypeInputStorePaymentPurpose {
|
|
14499
|
+
users: Array<TypeInputUser>;
|
|
14500
|
+
boostPeer?: TypeInputPeer;
|
|
14501
|
+
currency: string;
|
|
14502
|
+
amount: bigint;
|
|
14503
|
+
protected get [id](): number;
|
|
14504
|
+
static get [paramDesc](): ParamDesc;
|
|
14505
|
+
protected get [params](): Params;
|
|
14506
|
+
constructor(params: {
|
|
14507
|
+
users: Array<TypeInputUser>;
|
|
14508
|
+
boostPeer?: TypeInputPeer;
|
|
14509
|
+
currency: string;
|
|
14510
|
+
amount: bigint;
|
|
14511
|
+
});
|
|
14512
|
+
}
|
|
14513
|
+
export declare class InputStorePaymentPremiumGiveaway extends _TypeInputStorePaymentPurpose {
|
|
14514
|
+
onlyNewSubscribers?: true;
|
|
14515
|
+
boostPeer: TypeInputPeer;
|
|
14516
|
+
additionalPeers?: Array<TypeInputPeer>;
|
|
14517
|
+
countriesIso2?: Array<string>;
|
|
14518
|
+
randomId: bigint;
|
|
14519
|
+
untilDate: number;
|
|
14520
|
+
currency: string;
|
|
14521
|
+
amount: bigint;
|
|
14522
|
+
protected get [id](): number;
|
|
14523
|
+
static get [paramDesc](): ParamDesc;
|
|
14524
|
+
protected get [params](): Params;
|
|
14525
|
+
constructor(params: {
|
|
14526
|
+
onlyNewSubscribers?: true;
|
|
14527
|
+
boostPeer: TypeInputPeer;
|
|
14528
|
+
additionalPeers?: Array<TypeInputPeer>;
|
|
14529
|
+
countriesIso2?: Array<string>;
|
|
14530
|
+
randomId: bigint;
|
|
14531
|
+
untilDate: number;
|
|
14532
|
+
currency: string;
|
|
14533
|
+
amount: bigint;
|
|
14534
|
+
});
|
|
14535
|
+
}
|
|
14235
14536
|
export declare class PremiumGiftOption extends _TypePremiumGiftOption {
|
|
14236
14537
|
months: number;
|
|
14237
14538
|
currency: string;
|
|
@@ -14841,6 +15142,7 @@ export declare class BotApp extends _TypeBotApp {
|
|
|
14841
15142
|
export declare class MessagesBotApp extends _TypeMessagesBotApp {
|
|
14842
15143
|
inactive?: true;
|
|
14843
15144
|
requestWriteAccess?: true;
|
|
15145
|
+
hasSettings?: true;
|
|
14844
15146
|
app: TypeBotApp;
|
|
14845
15147
|
protected get [id](): number;
|
|
14846
15148
|
static get [paramDesc](): ParamDesc;
|
|
@@ -14848,6 +15150,7 @@ export declare class MessagesBotApp extends _TypeMessagesBotApp {
|
|
|
14848
15150
|
constructor(params: {
|
|
14849
15151
|
inactive?: true;
|
|
14850
15152
|
requestWriteAccess?: true;
|
|
15153
|
+
hasSettings?: true;
|
|
14851
15154
|
app: TypeBotApp;
|
|
14852
15155
|
});
|
|
14853
15156
|
}
|
|
@@ -15039,15 +15342,21 @@ export declare class SponsoredWebPage extends _TypeSponsoredWebPage {
|
|
|
15039
15342
|
});
|
|
15040
15343
|
}
|
|
15041
15344
|
export declare class StoryViews extends _TypeStoryViews {
|
|
15345
|
+
hasViewers?: true;
|
|
15042
15346
|
viewsCount: number;
|
|
15043
|
-
|
|
15347
|
+
forwardsCount?: number;
|
|
15348
|
+
reactions?: Array<TypeReactionCount>;
|
|
15349
|
+
reactionsCount?: number;
|
|
15044
15350
|
recentViewers?: Array<bigint>;
|
|
15045
15351
|
protected get [id](): number;
|
|
15046
15352
|
static get [paramDesc](): ParamDesc;
|
|
15047
15353
|
protected get [params](): Params;
|
|
15048
15354
|
constructor(params: {
|
|
15355
|
+
hasViewers?: true;
|
|
15049
15356
|
viewsCount: number;
|
|
15050
|
-
|
|
15357
|
+
forwardsCount?: number;
|
|
15358
|
+
reactions?: Array<TypeReactionCount>;
|
|
15359
|
+
reactionsCount?: number;
|
|
15051
15360
|
recentViewers?: Array<bigint>;
|
|
15052
15361
|
});
|
|
15053
15362
|
}
|
|
@@ -15084,6 +15393,7 @@ export declare class StoryItem extends _TypeStoryItem {
|
|
|
15084
15393
|
edited?: true;
|
|
15085
15394
|
contacts?: true;
|
|
15086
15395
|
selectedContacts?: true;
|
|
15396
|
+
out?: true;
|
|
15087
15397
|
id: number;
|
|
15088
15398
|
date: number;
|
|
15089
15399
|
expireDate: number;
|
|
@@ -15106,6 +15416,7 @@ export declare class StoryItem extends _TypeStoryItem {
|
|
|
15106
15416
|
edited?: true;
|
|
15107
15417
|
contacts?: true;
|
|
15108
15418
|
selectedContacts?: true;
|
|
15419
|
+
out?: true;
|
|
15109
15420
|
id: number;
|
|
15110
15421
|
date: number;
|
|
15111
15422
|
expireDate: number;
|
|
@@ -15118,19 +15429,6 @@ export declare class StoryItem extends _TypeStoryItem {
|
|
|
15118
15429
|
sentReaction?: TypeReaction;
|
|
15119
15430
|
});
|
|
15120
15431
|
}
|
|
15121
|
-
export declare class UserStories extends _TypeUserStories {
|
|
15122
|
-
userId: bigint;
|
|
15123
|
-
maxReadId?: number;
|
|
15124
|
-
stories: Array<TypeStoryItem>;
|
|
15125
|
-
protected get [id](): number;
|
|
15126
|
-
static get [paramDesc](): ParamDesc;
|
|
15127
|
-
protected get [params](): Params;
|
|
15128
|
-
constructor(params: {
|
|
15129
|
-
userId: bigint;
|
|
15130
|
-
maxReadId?: number;
|
|
15131
|
-
stories: Array<TypeStoryItem>;
|
|
15132
|
-
});
|
|
15133
|
-
}
|
|
15134
15432
|
export declare class StoriesAllStoriesNotModified extends _TypeStoriesAllStories {
|
|
15135
15433
|
state: string;
|
|
15136
15434
|
stealthMode: TypeStoriesStealthMode;
|
|
@@ -15146,7 +15444,8 @@ export declare class StoriesAllStories extends _TypeStoriesAllStories {
|
|
|
15146
15444
|
hasMore?: true;
|
|
15147
15445
|
count: number;
|
|
15148
15446
|
state: string;
|
|
15149
|
-
|
|
15447
|
+
peerStories: Array<TypePeerStories>;
|
|
15448
|
+
chats: Array<TypeChat>;
|
|
15150
15449
|
users: Array<TypeUser>;
|
|
15151
15450
|
stealthMode: TypeStoriesStealthMode;
|
|
15152
15451
|
protected get [id](): number;
|
|
@@ -15156,7 +15455,8 @@ export declare class StoriesAllStories extends _TypeStoriesAllStories {
|
|
|
15156
15455
|
hasMore?: true;
|
|
15157
15456
|
count: number;
|
|
15158
15457
|
state: string;
|
|
15159
|
-
|
|
15458
|
+
peerStories: Array<TypePeerStories>;
|
|
15459
|
+
chats: Array<TypeChat>;
|
|
15160
15460
|
users: Array<TypeUser>;
|
|
15161
15461
|
stealthMode: TypeStoriesStealthMode;
|
|
15162
15462
|
});
|
|
@@ -15164,6 +15464,7 @@ export declare class StoriesAllStories extends _TypeStoriesAllStories {
|
|
|
15164
15464
|
export declare class StoriesStories extends _TypeStoriesStories {
|
|
15165
15465
|
count: number;
|
|
15166
15466
|
stories: Array<TypeStoryItem>;
|
|
15467
|
+
chats: Array<TypeChat>;
|
|
15167
15468
|
users: Array<TypeUser>;
|
|
15168
15469
|
protected get [id](): number;
|
|
15169
15470
|
static get [paramDesc](): ParamDesc;
|
|
@@ -15171,17 +15472,7 @@ export declare class StoriesStories extends _TypeStoriesStories {
|
|
|
15171
15472
|
constructor(params: {
|
|
15172
15473
|
count: number;
|
|
15173
15474
|
stories: Array<TypeStoryItem>;
|
|
15174
|
-
|
|
15175
|
-
});
|
|
15176
|
-
}
|
|
15177
|
-
export declare class StoriesUserStories extends _TypeStoriesUserStories {
|
|
15178
|
-
stories: TypeUserStories;
|
|
15179
|
-
users: Array<TypeUser>;
|
|
15180
|
-
protected get [id](): number;
|
|
15181
|
-
static get [paramDesc](): ParamDesc;
|
|
15182
|
-
protected get [params](): Params;
|
|
15183
|
-
constructor(params: {
|
|
15184
|
-
stories: TypeUserStories;
|
|
15475
|
+
chats: Array<TypeChat>;
|
|
15185
15476
|
users: Array<TypeUser>;
|
|
15186
15477
|
});
|
|
15187
15478
|
}
|
|
@@ -15233,12 +15524,18 @@ export declare class StoriesStoryViews extends _TypeStoriesStoryViews {
|
|
|
15233
15524
|
export declare class InputReplyToMessage extends _TypeInputReplyTo {
|
|
15234
15525
|
replyToMsgId: number;
|
|
15235
15526
|
topMsgId?: number;
|
|
15527
|
+
replyToPeerId?: TypeInputPeer;
|
|
15528
|
+
quoteText?: string;
|
|
15529
|
+
quoteEntities?: Array<TypeMessageEntity>;
|
|
15236
15530
|
protected get [id](): number;
|
|
15237
15531
|
static get [paramDesc](): ParamDesc;
|
|
15238
15532
|
protected get [params](): Params;
|
|
15239
15533
|
constructor(params: {
|
|
15240
15534
|
replyToMsgId: number;
|
|
15241
15535
|
topMsgId?: number;
|
|
15536
|
+
replyToPeerId?: TypeInputPeer;
|
|
15537
|
+
quoteText?: string;
|
|
15538
|
+
quoteEntities?: Array<TypeMessageEntity>;
|
|
15242
15539
|
});
|
|
15243
15540
|
}
|
|
15244
15541
|
export declare class InputReplyToStory extends _TypeInputReplyTo {
|
|
@@ -15334,6 +15631,258 @@ export declare class MediaAreaGeoPoint extends _TypeMediaArea {
|
|
|
15334
15631
|
geo: TypeGeoPoint;
|
|
15335
15632
|
});
|
|
15336
15633
|
}
|
|
15634
|
+
export declare class MediaAreaSuggestedReaction extends _TypeMediaArea {
|
|
15635
|
+
dark?: true;
|
|
15636
|
+
flipped?: true;
|
|
15637
|
+
coordinates: TypeMediaAreaCoordinates;
|
|
15638
|
+
reaction: TypeReaction;
|
|
15639
|
+
protected get [id](): number;
|
|
15640
|
+
static get [paramDesc](): ParamDesc;
|
|
15641
|
+
protected get [params](): Params;
|
|
15642
|
+
constructor(params: {
|
|
15643
|
+
dark?: true;
|
|
15644
|
+
flipped?: true;
|
|
15645
|
+
coordinates: TypeMediaAreaCoordinates;
|
|
15646
|
+
reaction: TypeReaction;
|
|
15647
|
+
});
|
|
15648
|
+
}
|
|
15649
|
+
export declare class PeerStories extends _TypePeerStories {
|
|
15650
|
+
peer: TypePeer;
|
|
15651
|
+
maxReadId?: number;
|
|
15652
|
+
stories: Array<TypeStoryItem>;
|
|
15653
|
+
protected get [id](): number;
|
|
15654
|
+
static get [paramDesc](): ParamDesc;
|
|
15655
|
+
protected get [params](): Params;
|
|
15656
|
+
constructor(params: {
|
|
15657
|
+
peer: TypePeer;
|
|
15658
|
+
maxReadId?: number;
|
|
15659
|
+
stories: Array<TypeStoryItem>;
|
|
15660
|
+
});
|
|
15661
|
+
}
|
|
15662
|
+
export declare class StoriesPeerStories extends _TypeStoriesPeerStories {
|
|
15663
|
+
stories: TypePeerStories;
|
|
15664
|
+
chats: Array<TypeChat>;
|
|
15665
|
+
users: Array<TypeUser>;
|
|
15666
|
+
protected get [id](): number;
|
|
15667
|
+
static get [paramDesc](): ParamDesc;
|
|
15668
|
+
protected get [params](): Params;
|
|
15669
|
+
constructor(params: {
|
|
15670
|
+
stories: TypePeerStories;
|
|
15671
|
+
chats: Array<TypeChat>;
|
|
15672
|
+
users: Array<TypeUser>;
|
|
15673
|
+
});
|
|
15674
|
+
}
|
|
15675
|
+
export declare class MessagesWebPage extends _TypeMessagesWebPage {
|
|
15676
|
+
webpage: TypeWebPage;
|
|
15677
|
+
chats: Array<TypeChat>;
|
|
15678
|
+
users: Array<TypeUser>;
|
|
15679
|
+
protected get [id](): number;
|
|
15680
|
+
static get [paramDesc](): ParamDesc;
|
|
15681
|
+
protected get [params](): Params;
|
|
15682
|
+
constructor(params: {
|
|
15683
|
+
webpage: TypeWebPage;
|
|
15684
|
+
chats: Array<TypeChat>;
|
|
15685
|
+
users: Array<TypeUser>;
|
|
15686
|
+
});
|
|
15687
|
+
}
|
|
15688
|
+
export declare class PremiumGiftCodeOption extends _TypePremiumGiftCodeOption {
|
|
15689
|
+
users: number;
|
|
15690
|
+
months: number;
|
|
15691
|
+
storeProduct?: string;
|
|
15692
|
+
storeQuantity?: number;
|
|
15693
|
+
currency: string;
|
|
15694
|
+
amount: bigint;
|
|
15695
|
+
protected get [id](): number;
|
|
15696
|
+
static get [paramDesc](): ParamDesc;
|
|
15697
|
+
protected get [params](): Params;
|
|
15698
|
+
constructor(params: {
|
|
15699
|
+
users: number;
|
|
15700
|
+
months: number;
|
|
15701
|
+
storeProduct?: string;
|
|
15702
|
+
storeQuantity?: number;
|
|
15703
|
+
currency: string;
|
|
15704
|
+
amount: bigint;
|
|
15705
|
+
});
|
|
15706
|
+
}
|
|
15707
|
+
export declare class PaymentsCheckedGiftCode extends _TypePaymentsCheckedGiftCode {
|
|
15708
|
+
viaGiveaway?: true;
|
|
15709
|
+
fromId: TypePeer;
|
|
15710
|
+
giveawayMsgId?: number;
|
|
15711
|
+
toId?: bigint;
|
|
15712
|
+
date: number;
|
|
15713
|
+
months: number;
|
|
15714
|
+
usedDate?: number;
|
|
15715
|
+
chats: Array<TypeChat>;
|
|
15716
|
+
users: Array<TypeUser>;
|
|
15717
|
+
protected get [id](): number;
|
|
15718
|
+
static get [paramDesc](): ParamDesc;
|
|
15719
|
+
protected get [params](): Params;
|
|
15720
|
+
constructor(params: {
|
|
15721
|
+
viaGiveaway?: true;
|
|
15722
|
+
fromId: TypePeer;
|
|
15723
|
+
giveawayMsgId?: number;
|
|
15724
|
+
toId?: bigint;
|
|
15725
|
+
date: number;
|
|
15726
|
+
months: number;
|
|
15727
|
+
usedDate?: number;
|
|
15728
|
+
chats: Array<TypeChat>;
|
|
15729
|
+
users: Array<TypeUser>;
|
|
15730
|
+
});
|
|
15731
|
+
}
|
|
15732
|
+
export declare class PaymentsGiveawayInfo extends _TypePaymentsGiveawayInfo {
|
|
15733
|
+
participating?: true;
|
|
15734
|
+
preparingResults?: true;
|
|
15735
|
+
startDate: number;
|
|
15736
|
+
joinedTooEarlyDate?: number;
|
|
15737
|
+
adminDisallowedChatId?: bigint;
|
|
15738
|
+
disallowedCountry?: string;
|
|
15739
|
+
protected get [id](): number;
|
|
15740
|
+
static get [paramDesc](): ParamDesc;
|
|
15741
|
+
protected get [params](): Params;
|
|
15742
|
+
constructor(params: {
|
|
15743
|
+
participating?: true;
|
|
15744
|
+
preparingResults?: true;
|
|
15745
|
+
startDate: number;
|
|
15746
|
+
joinedTooEarlyDate?: number;
|
|
15747
|
+
adminDisallowedChatId?: bigint;
|
|
15748
|
+
disallowedCountry?: string;
|
|
15749
|
+
});
|
|
15750
|
+
}
|
|
15751
|
+
export declare class PaymentsGiveawayInfoResults extends _TypePaymentsGiveawayInfo {
|
|
15752
|
+
winner?: true;
|
|
15753
|
+
refunded?: true;
|
|
15754
|
+
startDate: number;
|
|
15755
|
+
giftCodeSlug?: string;
|
|
15756
|
+
finishDate: number;
|
|
15757
|
+
winnersCount: number;
|
|
15758
|
+
activatedCount: number;
|
|
15759
|
+
protected get [id](): number;
|
|
15760
|
+
static get [paramDesc](): ParamDesc;
|
|
15761
|
+
protected get [params](): Params;
|
|
15762
|
+
constructor(params: {
|
|
15763
|
+
winner?: true;
|
|
15764
|
+
refunded?: true;
|
|
15765
|
+
startDate: number;
|
|
15766
|
+
giftCodeSlug?: string;
|
|
15767
|
+
finishDate: number;
|
|
15768
|
+
winnersCount: number;
|
|
15769
|
+
activatedCount: number;
|
|
15770
|
+
});
|
|
15771
|
+
}
|
|
15772
|
+
export declare class PrepaidGiveaway extends _TypePrepaidGiveaway {
|
|
15773
|
+
id: bigint;
|
|
15774
|
+
months: number;
|
|
15775
|
+
quantity: number;
|
|
15776
|
+
date: number;
|
|
15777
|
+
protected get [id](): number;
|
|
15778
|
+
static get [paramDesc](): ParamDesc;
|
|
15779
|
+
protected get [params](): Params;
|
|
15780
|
+
constructor(params: {
|
|
15781
|
+
id: bigint;
|
|
15782
|
+
months: number;
|
|
15783
|
+
quantity: number;
|
|
15784
|
+
date: number;
|
|
15785
|
+
});
|
|
15786
|
+
}
|
|
15787
|
+
export declare class Boost extends _TypeBoost {
|
|
15788
|
+
gift?: true;
|
|
15789
|
+
giveaway?: true;
|
|
15790
|
+
unclaimed?: true;
|
|
15791
|
+
id: string;
|
|
15792
|
+
userId?: bigint;
|
|
15793
|
+
giveawayMsgId?: number;
|
|
15794
|
+
date: number;
|
|
15795
|
+
expires: number;
|
|
15796
|
+
usedGiftSlug?: string;
|
|
15797
|
+
multiplier?: number;
|
|
15798
|
+
protected get [id](): number;
|
|
15799
|
+
static get [paramDesc](): ParamDesc;
|
|
15800
|
+
protected get [params](): Params;
|
|
15801
|
+
constructor(params: {
|
|
15802
|
+
gift?: true;
|
|
15803
|
+
giveaway?: true;
|
|
15804
|
+
unclaimed?: true;
|
|
15805
|
+
id: string;
|
|
15806
|
+
userId?: bigint;
|
|
15807
|
+
giveawayMsgId?: number;
|
|
15808
|
+
date: number;
|
|
15809
|
+
expires: number;
|
|
15810
|
+
usedGiftSlug?: string;
|
|
15811
|
+
multiplier?: number;
|
|
15812
|
+
});
|
|
15813
|
+
}
|
|
15814
|
+
export declare class PremiumBoostsList extends _TypePremiumBoostsList {
|
|
15815
|
+
count: number;
|
|
15816
|
+
boosts: Array<TypeBoost>;
|
|
15817
|
+
nextOffset?: string;
|
|
15818
|
+
users: Array<TypeUser>;
|
|
15819
|
+
protected get [id](): number;
|
|
15820
|
+
static get [paramDesc](): ParamDesc;
|
|
15821
|
+
protected get [params](): Params;
|
|
15822
|
+
constructor(params: {
|
|
15823
|
+
count: number;
|
|
15824
|
+
boosts: Array<TypeBoost>;
|
|
15825
|
+
nextOffset?: string;
|
|
15826
|
+
users: Array<TypeUser>;
|
|
15827
|
+
});
|
|
15828
|
+
}
|
|
15829
|
+
export declare class MyBoost extends _TypeMyBoost {
|
|
15830
|
+
slot: number;
|
|
15831
|
+
peer?: TypePeer;
|
|
15832
|
+
date: number;
|
|
15833
|
+
expires: number;
|
|
15834
|
+
cooldownUntilDate?: number;
|
|
15835
|
+
protected get [id](): number;
|
|
15836
|
+
static get [paramDesc](): ParamDesc;
|
|
15837
|
+
protected get [params](): Params;
|
|
15838
|
+
constructor(params: {
|
|
15839
|
+
slot: number;
|
|
15840
|
+
peer?: TypePeer;
|
|
15841
|
+
date: number;
|
|
15842
|
+
expires: number;
|
|
15843
|
+
cooldownUntilDate?: number;
|
|
15844
|
+
});
|
|
15845
|
+
}
|
|
15846
|
+
export declare class PremiumMyBoosts extends _TypePremiumMyBoosts {
|
|
15847
|
+
myBoosts: Array<TypeMyBoost>;
|
|
15848
|
+
chats: Array<TypeChat>;
|
|
15849
|
+
users: Array<TypeUser>;
|
|
15850
|
+
protected get [id](): number;
|
|
15851
|
+
static get [paramDesc](): ParamDesc;
|
|
15852
|
+
protected get [params](): Params;
|
|
15853
|
+
constructor(params: {
|
|
15854
|
+
myBoosts: Array<TypeMyBoost>;
|
|
15855
|
+
chats: Array<TypeChat>;
|
|
15856
|
+
users: Array<TypeUser>;
|
|
15857
|
+
});
|
|
15858
|
+
}
|
|
15859
|
+
export declare class PremiumBoostsStatus extends _TypePremiumBoostsStatus {
|
|
15860
|
+
myBoost?: true;
|
|
15861
|
+
level: number;
|
|
15862
|
+
currentLevelBoosts: number;
|
|
15863
|
+
boosts: number;
|
|
15864
|
+
giftBoosts?: number;
|
|
15865
|
+
nextLevelBoosts?: number;
|
|
15866
|
+
premiumAudience?: TypeStatsPercentValue;
|
|
15867
|
+
boostUrl: string;
|
|
15868
|
+
prepaidGiveaways?: Array<TypePrepaidGiveaway>;
|
|
15869
|
+
myBoostSlots?: Array<number>;
|
|
15870
|
+
protected get [id](): number;
|
|
15871
|
+
static get [paramDesc](): ParamDesc;
|
|
15872
|
+
protected get [params](): Params;
|
|
15873
|
+
constructor(params: {
|
|
15874
|
+
myBoost?: true;
|
|
15875
|
+
level: number;
|
|
15876
|
+
currentLevelBoosts: number;
|
|
15877
|
+
boosts: number;
|
|
15878
|
+
giftBoosts?: number;
|
|
15879
|
+
nextLevelBoosts?: number;
|
|
15880
|
+
premiumAudience?: TypeStatsPercentValue;
|
|
15881
|
+
boostUrl: string;
|
|
15882
|
+
prepaidGiveaways?: Array<TypePrepaidGiveaway>;
|
|
15883
|
+
myBoostSlots?: Array<number>;
|
|
15884
|
+
});
|
|
15885
|
+
}
|
|
15337
15886
|
export type TypeResPQ = ResPQ;
|
|
15338
15887
|
export type TypePQInnerData = PQInnerDataDC | PQInnerDataTempDC;
|
|
15339
15888
|
export type TypeServerDHParams = ServerDHParamsOK;
|
|
@@ -15365,7 +15914,7 @@ export type TypeInputPeer = InputPeerEmpty | InputPeerSelf | InputPeerChat | Inp
|
|
|
15365
15914
|
export type TypeInputUser = InputUserEmpty | InputUserSelf | InputUser | InputUserFromMessage;
|
|
15366
15915
|
export type TypeInputContact = InputPhoneContact;
|
|
15367
15916
|
export type TypeInputFile = InputFile | InputFileBig;
|
|
15368
|
-
export type TypeInputMedia = InputMediaEmpty | InputMediaUploadedPhoto | InputMediaPhoto | InputMediaGeoPoint | InputMediaContact | InputMediaUploadedDocument | InputMediaDocument | InputMediaVenue | InputMediaPhotoExternal | InputMediaDocumentExternal | InputMediaGame | InputMediaInvoice | InputMediaGeoLive | InputMediaPoll | InputMediaDice | InputMediaStory;
|
|
15917
|
+
export type TypeInputMedia = InputMediaEmpty | InputMediaUploadedPhoto | InputMediaPhoto | InputMediaGeoPoint | InputMediaContact | InputMediaUploadedDocument | InputMediaDocument | InputMediaVenue | InputMediaPhotoExternal | InputMediaDocumentExternal | InputMediaGame | InputMediaInvoice | InputMediaGeoLive | InputMediaPoll | InputMediaDice | InputMediaStory | InputMediaWebPage;
|
|
15369
15918
|
export type TypeInputChatPhoto = InputChatPhotoEmpty | InputChatUploadedPhoto | InputChatPhoto;
|
|
15370
15919
|
export type TypeInputGeoPoint = InputGeoPointEmpty | InputGeoPoint;
|
|
15371
15920
|
export type TypeInputPhoto = InputPhotoEmpty | InputPhoto;
|
|
@@ -15381,8 +15930,8 @@ export type TypeChatParticipant = ChatParticipant | ChatParticipantCreator | Cha
|
|
|
15381
15930
|
export type TypeChatParticipants = ChatParticipantsForbidden | ChatParticipants;
|
|
15382
15931
|
export type TypeChatPhoto = ChatPhotoEmpty | ChatPhoto;
|
|
15383
15932
|
export type TypeMessage = MessageEmpty | Message | MessageService;
|
|
15384
|
-
export type TypeMessageMedia = MessageMediaEmpty | MessageMediaPhoto | MessageMediaGeo | MessageMediaContact | MessageMediaUnsupported | MessageMediaDocument | MessageMediaWebPage | MessageMediaVenue | MessageMediaGame | MessageMediaInvoice | MessageMediaGeoLive | MessageMediaPoll | MessageMediaDice | MessageMediaStory;
|
|
15385
|
-
export type TypeMessageAction = MessageActionEmpty | MessageActionChatCreate | MessageActionChatEditTitle | MessageActionChatEditPhoto | MessageActionChatDeletePhoto | MessageActionChatAddUser | MessageActionChatDeleteUser | MessageActionChatJoinedByLink | MessageActionChannelCreate | MessageActionChatMigrateTo | MessageActionChannelMigrateFrom | MessageActionPinMessage | MessageActionHistoryClear | MessageActionGameScore | MessageActionPaymentSentMe | MessageActionPaymentSent | MessageActionPhoneCall | MessageActionScreenshotTaken | MessageActionCustomAction | MessageActionBotAllowed | MessageActionSecureValuesSentMe | MessageActionSecureValuesSent | MessageActionContactSignUp | MessageActionGeoProximityReached | MessageActionGroupCall | MessageActionInviteToGroupCall | MessageActionSetMessagesTTL | MessageActionGroupCallScheduled | MessageActionSetChatTheme | MessageActionChatJoinedByRequest | MessageActionWebViewDataSentMe | MessageActionWebViewDataSent | MessageActionGiftPremium | MessageActionTopicCreate | MessageActionTopicEdit | MessageActionSuggestProfilePhoto | MessageActionRequestedPeer | MessageActionSetChatWallPaper | MessageActionSetSameChatWallPaper;
|
|
15933
|
+
export type TypeMessageMedia = MessageMediaEmpty | MessageMediaPhoto | MessageMediaGeo | MessageMediaContact | MessageMediaUnsupported | MessageMediaDocument | MessageMediaWebPage | MessageMediaVenue | MessageMediaGame | MessageMediaInvoice | MessageMediaGeoLive | MessageMediaPoll | MessageMediaDice | MessageMediaStory | MessageMediaGiveaway;
|
|
15934
|
+
export type TypeMessageAction = MessageActionEmpty | MessageActionChatCreate | MessageActionChatEditTitle | MessageActionChatEditPhoto | MessageActionChatDeletePhoto | MessageActionChatAddUser | MessageActionChatDeleteUser | MessageActionChatJoinedByLink | MessageActionChannelCreate | MessageActionChatMigrateTo | MessageActionChannelMigrateFrom | MessageActionPinMessage | MessageActionHistoryClear | MessageActionGameScore | MessageActionPaymentSentMe | MessageActionPaymentSent | MessageActionPhoneCall | MessageActionScreenshotTaken | MessageActionCustomAction | MessageActionBotAllowed | MessageActionSecureValuesSentMe | MessageActionSecureValuesSent | MessageActionContactSignUp | MessageActionGeoProximityReached | MessageActionGroupCall | MessageActionInviteToGroupCall | MessageActionSetMessagesTTL | MessageActionGroupCallScheduled | MessageActionSetChatTheme | MessageActionChatJoinedByRequest | MessageActionWebViewDataSentMe | MessageActionWebViewDataSent | MessageActionGiftPremium | MessageActionTopicCreate | MessageActionTopicEdit | MessageActionSuggestProfilePhoto | MessageActionRequestedPeer | MessageActionSetChatWallPaper | MessageActionSetSameChatWallPaper | MessageActionGiftCode | MessageActionGiveawayLaunch;
|
|
15386
15935
|
export type TypeDialog = Dialog | DialogFolder;
|
|
15387
15936
|
export type TypePhoto = PhotoEmpty | Photo;
|
|
15388
15937
|
export type TypePhotoSize = PhotoSizeEmpty | PhotoSize | PhotoCachedSize | PhotoStrippedSize | PhotoSizeProgressive | PhotoPathSize;
|
|
@@ -15409,7 +15958,7 @@ export type TypeMessagesChats = MessagesChats | MessagesChatsSlice;
|
|
|
15409
15958
|
export type TypeMessagesChatFull = MessagesChatFull;
|
|
15410
15959
|
export type TypeMessagesAffectedHistory = MessagesAffectedHistory;
|
|
15411
15960
|
export type TypeMessagesFilter = InputMessagesFilterEmpty | InputMessagesFilterPhotos | InputMessagesFilterVideo | InputMessagesFilterPhotoVideo | InputMessagesFilterDocument | InputMessagesFilterURL | InputMessagesFilterGif | InputMessagesFilterVoice | InputMessagesFilterMusic | InputMessagesFilterChatPhotos | InputMessagesFilterPhoneCalls | InputMessagesFilterRoundVoice | InputMessagesFilterRoundVideo | InputMessagesFilterMyMentions | InputMessagesFilterGeo | InputMessagesFilterContacts | InputMessagesFilterPinned;
|
|
15412
|
-
export type TypeUpdate = UpdateNewMessage | UpdateMessageID | UpdateDeleteMessages | UpdateUserTyping | UpdateChatUserTyping | UpdateChatParticipants | UpdateUserStatus | UpdateUserName | UpdateNewEncryptedMessage | UpdateEncryptedChatTyping | UpdateEncryption | UpdateEncryptedMessagesRead | UpdateChatParticipantAdd | UpdateChatParticipantDelete | UpdateDcOptions | UpdateNotifySettings | UpdateServiceNotification | UpdatePrivacy | UpdateUserPhone | UpdateReadHistoryInbox | UpdateReadHistoryOutbox | UpdateWebPage | UpdateReadMessagesContents | UpdateChannelTooLong | UpdateChannel | UpdateNewChannelMessage | UpdateReadChannelInbox | UpdateDeleteChannelMessages | UpdateChannelMessageViews | UpdateChatParticipantAdmin | UpdateNewStickerSet | UpdateStickerSetsOrder | UpdateStickerSets | UpdateSavedGifs | UpdateBotInlineQuery | UpdateBotInlineSend | UpdateEditChannelMessage | UpdateBotCallbackQuery | UpdateEditMessage | UpdateInlineBotCallbackQuery | UpdateReadChannelOutbox | UpdateDraftMessage | UpdateReadFeaturedStickers | UpdateRecentStickers | UpdateConfig | UpdatePtsChanged | UpdateChannelWebPage | UpdateDialogPinned | UpdatePinnedDialogs | UpdateBotWebhookJSON | UpdateBotWebhookJSONQuery | UpdateBotShippingQuery | UpdateBotPrecheckoutQuery | UpdatePhoneCall | UpdateLangPackTooLong | UpdateLangPack | UpdateFavedStickers | UpdateChannelReadMessagesContents | UpdateContactsReset | UpdateChannelAvailableMessages | UpdateDialogUnreadMark | UpdateMessagePoll | UpdateChatDefaultBannedRights | UpdateFolderPeers | UpdatePeerSettings | UpdatePeerLocated | UpdateNewScheduledMessage | UpdateDeleteScheduledMessages | UpdateTheme | UpdateGeoLiveViewed | UpdateLoginToken | UpdateMessagePollVote | UpdateDialogFilter | UpdateDialogFilterOrder | UpdateDialogFilters | UpdatePhoneCallSignalingData | UpdateChannelMessageForwards | UpdateReadChannelDiscussionInbox | UpdateReadChannelDiscussionOutbox | UpdatePeerBlocked | UpdateChannelUserTyping | UpdatePinnedMessages | UpdatePinnedChannelMessages | UpdateChat | UpdateGroupCallParticipants | UpdateGroupCall | UpdatePeerHistoryTTL | UpdateChatParticipant | UpdateChannelParticipant | UpdateBotStopped | UpdateGroupCallConnection | UpdateBotCommands | UpdatePendingJoinRequests | UpdateBotChatInviteRequester | UpdateMessageReactions | UpdateAttachMenuBots | UpdateWebViewResultSent | UpdateBotMenuButton | UpdateSavedRingtones | UpdateTranscribedAudio | UpdateReadFeaturedEmojiStickers | UpdateUserEmojiStatus | UpdateRecentEmojiStatuses | UpdateRecentReactions | UpdateMoveStickerSetToTop | UpdateMessageExtendedMedia | UpdateChannelPinnedTopic | UpdateChannelPinnedTopics | UpdateUser | UpdateAutoSaveSettings | UpdateGroupInvitePrivacyForbidden | UpdateStory | UpdateReadStories | UpdateStoryID | UpdateStoriesStealthMode | UpdateSentStoryReaction;
|
|
15961
|
+
export type TypeUpdate = UpdateNewMessage | UpdateMessageID | UpdateDeleteMessages | UpdateUserTyping | UpdateChatUserTyping | UpdateChatParticipants | UpdateUserStatus | UpdateUserName | UpdateNewAuthorization | UpdateNewEncryptedMessage | UpdateEncryptedChatTyping | UpdateEncryption | UpdateEncryptedMessagesRead | UpdateChatParticipantAdd | UpdateChatParticipantDelete | UpdateDcOptions | UpdateNotifySettings | UpdateServiceNotification | UpdatePrivacy | UpdateUserPhone | UpdateReadHistoryInbox | UpdateReadHistoryOutbox | UpdateWebPage | UpdateReadMessagesContents | UpdateChannelTooLong | UpdateChannel | UpdateNewChannelMessage | UpdateReadChannelInbox | UpdateDeleteChannelMessages | UpdateChannelMessageViews | UpdateChatParticipantAdmin | UpdateNewStickerSet | UpdateStickerSetsOrder | UpdateStickerSets | UpdateSavedGifs | UpdateBotInlineQuery | UpdateBotInlineSend | UpdateEditChannelMessage | UpdateBotCallbackQuery | UpdateEditMessage | UpdateInlineBotCallbackQuery | UpdateReadChannelOutbox | UpdateDraftMessage | UpdateReadFeaturedStickers | UpdateRecentStickers | UpdateConfig | UpdatePtsChanged | UpdateChannelWebPage | UpdateDialogPinned | UpdatePinnedDialogs | UpdateBotWebhookJSON | UpdateBotWebhookJSONQuery | UpdateBotShippingQuery | UpdateBotPrecheckoutQuery | UpdatePhoneCall | UpdateLangPackTooLong | UpdateLangPack | UpdateFavedStickers | UpdateChannelReadMessagesContents | UpdateContactsReset | UpdateChannelAvailableMessages | UpdateDialogUnreadMark | UpdateMessagePoll | UpdateChatDefaultBannedRights | UpdateFolderPeers | UpdatePeerSettings | UpdatePeerLocated | UpdateNewScheduledMessage | UpdateDeleteScheduledMessages | UpdateTheme | UpdateGeoLiveViewed | UpdateLoginToken | UpdateMessagePollVote | UpdateDialogFilter | UpdateDialogFilterOrder | UpdateDialogFilters | UpdatePhoneCallSignalingData | UpdateChannelMessageForwards | UpdateReadChannelDiscussionInbox | UpdateReadChannelDiscussionOutbox | UpdatePeerBlocked | UpdateChannelUserTyping | UpdatePinnedMessages | UpdatePinnedChannelMessages | UpdateChat | UpdateGroupCallParticipants | UpdateGroupCall | UpdatePeerHistoryTTL | UpdateChatParticipant | UpdateChannelParticipant | UpdateBotStopped | UpdateGroupCallConnection | UpdateBotCommands | UpdatePendingJoinRequests | UpdateBotChatInviteRequester | UpdateMessageReactions | UpdateAttachMenuBots | UpdateWebViewResultSent | UpdateBotMenuButton | UpdateSavedRingtones | UpdateTranscribedAudio | UpdateReadFeaturedEmojiStickers | UpdateUserEmojiStatus | UpdateRecentEmojiStatuses | UpdateRecentReactions | UpdateMoveStickerSetToTop | UpdateMessageExtendedMedia | UpdateChannelPinnedTopic | UpdateChannelPinnedTopics | UpdateUser | UpdateAutoSaveSettings | UpdateGroupInvitePrivacyForbidden | UpdateStory | UpdateReadStories | UpdateStoryID | UpdateStoriesStealthMode | UpdateSentStoryReaction;
|
|
15413
15962
|
export type TypeUpdatesState = UpdatesState;
|
|
15414
15963
|
export type TypeUpdatesDifference = UpdatesDifferenceEmpty | UpdatesDifference | UpdatesDifferenceSlice | UpdatesDifferenceTooLong;
|
|
15415
15964
|
export type TypeUpdates = UpdatesTooLong | UpdateShortMessage | UpdateShortChatMessage | UpdateShort | UpdatesCombined | Updates | UpdateShortSentMessage;
|
|
@@ -15463,7 +16012,7 @@ export type TypeBotInfo = BotInfo;
|
|
|
15463
16012
|
export type TypeKeyboardButton = KeyboardButton | KeyboardButtonURL | KeyboardButtonCallback | KeyboardButtonRequestPhone | KeyboardButtonRequestGeoLocation | KeyboardButtonSwitchInline | KeyboardButtonGame | KeyboardButtonBuy | KeyboardButtonURLAuth | InputKeyboardButtonURLAuth | KeyboardButtonRequestPoll | InputKeyboardButtonUserProfile | KeyboardButtonUserProfile | KeyboardButtonWebView | KeyboardButtonSimpleWebView | KeyboardButtonRequestPeer;
|
|
15464
16013
|
export type TypeKeyboardButtonRow = KeyboardButtonRow;
|
|
15465
16014
|
export type TypeReplyMarkup = ReplyKeyboardHide | ReplyKeyboardForceReply | ReplyKeyboardMarkup | ReplyInlineMarkup;
|
|
15466
|
-
export type TypeMessageEntity = MessageEntityUnknown | MessageEntityMention | MessageEntityHashtag | MessageEntityBotCommand | MessageEntityURL | MessageEntityEmail | MessageEntityBold | MessageEntityItalic | MessageEntityCode | MessageEntityPre | MessageEntityTextURL | MessageEntityMentionName | InputMessageEntityMentionName | MessageEntityPhone | MessageEntityCashtag | MessageEntityUnderline | MessageEntityStrike |
|
|
16015
|
+
export type TypeMessageEntity = MessageEntityUnknown | MessageEntityMention | MessageEntityHashtag | MessageEntityBotCommand | MessageEntityURL | MessageEntityEmail | MessageEntityBold | MessageEntityItalic | MessageEntityCode | MessageEntityPre | MessageEntityTextURL | MessageEntityMentionName | InputMessageEntityMentionName | MessageEntityPhone | MessageEntityCashtag | MessageEntityUnderline | MessageEntityStrike | MessageEntityBankCard | MessageEntitySpoiler | MessageEntityCustomEmoji | MessageEntityBlockquote;
|
|
15467
16016
|
export type TypeInputChannel = InputChannelEmpty | InputChannel | InputChannelFromMessage;
|
|
15468
16017
|
export type TypeContactsResolvedPeer = ContactsResolvedPeer;
|
|
15469
16018
|
export type TypeMessageRange = MessageRange;
|
|
@@ -15475,9 +16024,9 @@ export type TypeChannelsChannelParticipants = ChannelsChannelParticipants | Chan
|
|
|
15475
16024
|
export type TypeChannelsChannelParticipant = ChannelsChannelParticipant;
|
|
15476
16025
|
export type TypeHelpTermsOfService = HelpTermsOfService;
|
|
15477
16026
|
export type TypeMessagesSavedGifs = MessagesSavedGifsNotModified | MessagesSavedGifs;
|
|
15478
|
-
export type TypeInputBotInlineMessage = InputBotInlineMessageMediaAuto | InputBotInlineMessageText | InputBotInlineMessageMediaGeo | InputBotInlineMessageMediaVenue | InputBotInlineMessageMediaContact | InputBotInlineMessageGame | InputBotInlineMessageMediaInvoice;
|
|
16027
|
+
export type TypeInputBotInlineMessage = InputBotInlineMessageMediaAuto | InputBotInlineMessageText | InputBotInlineMessageMediaGeo | InputBotInlineMessageMediaVenue | InputBotInlineMessageMediaContact | InputBotInlineMessageGame | InputBotInlineMessageMediaInvoice | InputBotInlineMessageMediaWebPage;
|
|
15479
16028
|
export type TypeInputBotInlineResult = InputBotInlineResult | InputBotInlineResultPhoto | InputBotInlineResultDocument | InputBotInlineResultGame;
|
|
15480
|
-
export type TypeBotInlineMessage = BotInlineMessageMediaAuto | BotInlineMessageText | BotInlineMessageMediaGeo | BotInlineMessageMediaVenue | BotInlineMessageMediaContact | BotInlineMessageMediaInvoice;
|
|
16029
|
+
export type TypeBotInlineMessage = BotInlineMessageMediaAuto | BotInlineMessageText | BotInlineMessageMediaGeo | BotInlineMessageMediaVenue | BotInlineMessageMediaContact | BotInlineMessageMediaInvoice | BotInlineMessageMediaWebPage;
|
|
15481
16030
|
export type TypeBotInlineResult = BotInlineResult | BotInlineMediaResult;
|
|
15482
16031
|
export type TypeMessagesBotResults = MessagesBotResults;
|
|
15483
16032
|
export type TypeExportedMessageLink = ExportedMessageLink;
|
|
@@ -15539,7 +16088,7 @@ export type TypeCdnConfig = CdnConfig;
|
|
|
15539
16088
|
export type TypeLangPackString = LangPackString | LangPackStringPluralized | LangPackStringDeleted;
|
|
15540
16089
|
export type TypeLangPackDifference = LangPackDifference;
|
|
15541
16090
|
export type TypeLangPackLanguage = LangPackLanguage;
|
|
15542
|
-
export type TypeChannelAdminLogEventAction = ChannelAdminLogEventActionChangeTitle | ChannelAdminLogEventActionChangeAbout | ChannelAdminLogEventActionChangeUsername | ChannelAdminLogEventActionChangePhoto | ChannelAdminLogEventActionToggleInvites | ChannelAdminLogEventActionToggleSignatures | ChannelAdminLogEventActionUpdatePinned | ChannelAdminLogEventActionEditMessage | ChannelAdminLogEventActionDeleteMessage | ChannelAdminLogEventActionParticipantJoin | ChannelAdminLogEventActionParticipantLeave | ChannelAdminLogEventActionParticipantInvite | ChannelAdminLogEventActionParticipantToggleBan | ChannelAdminLogEventActionParticipantToggleAdmin | ChannelAdminLogEventActionChangeStickerSet | ChannelAdminLogEventActionTogglePreHistoryHidden | ChannelAdminLogEventActionDefaultBannedRights | ChannelAdminLogEventActionStopPoll | ChannelAdminLogEventActionChangeLinkedChat | ChannelAdminLogEventActionChangeLocation | ChannelAdminLogEventActionToggleSlowMode | ChannelAdminLogEventActionStartGroupCall | ChannelAdminLogEventActionDiscardGroupCall | ChannelAdminLogEventActionParticipantMute | ChannelAdminLogEventActionParticipantUnmute | ChannelAdminLogEventActionToggleGroupCallSetting | ChannelAdminLogEventActionParticipantJoinByInvite | ChannelAdminLogEventActionExportedInviteDelete | ChannelAdminLogEventActionExportedInviteRevoke | ChannelAdminLogEventActionExportedInviteEdit | ChannelAdminLogEventActionParticipantVolume | ChannelAdminLogEventActionChangeHistoryTTL | ChannelAdminLogEventActionParticipantJoinByRequest | ChannelAdminLogEventActionToggleNoForwards | ChannelAdminLogEventActionSendMessage | ChannelAdminLogEventActionChangeAvailableReactions | ChannelAdminLogEventActionChangeUsernames | ChannelAdminLogEventActionToggleForum | ChannelAdminLogEventActionCreateTopic | ChannelAdminLogEventActionEditTopic | ChannelAdminLogEventActionDeleteTopic | ChannelAdminLogEventActionPinTopic | ChannelAdminLogEventActionToggleAntiSpam;
|
|
16091
|
+
export type TypeChannelAdminLogEventAction = ChannelAdminLogEventActionChangeTitle | ChannelAdminLogEventActionChangeAbout | ChannelAdminLogEventActionChangeUsername | ChannelAdminLogEventActionChangePhoto | ChannelAdminLogEventActionToggleInvites | ChannelAdminLogEventActionToggleSignatures | ChannelAdminLogEventActionUpdatePinned | ChannelAdminLogEventActionEditMessage | ChannelAdminLogEventActionDeleteMessage | ChannelAdminLogEventActionParticipantJoin | ChannelAdminLogEventActionParticipantLeave | ChannelAdminLogEventActionParticipantInvite | ChannelAdminLogEventActionParticipantToggleBan | ChannelAdminLogEventActionParticipantToggleAdmin | ChannelAdminLogEventActionChangeStickerSet | ChannelAdminLogEventActionTogglePreHistoryHidden | ChannelAdminLogEventActionDefaultBannedRights | ChannelAdminLogEventActionStopPoll | ChannelAdminLogEventActionChangeLinkedChat | ChannelAdminLogEventActionChangeLocation | ChannelAdminLogEventActionToggleSlowMode | ChannelAdminLogEventActionStartGroupCall | ChannelAdminLogEventActionDiscardGroupCall | ChannelAdminLogEventActionParticipantMute | ChannelAdminLogEventActionParticipantUnmute | ChannelAdminLogEventActionToggleGroupCallSetting | ChannelAdminLogEventActionParticipantJoinByInvite | ChannelAdminLogEventActionExportedInviteDelete | ChannelAdminLogEventActionExportedInviteRevoke | ChannelAdminLogEventActionExportedInviteEdit | ChannelAdminLogEventActionParticipantVolume | ChannelAdminLogEventActionChangeHistoryTTL | ChannelAdminLogEventActionParticipantJoinByRequest | ChannelAdminLogEventActionToggleNoForwards | ChannelAdminLogEventActionSendMessage | ChannelAdminLogEventActionChangeAvailableReactions | ChannelAdminLogEventActionChangeUsernames | ChannelAdminLogEventActionToggleForum | ChannelAdminLogEventActionCreateTopic | ChannelAdminLogEventActionEditTopic | ChannelAdminLogEventActionDeleteTopic | ChannelAdminLogEventActionPinTopic | ChannelAdminLogEventActionToggleAntiSpam | ChannelAdminLogEventActionChangeColor | ChannelAdminLogEventActionChangeBackgroundEmoji;
|
|
15543
16092
|
export type TypeChannelAdminLogEvent = ChannelAdminLogEvent;
|
|
15544
16093
|
export type TypeChannelsAdminLogResults = ChannelsAdminLogResults;
|
|
15545
16094
|
export type TypeChannelAdminLogEventsFilter = ChannelAdminLogEventsFilter;
|
|
@@ -15709,11 +16258,11 @@ export type TypeAccountSavedRingtones = AccountSavedRingtonesNotModified | Accou
|
|
|
15709
16258
|
export type TypeNotificationSound = NotificationSoundDefault | NotificationSoundNone | NotificationSoundLocal | NotificationSoundRingtone;
|
|
15710
16259
|
export type TypeAccountSavedRingtone = AccountSavedRingtone | AccountSavedRingtoneConverted;
|
|
15711
16260
|
export type TypeAttachMenuPeerType = AttachMenuPeerTypeSameBotPM | AttachMenuPeerTypeBotPM | AttachMenuPeerTypePM | AttachMenuPeerTypeChat | AttachMenuPeerTypeBroadcast;
|
|
15712
|
-
export type TypeInputInvoice = InputInvoiceMessage | InputInvoiceSlug;
|
|
16261
|
+
export type TypeInputInvoice = InputInvoiceMessage | InputInvoiceSlug | InputInvoicePremiumGiftCode;
|
|
15713
16262
|
export type TypePaymentsExportedInvoice = PaymentsExportedInvoice;
|
|
15714
16263
|
export type TypeMessagesTranscribedAudio = MessagesTranscribedAudio;
|
|
15715
16264
|
export type TypeHelpPremiumPromo = HelpPremiumPromo;
|
|
15716
|
-
export type TypeInputStorePaymentPurpose = InputStorePaymentPremiumSubscription | InputStorePaymentGiftPremium;
|
|
16265
|
+
export type TypeInputStorePaymentPurpose = InputStorePaymentPremiumSubscription | InputStorePaymentGiftPremium | InputStorePaymentPremiumGiftCode | InputStorePaymentPremiumGiveaway;
|
|
15717
16266
|
export type TypePremiumGiftOption = PremiumGiftOption;
|
|
15718
16267
|
export type TypePaymentFormMethod = PaymentFormMethod;
|
|
15719
16268
|
export type TypeEmojiStatus = EmojiStatusEmpty | EmojiStatus | EmojiStatusUntil;
|
|
@@ -15760,10 +16309,8 @@ export type TypeMessagePeerVote = MessagePeerVote | MessagePeerVoteInputOption |
|
|
|
15760
16309
|
export type TypeSponsoredWebPage = SponsoredWebPage;
|
|
15761
16310
|
export type TypeStoryViews = StoryViews;
|
|
15762
16311
|
export type TypeStoryItem = StoryItemDeleted | StoryItemSkipped | StoryItem;
|
|
15763
|
-
export type TypeUserStories = UserStories;
|
|
15764
16312
|
export type TypeStoriesAllStories = StoriesAllStoriesNotModified | StoriesAllStories;
|
|
15765
16313
|
export type TypeStoriesStories = StoriesStories;
|
|
15766
|
-
export type TypeStoriesUserStories = StoriesUserStories;
|
|
15767
16314
|
export type TypeStoryView = StoryView;
|
|
15768
16315
|
export type TypeStoriesStoryViewsList = StoriesStoryViewsList;
|
|
15769
16316
|
export type TypeStoriesStoryViews = StoriesStoryViews;
|
|
@@ -15771,5 +16318,17 @@ export type TypeInputReplyTo = InputReplyToMessage | InputReplyToStory;
|
|
|
15771
16318
|
export type TypeExportedStoryLink = ExportedStoryLink;
|
|
15772
16319
|
export type TypeStoriesStealthMode = StoriesStealthMode;
|
|
15773
16320
|
export type TypeMediaAreaCoordinates = MediaAreaCoordinates;
|
|
15774
|
-
export type TypeMediaArea = MediaAreaVenue | InputMediaAreaVenue | MediaAreaGeoPoint;
|
|
16321
|
+
export type TypeMediaArea = MediaAreaVenue | InputMediaAreaVenue | MediaAreaGeoPoint | MediaAreaSuggestedReaction;
|
|
16322
|
+
export type TypePeerStories = PeerStories;
|
|
16323
|
+
export type TypeStoriesPeerStories = StoriesPeerStories;
|
|
16324
|
+
export type TypeMessagesWebPage = MessagesWebPage;
|
|
16325
|
+
export type TypePremiumGiftCodeOption = PremiumGiftCodeOption;
|
|
16326
|
+
export type TypePaymentsCheckedGiftCode = PaymentsCheckedGiftCode;
|
|
16327
|
+
export type TypePaymentsGiveawayInfo = PaymentsGiveawayInfo | PaymentsGiveawayInfoResults;
|
|
16328
|
+
export type TypePrepaidGiveaway = PrepaidGiveaway;
|
|
16329
|
+
export type TypeBoost = Boost;
|
|
16330
|
+
export type TypePremiumBoostsList = PremiumBoostsList;
|
|
16331
|
+
export type TypeMyBoost = MyBoost;
|
|
16332
|
+
export type TypePremiumMyBoosts = PremiumMyBoosts;
|
|
16333
|
+
export type TypePremiumBoostsStatus = PremiumBoostsStatus;
|
|
15775
16334
|
export declare const map: Map<number, TLObjectConstructor<TLObject>>;
|