@effect-ak/tg-bot-client 0.6.3 → 0.6.4
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/dist/bot.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as effect_Types from 'effect/Types';
|
|
2
|
-
import { A as Api, U as Update, a as TgBotApiToken, T as TgBotClientError } from './config-
|
|
2
|
+
import { A as Api, U as Update, a as TgBotApiToken, T as TgBotClientError } from './config-3uU0YevV.js';
|
|
3
3
|
import * as effect_Cause from 'effect/Cause';
|
|
4
4
|
import * as Micro from 'effect/Micro';
|
|
5
5
|
import * as Data from 'effect/Data';
|
|
@@ -187,6 +187,7 @@ interface Chat {
|
|
|
187
187
|
first_name?: string;
|
|
188
188
|
last_name?: string;
|
|
189
189
|
is_forum?: boolean;
|
|
190
|
+
is_direct_messages?: boolean;
|
|
190
191
|
}
|
|
191
192
|
interface ChatAdministratorRights {
|
|
192
193
|
is_anonymous: boolean;
|
|
@@ -204,6 +205,7 @@ interface ChatAdministratorRights {
|
|
|
204
205
|
can_edit_messages?: boolean;
|
|
205
206
|
can_pin_messages?: boolean;
|
|
206
207
|
can_manage_topics?: boolean;
|
|
208
|
+
can_manage_direct_messages?: boolean;
|
|
207
209
|
}
|
|
208
210
|
interface ChatBackground {
|
|
209
211
|
type: BackgroundType;
|
|
@@ -254,6 +256,7 @@ interface ChatFullInfo {
|
|
|
254
256
|
first_name?: string;
|
|
255
257
|
last_name?: string;
|
|
256
258
|
is_forum?: boolean;
|
|
259
|
+
is_direct_messages?: boolean;
|
|
257
260
|
photo?: ChatPhoto;
|
|
258
261
|
active_usernames?: string[];
|
|
259
262
|
birthdate?: Birthdate;
|
|
@@ -261,6 +264,7 @@ interface ChatFullInfo {
|
|
|
261
264
|
business_location?: BusinessLocation;
|
|
262
265
|
business_opening_hours?: BusinessOpeningHours;
|
|
263
266
|
personal_chat?: Chat;
|
|
267
|
+
parent_chat?: Chat;
|
|
264
268
|
available_reactions?: ReactionType[];
|
|
265
269
|
background_custom_emoji_id?: string;
|
|
266
270
|
profile_accent_color_id?: number;
|
|
@@ -335,6 +339,7 @@ interface ChatMemberAdministrator {
|
|
|
335
339
|
can_edit_messages?: boolean;
|
|
336
340
|
can_pin_messages?: boolean;
|
|
337
341
|
can_manage_topics?: boolean;
|
|
342
|
+
can_manage_direct_messages?: boolean;
|
|
338
343
|
custom_title?: string;
|
|
339
344
|
}
|
|
340
345
|
interface ChatMemberBanned {
|
|
@@ -464,6 +469,10 @@ interface DirectMessagePriceChanged {
|
|
|
464
469
|
are_direct_messages_enabled: boolean;
|
|
465
470
|
direct_message_star_count?: number;
|
|
466
471
|
}
|
|
472
|
+
interface DirectMessagesTopic {
|
|
473
|
+
topic_id: number;
|
|
474
|
+
user?: User;
|
|
475
|
+
}
|
|
467
476
|
interface Document {
|
|
468
477
|
file_id: string;
|
|
469
478
|
file_unique_id: string;
|
|
@@ -566,6 +575,7 @@ interface Gift {
|
|
|
566
575
|
upgrade_star_count?: number;
|
|
567
576
|
total_count?: number;
|
|
568
577
|
remaining_count?: number;
|
|
578
|
+
publisher_chat?: Chat;
|
|
569
579
|
}
|
|
570
580
|
interface GiftInfo {
|
|
571
581
|
gift: Gift;
|
|
@@ -1188,6 +1198,7 @@ interface Message {
|
|
|
1188
1198
|
date: number;
|
|
1189
1199
|
chat: Chat;
|
|
1190
1200
|
message_thread_id?: number;
|
|
1201
|
+
direct_messages_topic?: DirectMessagesTopic;
|
|
1191
1202
|
from?: User;
|
|
1192
1203
|
sender_chat?: Chat;
|
|
1193
1204
|
sender_boost_count?: number;
|
|
@@ -1200,16 +1211,19 @@ interface Message {
|
|
|
1200
1211
|
external_reply?: ExternalReplyInfo;
|
|
1201
1212
|
quote?: TextQuote;
|
|
1202
1213
|
reply_to_story?: Story;
|
|
1214
|
+
reply_to_checklist_task_id?: number;
|
|
1203
1215
|
via_bot?: User;
|
|
1204
1216
|
edit_date?: number;
|
|
1205
1217
|
has_protected_content?: boolean;
|
|
1206
1218
|
is_from_offline?: boolean;
|
|
1219
|
+
is_paid_post?: boolean;
|
|
1207
1220
|
media_group_id?: string;
|
|
1208
1221
|
author_signature?: string;
|
|
1209
1222
|
paid_star_count?: number;
|
|
1210
1223
|
text?: string;
|
|
1211
1224
|
entities?: MessageEntity[];
|
|
1212
1225
|
link_preview_options?: LinkPreviewOptions;
|
|
1226
|
+
suggested_post_info?: SuggestedPostInfo;
|
|
1213
1227
|
effect_id?: string;
|
|
1214
1228
|
animation?: Animation;
|
|
1215
1229
|
audio?: Audio;
|
|
@@ -1271,6 +1285,11 @@ interface Message {
|
|
|
1271
1285
|
giveaway_winners?: GiveawayWinners;
|
|
1272
1286
|
giveaway_completed?: GiveawayCompleted;
|
|
1273
1287
|
paid_message_price_changed?: PaidMessagePriceChanged;
|
|
1288
|
+
suggested_post_approved?: SuggestedPostApproved;
|
|
1289
|
+
suggested_post_approval_failed?: SuggestedPostApprovalFailed;
|
|
1290
|
+
suggested_post_declined?: SuggestedPostDeclined;
|
|
1291
|
+
suggested_post_paid?: SuggestedPostPaid;
|
|
1292
|
+
suggested_post_refunded?: SuggestedPostRefunded;
|
|
1274
1293
|
video_chat_scheduled?: VideoChatScheduled;
|
|
1275
1294
|
video_chat_started?: VideoChatStarted;
|
|
1276
1295
|
video_chat_ended?: VideoChatEnded;
|
|
@@ -1557,6 +1576,7 @@ interface ReplyParameters {
|
|
|
1557
1576
|
quote_parse_mode?: "HTML" | "MarkdownV2";
|
|
1558
1577
|
quote_entities?: MessageEntity[];
|
|
1559
1578
|
quote_position?: number;
|
|
1579
|
+
checklist_task_id?: number;
|
|
1560
1580
|
}
|
|
1561
1581
|
interface ResponseParameters {
|
|
1562
1582
|
migrate_to_chat_id?: number;
|
|
@@ -1697,6 +1717,42 @@ interface SuccessfulPayment {
|
|
|
1697
1717
|
shipping_option_id?: string;
|
|
1698
1718
|
order_info?: OrderInfo;
|
|
1699
1719
|
}
|
|
1720
|
+
interface SuggestedPostApprovalFailed {
|
|
1721
|
+
price: SuggestedPostPrice;
|
|
1722
|
+
suggested_post_message?: Message;
|
|
1723
|
+
}
|
|
1724
|
+
interface SuggestedPostApproved {
|
|
1725
|
+
send_date: number;
|
|
1726
|
+
suggested_post_message?: Message;
|
|
1727
|
+
price?: SuggestedPostPrice;
|
|
1728
|
+
}
|
|
1729
|
+
interface SuggestedPostDeclined {
|
|
1730
|
+
suggested_post_message?: Message;
|
|
1731
|
+
comment?: string;
|
|
1732
|
+
}
|
|
1733
|
+
interface SuggestedPostInfo {
|
|
1734
|
+
state: "pending" | "approved" | "declined";
|
|
1735
|
+
price?: SuggestedPostPrice;
|
|
1736
|
+
send_date?: number;
|
|
1737
|
+
}
|
|
1738
|
+
interface SuggestedPostPaid {
|
|
1739
|
+
currency: "XTR" | "TON";
|
|
1740
|
+
suggested_post_message?: Message;
|
|
1741
|
+
amount?: number;
|
|
1742
|
+
star_amount?: StarAmount;
|
|
1743
|
+
}
|
|
1744
|
+
interface SuggestedPostParameters {
|
|
1745
|
+
price?: SuggestedPostPrice;
|
|
1746
|
+
send_date?: number;
|
|
1747
|
+
}
|
|
1748
|
+
interface SuggestedPostPrice {
|
|
1749
|
+
currency: "XTR" | "TON";
|
|
1750
|
+
amount: number;
|
|
1751
|
+
}
|
|
1752
|
+
interface SuggestedPostRefunded {
|
|
1753
|
+
reason: "post_deleted" | "payment_refunded";
|
|
1754
|
+
suggested_post_message?: Message;
|
|
1755
|
+
}
|
|
1700
1756
|
interface SwitchInlineQueryChosenChat {
|
|
1701
1757
|
query?: string;
|
|
1702
1758
|
allow_user_chats?: boolean;
|
|
@@ -1754,6 +1810,7 @@ interface UniqueGift {
|
|
|
1754
1810
|
model: UniqueGiftModel;
|
|
1755
1811
|
symbol: UniqueGiftSymbol;
|
|
1756
1812
|
backdrop: UniqueGiftBackdrop;
|
|
1813
|
+
publisher_chat?: Chat;
|
|
1757
1814
|
}
|
|
1758
1815
|
interface UniqueGiftBackdrop {
|
|
1759
1816
|
name: string;
|
|
@@ -1915,6 +1972,7 @@ interface Api {
|
|
|
1915
1972
|
answer_shipping_query(_: AnswerShippingQueryInput): boolean;
|
|
1916
1973
|
answer_web_app_query(_: AnswerWebAppQueryInput): SentWebAppMessage;
|
|
1917
1974
|
approve_chat_join_request(_: ApproveChatJoinRequestInput): boolean;
|
|
1975
|
+
approve_suggested_post(_: ApproveSuggestedPostInput): boolean;
|
|
1918
1976
|
ban_chat_member(_: BanChatMemberInput): boolean;
|
|
1919
1977
|
ban_chat_sender_chat(_: BanChatSenderChatInput): boolean;
|
|
1920
1978
|
close(_: CloseInput): boolean;
|
|
@@ -1929,6 +1987,7 @@ interface Api {
|
|
|
1929
1987
|
create_invoice_link(_: CreateInvoiceLinkInput): string;
|
|
1930
1988
|
create_new_sticker_set(_: CreateNewStickerSetInput): boolean;
|
|
1931
1989
|
decline_chat_join_request(_: DeclineChatJoinRequestInput): boolean;
|
|
1990
|
+
decline_suggested_post(_: DeclineSuggestedPostInput): boolean;
|
|
1932
1991
|
delete_business_messages(_: DeleteBusinessMessagesInput): boolean;
|
|
1933
1992
|
delete_chat_photo(_: DeleteChatPhotoInput): boolean;
|
|
1934
1993
|
delete_chat_sticker_set(_: DeleteChatStickerSetInput): boolean;
|
|
@@ -2104,6 +2163,11 @@ interface ApproveChatJoinRequestInput {
|
|
|
2104
2163
|
chat_id: number | string;
|
|
2105
2164
|
user_id: number;
|
|
2106
2165
|
}
|
|
2166
|
+
interface ApproveSuggestedPostInput {
|
|
2167
|
+
chat_id: number;
|
|
2168
|
+
message_id: number;
|
|
2169
|
+
send_date?: number;
|
|
2170
|
+
}
|
|
2107
2171
|
interface BanChatMemberInput {
|
|
2108
2172
|
chat_id: number | string;
|
|
2109
2173
|
user_id: number;
|
|
@@ -2132,6 +2196,7 @@ interface CopyMessageInput {
|
|
|
2132
2196
|
from_chat_id: number | string;
|
|
2133
2197
|
message_id: number;
|
|
2134
2198
|
message_thread_id?: number;
|
|
2199
|
+
direct_messages_topic_id?: number;
|
|
2135
2200
|
video_start_timestamp?: number;
|
|
2136
2201
|
caption?: string;
|
|
2137
2202
|
parse_mode?: "HTML" | "MarkdownV2";
|
|
@@ -2140,6 +2205,7 @@ interface CopyMessageInput {
|
|
|
2140
2205
|
disable_notification?: boolean;
|
|
2141
2206
|
protect_content?: boolean;
|
|
2142
2207
|
allow_paid_broadcast?: boolean;
|
|
2208
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2143
2209
|
reply_parameters?: ReplyParameters;
|
|
2144
2210
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2145
2211
|
}
|
|
@@ -2148,6 +2214,7 @@ interface CopyMessagesInput {
|
|
|
2148
2214
|
from_chat_id: number | string;
|
|
2149
2215
|
message_ids: number[];
|
|
2150
2216
|
message_thread_id?: number;
|
|
2217
|
+
direct_messages_topic_id?: number;
|
|
2151
2218
|
disable_notification?: boolean;
|
|
2152
2219
|
protect_content?: boolean;
|
|
2153
2220
|
remove_caption?: boolean;
|
|
@@ -2207,6 +2274,11 @@ interface DeclineChatJoinRequestInput {
|
|
|
2207
2274
|
chat_id: number | string;
|
|
2208
2275
|
user_id: number;
|
|
2209
2276
|
}
|
|
2277
|
+
interface DeclineSuggestedPostInput {
|
|
2278
|
+
chat_id: number;
|
|
2279
|
+
message_id: number;
|
|
2280
|
+
comment?: string;
|
|
2281
|
+
}
|
|
2210
2282
|
interface DeleteBusinessMessagesInput {
|
|
2211
2283
|
business_connection_id: string;
|
|
2212
2284
|
message_ids: number[];
|
|
@@ -2348,15 +2420,18 @@ interface ForwardMessageInput {
|
|
|
2348
2420
|
from_chat_id: number | string;
|
|
2349
2421
|
message_id: number;
|
|
2350
2422
|
message_thread_id?: number;
|
|
2423
|
+
direct_messages_topic_id?: number;
|
|
2351
2424
|
video_start_timestamp?: number;
|
|
2352
2425
|
disable_notification?: boolean;
|
|
2353
2426
|
protect_content?: boolean;
|
|
2427
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2354
2428
|
}
|
|
2355
2429
|
interface ForwardMessagesInput {
|
|
2356
2430
|
chat_id: number | string;
|
|
2357
2431
|
from_chat_id: number | string;
|
|
2358
2432
|
message_ids: number[];
|
|
2359
2433
|
message_thread_id?: number;
|
|
2434
|
+
direct_messages_topic_id?: number;
|
|
2360
2435
|
disable_notification?: boolean;
|
|
2361
2436
|
protect_content?: boolean;
|
|
2362
2437
|
}
|
|
@@ -2504,6 +2579,7 @@ interface PromoteChatMemberInput {
|
|
|
2504
2579
|
can_edit_messages?: boolean;
|
|
2505
2580
|
can_pin_messages?: boolean;
|
|
2506
2581
|
can_manage_topics?: boolean;
|
|
2582
|
+
can_manage_direct_messages?: boolean;
|
|
2507
2583
|
}
|
|
2508
2584
|
interface ReadBusinessMessageInput {
|
|
2509
2585
|
business_connection_id: string;
|
|
@@ -2561,6 +2637,7 @@ interface SendAnimationInput {
|
|
|
2561
2637
|
animation: InputFile | string;
|
|
2562
2638
|
business_connection_id?: string;
|
|
2563
2639
|
message_thread_id?: number;
|
|
2640
|
+
direct_messages_topic_id?: number;
|
|
2564
2641
|
duration?: number;
|
|
2565
2642
|
width?: number;
|
|
2566
2643
|
height?: number;
|
|
@@ -2574,6 +2651,7 @@ interface SendAnimationInput {
|
|
|
2574
2651
|
protect_content?: boolean;
|
|
2575
2652
|
allow_paid_broadcast?: boolean;
|
|
2576
2653
|
message_effect_id?: string;
|
|
2654
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2577
2655
|
reply_parameters?: ReplyParameters;
|
|
2578
2656
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2579
2657
|
}
|
|
@@ -2582,6 +2660,7 @@ interface SendAudioInput {
|
|
|
2582
2660
|
audio: InputFile | string;
|
|
2583
2661
|
business_connection_id?: string;
|
|
2584
2662
|
message_thread_id?: number;
|
|
2663
|
+
direct_messages_topic_id?: number;
|
|
2585
2664
|
caption?: string;
|
|
2586
2665
|
parse_mode?: "HTML" | "MarkdownV2";
|
|
2587
2666
|
caption_entities?: MessageEntity[];
|
|
@@ -2593,6 +2672,7 @@ interface SendAudioInput {
|
|
|
2593
2672
|
protect_content?: boolean;
|
|
2594
2673
|
allow_paid_broadcast?: boolean;
|
|
2595
2674
|
message_effect_id?: string;
|
|
2675
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2596
2676
|
reply_parameters?: ReplyParameters;
|
|
2597
2677
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2598
2678
|
}
|
|
@@ -2618,12 +2698,14 @@ interface SendContactInput {
|
|
|
2618
2698
|
first_name: string;
|
|
2619
2699
|
business_connection_id?: string;
|
|
2620
2700
|
message_thread_id?: number;
|
|
2701
|
+
direct_messages_topic_id?: number;
|
|
2621
2702
|
last_name?: string;
|
|
2622
2703
|
vcard?: string;
|
|
2623
2704
|
disable_notification?: boolean;
|
|
2624
2705
|
protect_content?: boolean;
|
|
2625
2706
|
allow_paid_broadcast?: boolean;
|
|
2626
2707
|
message_effect_id?: string;
|
|
2708
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2627
2709
|
reply_parameters?: ReplyParameters;
|
|
2628
2710
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2629
2711
|
}
|
|
@@ -2631,11 +2713,13 @@ interface SendDiceInput {
|
|
|
2631
2713
|
chat_id: number | string;
|
|
2632
2714
|
business_connection_id?: string;
|
|
2633
2715
|
message_thread_id?: number;
|
|
2716
|
+
direct_messages_topic_id?: number;
|
|
2634
2717
|
emoji?: "🎲" | "🎯" | "🏀" | "⚽" | "🎳" | "🎰";
|
|
2635
2718
|
disable_notification?: boolean;
|
|
2636
2719
|
protect_content?: boolean;
|
|
2637
2720
|
allow_paid_broadcast?: boolean;
|
|
2638
2721
|
message_effect_id?: string;
|
|
2722
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2639
2723
|
reply_parameters?: ReplyParameters;
|
|
2640
2724
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2641
2725
|
}
|
|
@@ -2644,6 +2728,7 @@ interface SendDocumentInput {
|
|
|
2644
2728
|
document: InputFile | string;
|
|
2645
2729
|
business_connection_id?: string;
|
|
2646
2730
|
message_thread_id?: number;
|
|
2731
|
+
direct_messages_topic_id?: number;
|
|
2647
2732
|
thumbnail?: InputFile | string;
|
|
2648
2733
|
caption?: string;
|
|
2649
2734
|
parse_mode?: "HTML" | "MarkdownV2";
|
|
@@ -2653,6 +2738,7 @@ interface SendDocumentInput {
|
|
|
2653
2738
|
protect_content?: boolean;
|
|
2654
2739
|
allow_paid_broadcast?: boolean;
|
|
2655
2740
|
message_effect_id?: string;
|
|
2741
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2656
2742
|
reply_parameters?: ReplyParameters;
|
|
2657
2743
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2658
2744
|
}
|
|
@@ -2685,6 +2771,7 @@ interface SendInvoiceInput {
|
|
|
2685
2771
|
currency: string;
|
|
2686
2772
|
prices: LabeledPrice[];
|
|
2687
2773
|
message_thread_id?: number;
|
|
2774
|
+
direct_messages_topic_id?: number;
|
|
2688
2775
|
provider_token?: string;
|
|
2689
2776
|
max_tip_amount?: number;
|
|
2690
2777
|
suggested_tip_amounts?: number[];
|
|
@@ -2705,6 +2792,7 @@ interface SendInvoiceInput {
|
|
|
2705
2792
|
protect_content?: boolean;
|
|
2706
2793
|
allow_paid_broadcast?: boolean;
|
|
2707
2794
|
message_effect_id?: string;
|
|
2795
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2708
2796
|
reply_parameters?: ReplyParameters;
|
|
2709
2797
|
reply_markup?: InlineKeyboardMarkup;
|
|
2710
2798
|
}
|
|
@@ -2714,6 +2802,7 @@ interface SendLocationInput {
|
|
|
2714
2802
|
longitude: number;
|
|
2715
2803
|
business_connection_id?: string;
|
|
2716
2804
|
message_thread_id?: number;
|
|
2805
|
+
direct_messages_topic_id?: number;
|
|
2717
2806
|
horizontal_accuracy?: number;
|
|
2718
2807
|
live_period?: number;
|
|
2719
2808
|
heading?: number;
|
|
@@ -2722,6 +2811,7 @@ interface SendLocationInput {
|
|
|
2722
2811
|
protect_content?: boolean;
|
|
2723
2812
|
allow_paid_broadcast?: boolean;
|
|
2724
2813
|
message_effect_id?: string;
|
|
2814
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2725
2815
|
reply_parameters?: ReplyParameters;
|
|
2726
2816
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2727
2817
|
}
|
|
@@ -2730,6 +2820,7 @@ interface SendMediaGroupInput {
|
|
|
2730
2820
|
media: (InputMediaAudio | InputMediaDocument | InputMediaPhoto | InputMediaVideo)[];
|
|
2731
2821
|
business_connection_id?: string;
|
|
2732
2822
|
message_thread_id?: number;
|
|
2823
|
+
direct_messages_topic_id?: number;
|
|
2733
2824
|
disable_notification?: boolean;
|
|
2734
2825
|
protect_content?: boolean;
|
|
2735
2826
|
allow_paid_broadcast?: boolean;
|
|
@@ -2741,6 +2832,7 @@ interface SendMessageInput {
|
|
|
2741
2832
|
text: string;
|
|
2742
2833
|
business_connection_id?: string;
|
|
2743
2834
|
message_thread_id?: number;
|
|
2835
|
+
direct_messages_topic_id?: number;
|
|
2744
2836
|
parse_mode?: "HTML" | "MarkdownV2";
|
|
2745
2837
|
entities?: MessageEntity[];
|
|
2746
2838
|
link_preview_options?: LinkPreviewOptions;
|
|
@@ -2748,6 +2840,7 @@ interface SendMessageInput {
|
|
|
2748
2840
|
protect_content?: boolean;
|
|
2749
2841
|
allow_paid_broadcast?: boolean;
|
|
2750
2842
|
message_effect_id?: string;
|
|
2843
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2751
2844
|
reply_parameters?: ReplyParameters;
|
|
2752
2845
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2753
2846
|
}
|
|
@@ -2756,6 +2849,8 @@ interface SendPaidMediaInput {
|
|
|
2756
2849
|
star_count: number;
|
|
2757
2850
|
media: InputPaidMedia[];
|
|
2758
2851
|
business_connection_id?: string;
|
|
2852
|
+
message_thread_id?: number;
|
|
2853
|
+
direct_messages_topic_id?: number;
|
|
2759
2854
|
payload?: string;
|
|
2760
2855
|
caption?: string;
|
|
2761
2856
|
parse_mode?: "HTML" | "MarkdownV2";
|
|
@@ -2764,6 +2859,7 @@ interface SendPaidMediaInput {
|
|
|
2764
2859
|
disable_notification?: boolean;
|
|
2765
2860
|
protect_content?: boolean;
|
|
2766
2861
|
allow_paid_broadcast?: boolean;
|
|
2862
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2767
2863
|
reply_parameters?: ReplyParameters;
|
|
2768
2864
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2769
2865
|
}
|
|
@@ -2772,6 +2868,7 @@ interface SendPhotoInput {
|
|
|
2772
2868
|
photo: InputFile | string;
|
|
2773
2869
|
business_connection_id?: string;
|
|
2774
2870
|
message_thread_id?: number;
|
|
2871
|
+
direct_messages_topic_id?: number;
|
|
2775
2872
|
caption?: string;
|
|
2776
2873
|
parse_mode?: "HTML" | "MarkdownV2";
|
|
2777
2874
|
caption_entities?: MessageEntity[];
|
|
@@ -2781,6 +2878,7 @@ interface SendPhotoInput {
|
|
|
2781
2878
|
protect_content?: boolean;
|
|
2782
2879
|
allow_paid_broadcast?: boolean;
|
|
2783
2880
|
message_effect_id?: string;
|
|
2881
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2784
2882
|
reply_parameters?: ReplyParameters;
|
|
2785
2883
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2786
2884
|
}
|
|
@@ -2814,11 +2912,13 @@ interface SendStickerInput {
|
|
|
2814
2912
|
sticker: InputFile | string;
|
|
2815
2913
|
business_connection_id?: string;
|
|
2816
2914
|
message_thread_id?: number;
|
|
2915
|
+
direct_messages_topic_id?: number;
|
|
2817
2916
|
emoji?: string;
|
|
2818
2917
|
disable_notification?: boolean;
|
|
2819
2918
|
protect_content?: boolean;
|
|
2820
2919
|
allow_paid_broadcast?: boolean;
|
|
2821
2920
|
message_effect_id?: string;
|
|
2921
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2822
2922
|
reply_parameters?: ReplyParameters;
|
|
2823
2923
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2824
2924
|
}
|
|
@@ -2830,6 +2930,7 @@ interface SendVenueInput {
|
|
|
2830
2930
|
address: string;
|
|
2831
2931
|
business_connection_id?: string;
|
|
2832
2932
|
message_thread_id?: number;
|
|
2933
|
+
direct_messages_topic_id?: number;
|
|
2833
2934
|
foursquare_id?: string;
|
|
2834
2935
|
foursquare_type?: string;
|
|
2835
2936
|
google_place_id?: string;
|
|
@@ -2838,6 +2939,7 @@ interface SendVenueInput {
|
|
|
2838
2939
|
protect_content?: boolean;
|
|
2839
2940
|
allow_paid_broadcast?: boolean;
|
|
2840
2941
|
message_effect_id?: string;
|
|
2942
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2841
2943
|
reply_parameters?: ReplyParameters;
|
|
2842
2944
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2843
2945
|
}
|
|
@@ -2846,6 +2948,7 @@ interface SendVideoInput {
|
|
|
2846
2948
|
video: InputFile | string;
|
|
2847
2949
|
business_connection_id?: string;
|
|
2848
2950
|
message_thread_id?: number;
|
|
2951
|
+
direct_messages_topic_id?: number;
|
|
2849
2952
|
duration?: number;
|
|
2850
2953
|
width?: number;
|
|
2851
2954
|
height?: number;
|
|
@@ -2862,6 +2965,7 @@ interface SendVideoInput {
|
|
|
2862
2965
|
protect_content?: boolean;
|
|
2863
2966
|
allow_paid_broadcast?: boolean;
|
|
2864
2967
|
message_effect_id?: string;
|
|
2968
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2865
2969
|
reply_parameters?: ReplyParameters;
|
|
2866
2970
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2867
2971
|
}
|
|
@@ -2870,6 +2974,7 @@ interface SendVideoNoteInput {
|
|
|
2870
2974
|
video_note: InputFile | string;
|
|
2871
2975
|
business_connection_id?: string;
|
|
2872
2976
|
message_thread_id?: number;
|
|
2977
|
+
direct_messages_topic_id?: number;
|
|
2873
2978
|
duration?: number;
|
|
2874
2979
|
length?: number;
|
|
2875
2980
|
thumbnail?: InputFile | string;
|
|
@@ -2877,6 +2982,7 @@ interface SendVideoNoteInput {
|
|
|
2877
2982
|
protect_content?: boolean;
|
|
2878
2983
|
allow_paid_broadcast?: boolean;
|
|
2879
2984
|
message_effect_id?: string;
|
|
2985
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2880
2986
|
reply_parameters?: ReplyParameters;
|
|
2881
2987
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2882
2988
|
}
|
|
@@ -2885,6 +2991,7 @@ interface SendVoiceInput {
|
|
|
2885
2991
|
voice: InputFile | string;
|
|
2886
2992
|
business_connection_id?: string;
|
|
2887
2993
|
message_thread_id?: number;
|
|
2994
|
+
direct_messages_topic_id?: number;
|
|
2888
2995
|
caption?: string;
|
|
2889
2996
|
parse_mode?: "HTML" | "MarkdownV2";
|
|
2890
2997
|
caption_entities?: MessageEntity[];
|
|
@@ -2893,6 +3000,7 @@ interface SendVoiceInput {
|
|
|
2893
3000
|
protect_content?: boolean;
|
|
2894
3001
|
allow_paid_broadcast?: boolean;
|
|
2895
3002
|
message_effect_id?: string;
|
|
3003
|
+
suggested_post_parameters?: SuggestedPostParameters;
|
|
2896
3004
|
reply_parameters?: ReplyParameters;
|
|
2897
3005
|
reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
|
|
2898
3006
|
}
|
|
@@ -3139,4 +3247,4 @@ declare const TgBotApiToken_base: Context.TagClass<TgBotApiToken, "TgBotApiToken
|
|
|
3139
3247
|
declare class TgBotApiToken extends TgBotApiToken_base {
|
|
3140
3248
|
}
|
|
3141
3249
|
|
|
3142
|
-
export { type GetBusinessAccountGiftsInput as $, type Api as A, type BanChatMemberInput as B, type CloseInput as C, type DeclineChatJoinRequestInput as D, type DeleteMyCommandsInput as E, type DeleteStickerFromSetInput as F, type DeleteStickerSetInput as G, type DeleteStoryInput as H, type DeleteWebhookInput as I, type EditChatInviteLinkInput as J, type EditChatSubscriptionInviteLinkInput as K, type EditForumTopicInput as L, type EditGeneralForumTopicInput as M, type EditMessageCaptionInput as N, type EditMessageChecklistInput as O, type EditMessageLiveLocationInput as P, type EditMessageMediaInput as Q, type EditMessageReplyMarkupInput as R, type EditMessageTextInput as S, TgBotClientError as T, type Update as U, type EditStoryInput as V, type EditUserStarSubscriptionInput as W, type ExportChatInviteLinkInput as X, type ForwardMessageInput as Y, type ForwardMessagesInput as Z, type GetAvailableGiftsInput as _, TgBotApiToken as a, type SetBusinessAccountBioInput as a$, type GetBusinessAccountStarBalanceInput as a0, type GetBusinessConnectionInput as a1, type GetChatInput as a2, type GetChatAdministratorsInput as a3, type GetChatMemberInput as a4, type GetChatMemberCountInput as a5, type GetChatMenuButtonInput as a6, type GetCustomEmojiStickersInput as a7, type GetFileInput as a8, type GetForumTopicIconStickersInput as a9, type ReopenForumTopicInput as aA, type ReopenGeneralForumTopicInput as aB, type ReplaceStickerInSetInput as aC, type RestrictChatMemberInput as aD, type RevokeChatInviteLinkInput as aE, type SavePreparedInlineMessageInput as aF, type SendAnimationInput as aG, type SendAudioInput as aH, type SendChatActionInput as aI, type SendChecklistInput as aJ, type SendContactInput as aK, type SendDiceInput as aL, type SendDocumentInput as aM, type SendGameInput as aN, type SendGiftInput as aO, type SendInvoiceInput as aP, type SendLocationInput as aQ, type SendMediaGroupInput as aR, type SendMessageInput as aS, type SendPaidMediaInput as aT, type SendPhotoInput as aU, type SendPollInput as aV, type SendStickerInput as aW, type SendVenueInput as aX, type SendVideoInput as aY, type SendVideoNoteInput as aZ, type SendVoiceInput as a_, type GetGameHighScoresInput as aa, type GetMeInput as ab, type GetMyCommandsInput as ac, type GetMyDefaultAdministratorRightsInput as ad, type GetMyDescriptionInput as ae, type GetMyNameInput as af, type GetMyShortDescriptionInput as ag, type GetMyStarBalanceInput as ah, type GetStarTransactionsInput as ai, type GetStickerSetInput as aj, type GetUpdatesInput as ak, type GetUserChatBoostsInput as al, type GetUserProfilePhotosInput as am, type GetWebhookInfoInput as an, type GiftPremiumSubscriptionInput as ao, type HideGeneralForumTopicInput as ap, type LeaveChatInput as aq, type LogOutInput as ar, type PinChatMessageInput as as, type PostStoryInput as at, type PromoteChatMemberInput as au, type ReadBusinessMessageInput as av, type RefundStarPaymentInput as aw, type RemoveBusinessAccountProfilePhotoInput as ax, type RemoveChatVerificationInput as ay, type RemoveUserVerificationInput as az, TgBotApiBaseUrl as b, type BotCommandScopeChat as b$, type SetBusinessAccountGiftSettingsInput as b0, type SetBusinessAccountNameInput as b1, type SetBusinessAccountProfilePhotoInput as b2, type SetBusinessAccountUsernameInput as b3, type SetChatAdministratorCustomTitleInput as b4, type SetChatDescriptionInput as b5, type SetChatMenuButtonInput as b6, type SetChatPermissionsInput as b7, type SetChatPhotoInput as b8, type SetChatStickerSetInput as b9, type UnpinAllForumTopicMessagesInput as bA, type UnpinAllGeneralForumTopicMessagesInput as bB, type UnpinChatMessageInput as bC, type UpgradeGiftInput as bD, type UploadStickerFileInput as bE, type VerifyChatInput as bF, type VerifyUserInput as bG, type AllowedUpdateName as bH, type AcceptedGiftTypes as bI, type AffiliateInfo as bJ, type Animation as bK, type Audio as bL, type BackgroundFill as bM, type BackgroundFillFreeformGradient as bN, type BackgroundFillGradient as bO, type BackgroundFillSolid as bP, type BackgroundType as bQ, type BackgroundTypeChatTheme as bR, type BackgroundTypeFill as bS, type BackgroundTypePattern as bT, type BackgroundTypeWallpaper as bU, type Birthdate as bV, type BotCommand as bW, type BotCommandScope as bX, type BotCommandScopeAllChatAdministrators as bY, type BotCommandScopeAllGroupChats as bZ, type BotCommandScopeAllPrivateChats as b_, type SetChatTitleInput as ba, type SetCustomEmojiStickerSetThumbnailInput as bb, type SetGameScoreInput as bc, type SetMessageReactionInput as bd, type SetMyCommandsInput as be, type SetMyDefaultAdministratorRightsInput as bf, type SetMyDescriptionInput as bg, type SetMyNameInput as bh, type SetMyShortDescriptionInput as bi, type SetPassportDataErrorsInput as bj, type SetStickerEmojiListInput as bk, type SetStickerKeywordsInput as bl, type SetStickerMaskPositionInput as bm, type SetStickerPositionInSetInput as bn, type SetStickerSetThumbnailInput as bo, type SetStickerSetTitleInput as bp, type SetUserEmojiStatusInput as bq, type SetWebhookInput as br, type StopMessageLiveLocationInput as bs, type StopPollInput as bt, type TransferBusinessAccountStarsInput as bu, type TransferGiftInput as bv, type UnbanChatMemberInput as bw, type UnbanChatSenderChatInput as bx, type UnhideGeneralForumTopicInput as by, type UnpinAllChatMessagesInput as bz, type AddStickerToSetInput as c, type GeneralForumTopicHidden as c$, type BotCommandScopeChatAdministrators as c0, type BotCommandScopeChatMember as c1, type BotCommandScopeDefault as c2, type BotDescription as c3, type BotName as c4, type BotShortDescription as c5, type BusinessBotRights as c6, type BusinessConnection as c7, type BusinessIntro as c8, type BusinessLocation as c9, type ChatMemberRestricted as cA, type ChatMemberUpdated as cB, type ChatPermissions as cC, type ChatPhoto as cD, type ChatShared as cE, type Checklist as cF, type ChecklistTask as cG, type ChecklistTasksAdded as cH, type ChecklistTasksDone as cI, type ChosenInlineResult as cJ, type Contact as cK, type CopyTextButton as cL, type Dice as cM, type DirectMessagePriceChanged as cN, type Document as cO, type EncryptedCredentials as cP, type EncryptedPassportElement as cQ, type ExternalReplyInfo as cR, type File as cS, type ForceReply as cT, type ForumTopic as cU, type ForumTopicClosed as cV, type ForumTopicCreated as cW, type ForumTopicEdited as cX, type ForumTopicReopened as cY, type Game as cZ, type GameHighScore as c_, type BusinessMessagesDeleted as ca, type BusinessOpeningHours as cb, type BusinessOpeningHoursInterval as cc, type CallbackGame as cd, type CallbackQuery as ce, type Chat as cf, type ChatAdministratorRights as cg, type ChatBackground as ch, type ChatBoost as ci, type ChatBoostAdded as cj, type ChatBoostRemoved as ck, type ChatBoostSource as cl, type ChatBoostSourceGiftCode as cm, type ChatBoostSourceGiveaway as cn, type ChatBoostSourcePremium as co, type ChatBoostUpdated as cp, type ChatFullInfo as cq, type ChatInviteLink as cr, type ChatJoinRequest as cs, type ChatLocation as ct, type ChatMember as cu, type ChatMemberAdministrator as cv, type ChatMemberBanned as cw, type ChatMemberLeft as cx, type ChatMemberMember as cy, type ChatMemberOwner as cz, type AnswerCallbackQueryInput as d, type KeyboardButtonPollType as d$, type GeneralForumTopicUnhidden as d0, type Gift as d1, type GiftInfo as d2, type Gifts as d3, type Giveaway as d4, type GiveawayCompleted as d5, type GiveawayCreated as d6, type GiveawayWinners as d7, type InaccessibleMessage as d8, type InlineKeyboardButton as d9, type InputChecklistTask as dA, type InputContactMessageContent as dB, type InputFile as dC, type InputInvoiceMessageContent as dD, type InputLocationMessageContent as dE, type InputMedia as dF, type InputMediaAnimation as dG, type InputMediaAudio as dH, type InputMediaDocument as dI, type InputMediaPhoto as dJ, type InputMediaVideo as dK, type InputMessageContent as dL, type InputPaidMedia as dM, type InputPaidMediaPhoto as dN, type InputPaidMediaVideo as dO, type InputPollOption as dP, type InputProfilePhoto as dQ, type InputProfilePhotoAnimated as dR, type InputProfilePhotoStatic as dS, type InputSticker as dT, type InputStoryContent as dU, type InputStoryContentPhoto as dV, type InputStoryContentVideo as dW, type InputTextMessageContent as dX, type InputVenueMessageContent as dY, type Invoice as dZ, type KeyboardButton as d_, type InlineKeyboardMarkup as da, type InlineQuery as db, type InlineQueryResult as dc, type InlineQueryResultArticle as dd, type InlineQueryResultAudio as de, type InlineQueryResultCachedAudio as df, type InlineQueryResultCachedDocument as dg, type InlineQueryResultCachedGif as dh, type InlineQueryResultCachedMpeg4Gif as di, type InlineQueryResultCachedPhoto as dj, type InlineQueryResultCachedSticker as dk, type InlineQueryResultCachedVideo as dl, type InlineQueryResultCachedVoice as dm, type InlineQueryResultContact as dn, type InlineQueryResultDocument as dp, type InlineQueryResultGame as dq, type InlineQueryResultGif as dr, type InlineQueryResultLocation as ds, type InlineQueryResultMpeg4Gif as dt, type InlineQueryResultPhoto as du, type InlineQueryResultsButton as dv, type InlineQueryResultVenue as dw, type InlineQueryResultVideo as dx, type InlineQueryResultVoice as dy, type InputChecklist as dz, type AnswerInlineQueryInput as e, type ReplyParameters as e$, type KeyboardButtonRequestChat as e0, type KeyboardButtonRequestUsers as e1, type LabeledPrice as e2, type LinkPreviewOptions as e3, type Location as e4, type LocationAddress as e5, type LoginUrl as e6, type MaskPosition as e7, type MaybeInaccessibleMessage as e8, type MenuButton as e9, type PassportData as eA, type PassportElementError as eB, type PassportElementErrorDataField as eC, type PassportElementErrorFile as eD, type PassportElementErrorFiles as eE, type PassportElementErrorFrontSide as eF, type PassportElementErrorReverseSide as eG, type PassportElementErrorSelfie as eH, type PassportElementErrorTranslationFile as eI, type PassportElementErrorTranslationFiles as eJ, type PassportElementErrorUnspecified as eK, type PassportFile as eL, type PhotoSize as eM, type Poll as eN, type PollAnswer as eO, type PollOption as eP, type PreCheckoutQuery as eQ, type PreparedInlineMessage as eR, type ProximityAlertTriggered as eS, type ReactionCount as eT, type ReactionType as eU, type ReactionTypeCustomEmoji as eV, type ReactionTypeEmoji as eW, type ReactionTypePaid as eX, type RefundedPayment as eY, type ReplyKeyboardMarkup as eZ, type ReplyKeyboardRemove as e_, type MenuButtonCommands as ea, type MenuButtonDefault as eb, type MenuButtonWebApp as ec, type Message as ed, type MessageAutoDeleteTimerChanged as ee, type MessageEntity as ef, type MessageId as eg, type MessageOrigin as eh, type MessageOriginChannel as ei, type MessageOriginChat as ej, type MessageOriginHiddenUser as ek, type MessageOriginUser as el, type MessageReactionCountUpdated as em, type MessageReactionUpdated as en, type OrderInfo as eo, type OwnedGift as ep, type OwnedGiftRegular as eq, type OwnedGifts as er, type OwnedGiftUnique as es, type PaidMedia as et, type PaidMediaInfo as eu, type PaidMediaPhoto as ev, type PaidMediaPreview as ew, type PaidMediaPurchased as ex, type PaidMediaVideo as ey, type PaidMessagePriceChanged as ez, type AnswerPreCheckoutQueryInput as f, type ResponseParameters as f0, type RevenueWithdrawalState as f1, type RevenueWithdrawalStateFailed as f2, type RevenueWithdrawalStatePending as f3, type RevenueWithdrawalStateSucceeded as f4, type SentWebAppMessage as f5, type SharedUser as f6, type ShippingAddress as f7, type ShippingOption as f8, type ShippingQuery as f9, type UniqueGiftBackdrop as fA, type UniqueGiftBackdropColors as fB, type UniqueGiftInfo as fC, type UniqueGiftModel as fD, type UniqueGiftSymbol as fE, type User as fF, type UserChatBoosts as fG, type UserProfilePhotos as fH, type UsersShared as fI, type Venue as fJ, type Video as fK, type VideoChatEnded as fL, type VideoChatParticipantsInvited as fM, type VideoChatScheduled as fN, type VideoChatStarted as fO, type VideoNote as fP, type Voice as fQ, type WebAppData as fR, type WebAppInfo as fS, type WebhookInfo as fT, type WriteAccessAllowed as fU, type StarAmount as fa, type StarTransaction as fb, type StarTransactions as fc, type Sticker as fd, type StickerSet as fe, type Story as ff, type StoryArea as fg, type StoryAreaPosition as fh, type StoryAreaType as fi, type StoryAreaTypeLink as fj, type StoryAreaTypeLocation as fk, type StoryAreaTypeSuggestedReaction as fl, type StoryAreaTypeUniqueGift as fm, type StoryAreaTypeWeather as fn, type SuccessfulPayment as fo, type SwitchInlineQueryChosenChat as fp, type TextQuote as fq, type TransactionPartner as fr, type TransactionPartnerAffiliateProgram as fs, type TransactionPartnerChat as ft, type TransactionPartnerFragment as fu, type TransactionPartnerOther as fv, type TransactionPartnerTelegramAds as fw, type TransactionPartnerTelegramApi as fx, type TransactionPartnerUser as fy, type UniqueGift as fz, type AnswerShippingQueryInput as g, type AnswerWebAppQueryInput as h, type ApproveChatJoinRequestInput as i, type BanChatSenderChatInput as j, type CloseForumTopicInput as k, type CloseGeneralForumTopicInput as l, type ConvertGiftToStarsInput as m, type CopyMessageInput as n, type CopyMessagesInput as o, type CreateChatInviteLinkInput as p, type CreateChatSubscriptionInviteLinkInput as q, type CreateForumTopicInput as r, type CreateInvoiceLinkInput as s, type CreateNewStickerSetInput as t, type DeleteBusinessMessagesInput as u, type DeleteChatPhotoInput as v, type DeleteChatStickerSetInput as w, type DeleteForumTopicInput as x, type DeleteMessageInput as y, type DeleteMessagesInput as z };
|
|
3250
|
+
export { type ForwardMessagesInput as $, type Api as A, type BanChatMemberInput as B, type CloseInput as C, type DeclineChatJoinRequestInput as D, type DeleteMessageInput as E, type DeleteMessagesInput as F, type DeleteMyCommandsInput as G, type DeleteStickerFromSetInput as H, type DeleteStickerSetInput as I, type DeleteStoryInput as J, type DeleteWebhookInput as K, type EditChatInviteLinkInput as L, type EditChatSubscriptionInviteLinkInput as M, type EditForumTopicInput as N, type EditGeneralForumTopicInput as O, type EditMessageCaptionInput as P, type EditMessageChecklistInput as Q, type EditMessageLiveLocationInput as R, type EditMessageMediaInput as S, TgBotClientError as T, type Update as U, type EditMessageReplyMarkupInput as V, type EditMessageTextInput as W, type EditStoryInput as X, type EditUserStarSubscriptionInput as Y, type ExportChatInviteLinkInput as Z, type ForwardMessageInput as _, TgBotApiToken as a, type SendVideoNoteInput as a$, type GetAvailableGiftsInput as a0, type GetBusinessAccountGiftsInput as a1, type GetBusinessAccountStarBalanceInput as a2, type GetBusinessConnectionInput as a3, type GetChatInput as a4, type GetChatAdministratorsInput as a5, type GetChatMemberInput as a6, type GetChatMemberCountInput as a7, type GetChatMenuButtonInput as a8, type GetCustomEmojiStickersInput as a9, type RemoveChatVerificationInput as aA, type RemoveUserVerificationInput as aB, type ReopenForumTopicInput as aC, type ReopenGeneralForumTopicInput as aD, type ReplaceStickerInSetInput as aE, type RestrictChatMemberInput as aF, type RevokeChatInviteLinkInput as aG, type SavePreparedInlineMessageInput as aH, type SendAnimationInput as aI, type SendAudioInput as aJ, type SendChatActionInput as aK, type SendChecklistInput as aL, type SendContactInput as aM, type SendDiceInput as aN, type SendDocumentInput as aO, type SendGameInput as aP, type SendGiftInput as aQ, type SendInvoiceInput as aR, type SendLocationInput as aS, type SendMediaGroupInput as aT, type SendMessageInput as aU, type SendPaidMediaInput as aV, type SendPhotoInput as aW, type SendPollInput as aX, type SendStickerInput as aY, type SendVenueInput as aZ, type SendVideoInput as a_, type GetFileInput as aa, type GetForumTopicIconStickersInput as ab, type GetGameHighScoresInput as ac, type GetMeInput as ad, type GetMyCommandsInput as ae, type GetMyDefaultAdministratorRightsInput as af, type GetMyDescriptionInput as ag, type GetMyNameInput as ah, type GetMyShortDescriptionInput as ai, type GetMyStarBalanceInput as aj, type GetStarTransactionsInput as ak, type GetStickerSetInput as al, type GetUpdatesInput as am, type GetUserChatBoostsInput as an, type GetUserProfilePhotosInput as ao, type GetWebhookInfoInput as ap, type GiftPremiumSubscriptionInput as aq, type HideGeneralForumTopicInput as ar, type LeaveChatInput as as, type LogOutInput as at, type PinChatMessageInput as au, type PostStoryInput as av, type PromoteChatMemberInput as aw, type ReadBusinessMessageInput as ax, type RefundStarPaymentInput as ay, type RemoveBusinessAccountProfilePhotoInput as az, TgBotApiBaseUrl as b, type BotCommandScopeAllGroupChats as b$, type SendVoiceInput as b0, type SetBusinessAccountBioInput as b1, type SetBusinessAccountGiftSettingsInput as b2, type SetBusinessAccountNameInput as b3, type SetBusinessAccountProfilePhotoInput as b4, type SetBusinessAccountUsernameInput as b5, type SetChatAdministratorCustomTitleInput as b6, type SetChatDescriptionInput as b7, type SetChatMenuButtonInput as b8, type SetChatPermissionsInput as b9, type UnhideGeneralForumTopicInput as bA, type UnpinAllChatMessagesInput as bB, type UnpinAllForumTopicMessagesInput as bC, type UnpinAllGeneralForumTopicMessagesInput as bD, type UnpinChatMessageInput as bE, type UpgradeGiftInput as bF, type UploadStickerFileInput as bG, type VerifyChatInput as bH, type VerifyUserInput as bI, type AllowedUpdateName as bJ, type AcceptedGiftTypes as bK, type AffiliateInfo as bL, type Animation as bM, type Audio as bN, type BackgroundFill as bO, type BackgroundFillFreeformGradient as bP, type BackgroundFillGradient as bQ, type BackgroundFillSolid as bR, type BackgroundType as bS, type BackgroundTypeChatTheme as bT, type BackgroundTypeFill as bU, type BackgroundTypePattern as bV, type BackgroundTypeWallpaper as bW, type Birthdate as bX, type BotCommand as bY, type BotCommandScope as bZ, type BotCommandScopeAllChatAdministrators as b_, type SetChatPhotoInput as ba, type SetChatStickerSetInput as bb, type SetChatTitleInput as bc, type SetCustomEmojiStickerSetThumbnailInput as bd, type SetGameScoreInput as be, type SetMessageReactionInput as bf, type SetMyCommandsInput as bg, type SetMyDefaultAdministratorRightsInput as bh, type SetMyDescriptionInput as bi, type SetMyNameInput as bj, type SetMyShortDescriptionInput as bk, type SetPassportDataErrorsInput as bl, type SetStickerEmojiListInput as bm, type SetStickerKeywordsInput as bn, type SetStickerMaskPositionInput as bo, type SetStickerPositionInSetInput as bp, type SetStickerSetThumbnailInput as bq, type SetStickerSetTitleInput as br, type SetUserEmojiStatusInput as bs, type SetWebhookInput as bt, type StopMessageLiveLocationInput as bu, type StopPollInput as bv, type TransferBusinessAccountStarsInput as bw, type TransferGiftInput as bx, type UnbanChatMemberInput as by, type UnbanChatSenderChatInput as bz, type AddStickerToSetInput as c, type ForumTopicReopened as c$, type BotCommandScopeAllPrivateChats as c0, type BotCommandScopeChat as c1, type BotCommandScopeChatAdministrators as c2, type BotCommandScopeChatMember as c3, type BotCommandScopeDefault as c4, type BotDescription as c5, type BotName as c6, type BotShortDescription as c7, type BusinessBotRights as c8, type BusinessConnection as c9, type ChatMemberMember as cA, type ChatMemberOwner as cB, type ChatMemberRestricted as cC, type ChatMemberUpdated as cD, type ChatPermissions as cE, type ChatPhoto as cF, type ChatShared as cG, type Checklist as cH, type ChecklistTask as cI, type ChecklistTasksAdded as cJ, type ChecklistTasksDone as cK, type ChosenInlineResult as cL, type Contact as cM, type CopyTextButton as cN, type Dice as cO, type DirectMessagePriceChanged as cP, type DirectMessagesTopic as cQ, type Document as cR, type EncryptedCredentials as cS, type EncryptedPassportElement as cT, type ExternalReplyInfo as cU, type File as cV, type ForceReply as cW, type ForumTopic as cX, type ForumTopicClosed as cY, type ForumTopicCreated as cZ, type ForumTopicEdited as c_, type BusinessIntro as ca, type BusinessLocation as cb, type BusinessMessagesDeleted as cc, type BusinessOpeningHours as cd, type BusinessOpeningHoursInterval as ce, type CallbackGame as cf, type CallbackQuery as cg, type Chat as ch, type ChatAdministratorRights as ci, type ChatBackground as cj, type ChatBoost as ck, type ChatBoostAdded as cl, type ChatBoostRemoved as cm, type ChatBoostSource as cn, type ChatBoostSourceGiftCode as co, type ChatBoostSourceGiveaway as cp, type ChatBoostSourcePremium as cq, type ChatBoostUpdated as cr, type ChatFullInfo as cs, type ChatInviteLink as ct, type ChatJoinRequest as cu, type ChatLocation as cv, type ChatMember as cw, type ChatMemberAdministrator as cx, type ChatMemberBanned as cy, type ChatMemberLeft as cz, type AnswerCallbackQueryInput as d, type InputVenueMessageContent as d$, type Game as d0, type GameHighScore as d1, type GeneralForumTopicHidden as d2, type GeneralForumTopicUnhidden as d3, type Gift as d4, type GiftInfo as d5, type Gifts as d6, type Giveaway as d7, type GiveawayCompleted as d8, type GiveawayCreated as d9, type InlineQueryResultVideo as dA, type InlineQueryResultVoice as dB, type InputChecklist as dC, type InputChecklistTask as dD, type InputContactMessageContent as dE, type InputFile as dF, type InputInvoiceMessageContent as dG, type InputLocationMessageContent as dH, type InputMedia as dI, type InputMediaAnimation as dJ, type InputMediaAudio as dK, type InputMediaDocument as dL, type InputMediaPhoto as dM, type InputMediaVideo as dN, type InputMessageContent as dO, type InputPaidMedia as dP, type InputPaidMediaPhoto as dQ, type InputPaidMediaVideo as dR, type InputPollOption as dS, type InputProfilePhoto as dT, type InputProfilePhotoAnimated as dU, type InputProfilePhotoStatic as dV, type InputSticker as dW, type InputStoryContent as dX, type InputStoryContentPhoto as dY, type InputStoryContentVideo as dZ, type InputTextMessageContent as d_, type GiveawayWinners as da, type InaccessibleMessage as db, type InlineKeyboardButton as dc, type InlineKeyboardMarkup as dd, type InlineQuery as de, type InlineQueryResult as df, type InlineQueryResultArticle as dg, type InlineQueryResultAudio as dh, type InlineQueryResultCachedAudio as di, type InlineQueryResultCachedDocument as dj, type InlineQueryResultCachedGif as dk, type InlineQueryResultCachedMpeg4Gif as dl, type InlineQueryResultCachedPhoto as dm, type InlineQueryResultCachedSticker as dn, type InlineQueryResultCachedVideo as dp, type InlineQueryResultCachedVoice as dq, type InlineQueryResultContact as dr, type InlineQueryResultDocument as ds, type InlineQueryResultGame as dt, type InlineQueryResultGif as du, type InlineQueryResultLocation as dv, type InlineQueryResultMpeg4Gif as dw, type InlineQueryResultPhoto as dx, type InlineQueryResultsButton as dy, type InlineQueryResultVenue as dz, type AnswerInlineQueryInput as e, type RefundedPayment as e$, type Invoice as e0, type KeyboardButton as e1, type KeyboardButtonPollType as e2, type KeyboardButtonRequestChat as e3, type KeyboardButtonRequestUsers as e4, type LabeledPrice as e5, type LinkPreviewOptions as e6, type Location as e7, type LocationAddress as e8, type LoginUrl as e9, type PaidMediaPurchased as eA, type PaidMediaVideo as eB, type PaidMessagePriceChanged as eC, type PassportData as eD, type PassportElementError as eE, type PassportElementErrorDataField as eF, type PassportElementErrorFile as eG, type PassportElementErrorFiles as eH, type PassportElementErrorFrontSide as eI, type PassportElementErrorReverseSide as eJ, type PassportElementErrorSelfie as eK, type PassportElementErrorTranslationFile as eL, type PassportElementErrorTranslationFiles as eM, type PassportElementErrorUnspecified as eN, type PassportFile as eO, type PhotoSize as eP, type Poll as eQ, type PollAnswer as eR, type PollOption as eS, type PreCheckoutQuery as eT, type PreparedInlineMessage as eU, type ProximityAlertTriggered as eV, type ReactionCount as eW, type ReactionType as eX, type ReactionTypeCustomEmoji as eY, type ReactionTypeEmoji as eZ, type ReactionTypePaid as e_, type MaskPosition as ea, type MaybeInaccessibleMessage as eb, type MenuButton as ec, type MenuButtonCommands as ed, type MenuButtonDefault as ee, type MenuButtonWebApp as ef, type Message as eg, type MessageAutoDeleteTimerChanged as eh, type MessageEntity as ei, type MessageId as ej, type MessageOrigin as ek, type MessageOriginChannel as el, type MessageOriginChat as em, type MessageOriginHiddenUser as en, type MessageOriginUser as eo, type MessageReactionCountUpdated as ep, type MessageReactionUpdated as eq, type OrderInfo as er, type OwnedGift as es, type OwnedGiftRegular as et, type OwnedGifts as eu, type OwnedGiftUnique as ev, type PaidMedia as ew, type PaidMediaInfo as ex, type PaidMediaPhoto as ey, type PaidMediaPreview as ez, type AnswerPreCheckoutQueryInput as f, type Voice as f$, type ReplyKeyboardMarkup as f0, type ReplyKeyboardRemove as f1, type ReplyParameters as f2, type ResponseParameters as f3, type RevenueWithdrawalState as f4, type RevenueWithdrawalStateFailed as f5, type RevenueWithdrawalStatePending as f6, type RevenueWithdrawalStateSucceeded as f7, type SentWebAppMessage as f8, type SharedUser as f9, type SwitchInlineQueryChosenChat as fA, type TextQuote as fB, type TransactionPartner as fC, type TransactionPartnerAffiliateProgram as fD, type TransactionPartnerChat as fE, type TransactionPartnerFragment as fF, type TransactionPartnerOther as fG, type TransactionPartnerTelegramAds as fH, type TransactionPartnerTelegramApi as fI, type TransactionPartnerUser as fJ, type UniqueGift as fK, type UniqueGiftBackdrop as fL, type UniqueGiftBackdropColors as fM, type UniqueGiftInfo as fN, type UniqueGiftModel as fO, type UniqueGiftSymbol as fP, type User as fQ, type UserChatBoosts as fR, type UserProfilePhotos as fS, type UsersShared as fT, type Venue as fU, type Video as fV, type VideoChatEnded as fW, type VideoChatParticipantsInvited as fX, type VideoChatScheduled as fY, type VideoChatStarted as fZ, type VideoNote as f_, type ShippingAddress as fa, type ShippingOption as fb, type ShippingQuery as fc, type StarAmount as fd, type StarTransaction as fe, type StarTransactions as ff, type Sticker as fg, type StickerSet as fh, type Story as fi, type StoryArea as fj, type StoryAreaPosition as fk, type StoryAreaType as fl, type StoryAreaTypeLink as fm, type StoryAreaTypeLocation as fn, type StoryAreaTypeSuggestedReaction as fo, type StoryAreaTypeUniqueGift as fp, type StoryAreaTypeWeather as fq, type SuccessfulPayment as fr, type SuggestedPostApprovalFailed as fs, type SuggestedPostApproved as ft, type SuggestedPostDeclined as fu, type SuggestedPostInfo as fv, type SuggestedPostPaid as fw, type SuggestedPostParameters as fx, type SuggestedPostPrice as fy, type SuggestedPostRefunded as fz, type AnswerShippingQueryInput as g, type WebAppData as g0, type WebAppInfo as g1, type WebhookInfo as g2, type WriteAccessAllowed as g3, type AnswerWebAppQueryInput as h, type ApproveChatJoinRequestInput as i, type ApproveSuggestedPostInput as j, type BanChatSenderChatInput as k, type CloseForumTopicInput as l, type CloseGeneralForumTopicInput as m, type ConvertGiftToStarsInput as n, type CopyMessageInput as o, type CopyMessagesInput as p, type CreateChatInviteLinkInput as q, type CreateChatSubscriptionInviteLinkInput as r, type CreateForumTopicInput as s, type CreateInvoiceLinkInput as t, type CreateNewStickerSetInput as u, type DeclineSuggestedPostInput as v, type DeleteBusinessMessagesInput as w, type DeleteChatPhotoInput as x, type DeleteChatStickerSetInput as y, type DeleteForumTopicInput as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Micro from 'effect/Micro';
|
|
2
|
-
import { A as Api, T as TgBotClientError, a as TgBotApiToken, U as Update } from './config-
|
|
3
|
-
export { bI as AcceptedGiftTypes, c as AddStickerToSetInput, bJ as AffiliateInfo, bH as AllowedUpdateName, bK as Animation, d as AnswerCallbackQueryInput, e as AnswerInlineQueryInput, f as AnswerPreCheckoutQueryInput, g as AnswerShippingQueryInput, h as AnswerWebAppQueryInput, i as ApproveChatJoinRequestInput, bL as Audio, bM as BackgroundFill, bN as BackgroundFillFreeformGradient, bO as BackgroundFillGradient, bP as BackgroundFillSolid, bQ as BackgroundType, bR as BackgroundTypeChatTheme, bS as BackgroundTypeFill, bT as BackgroundTypePattern, bU as BackgroundTypeWallpaper, B as BanChatMemberInput, j as BanChatSenderChatInput, bV as Birthdate, bW as BotCommand, bX as BotCommandScope, bY as BotCommandScopeAllChatAdministrators, bZ as BotCommandScopeAllGroupChats, b_ as BotCommandScopeAllPrivateChats, b$ as BotCommandScopeChat, c0 as BotCommandScopeChatAdministrators, c1 as BotCommandScopeChatMember, c2 as BotCommandScopeDefault, c3 as BotDescription, c4 as BotName, c5 as BotShortDescription, c6 as BusinessBotRights, c7 as BusinessConnection, c8 as BusinessIntro, c9 as BusinessLocation, ca as BusinessMessagesDeleted, cb as BusinessOpeningHours, cc as BusinessOpeningHoursInterval, cd as CallbackGame, ce as CallbackQuery, cf as Chat, cg as ChatAdministratorRights, ch as ChatBackground, ci as ChatBoost, cj as ChatBoostAdded, ck as ChatBoostRemoved, cl as ChatBoostSource, cm as ChatBoostSourceGiftCode, cn as ChatBoostSourceGiveaway, co as ChatBoostSourcePremium, cp as ChatBoostUpdated, cq as ChatFullInfo, cr as ChatInviteLink, cs as ChatJoinRequest, ct as ChatLocation, cu as ChatMember, cv as ChatMemberAdministrator, cw as ChatMemberBanned, cx as ChatMemberLeft, cy as ChatMemberMember, cz as ChatMemberOwner, cA as ChatMemberRestricted, cB as ChatMemberUpdated, cC as ChatPermissions, cD as ChatPhoto, cE as ChatShared, cF as Checklist, cG as ChecklistTask, cH as ChecklistTasksAdded, cI as ChecklistTasksDone, cJ as ChosenInlineResult, k as CloseForumTopicInput, l as CloseGeneralForumTopicInput, C as CloseInput, cK as Contact, m as ConvertGiftToStarsInput, n as CopyMessageInput, o as CopyMessagesInput, cL as CopyTextButton, p as CreateChatInviteLinkInput, q as CreateChatSubscriptionInviteLinkInput, r as CreateForumTopicInput, s as CreateInvoiceLinkInput, t as CreateNewStickerSetInput, D as DeclineChatJoinRequestInput, u as DeleteBusinessMessagesInput, v as DeleteChatPhotoInput, w as DeleteChatStickerSetInput, x as DeleteForumTopicInput, y as DeleteMessageInput, z as DeleteMessagesInput, E as DeleteMyCommandsInput, F as DeleteStickerFromSetInput, G as DeleteStickerSetInput, H as DeleteStoryInput, I as DeleteWebhookInput, cM as Dice, cN as DirectMessagePriceChanged, cO as Document, J as EditChatInviteLinkInput, K as EditChatSubscriptionInviteLinkInput, L as EditForumTopicInput, M as EditGeneralForumTopicInput, N as EditMessageCaptionInput, O as EditMessageChecklistInput, P as EditMessageLiveLocationInput, Q as EditMessageMediaInput, R as EditMessageReplyMarkupInput, S as EditMessageTextInput, V as EditStoryInput, W as EditUserStarSubscriptionInput, cP as EncryptedCredentials, cQ as EncryptedPassportElement, X as ExportChatInviteLinkInput, cR as ExternalReplyInfo, cS as File, cT as ForceReply, cU as ForumTopic, cV as ForumTopicClosed, cW as ForumTopicCreated, cX as ForumTopicEdited, cY as ForumTopicReopened, Y as ForwardMessageInput, Z as ForwardMessagesInput, cZ as Game, c_ as GameHighScore, c$ as GeneralForumTopicHidden, d0 as GeneralForumTopicUnhidden, _ as GetAvailableGiftsInput, $ as GetBusinessAccountGiftsInput, a0 as GetBusinessAccountStarBalanceInput, a1 as GetBusinessConnectionInput, a3 as GetChatAdministratorsInput, a2 as GetChatInput, a5 as GetChatMemberCountInput, a4 as GetChatMemberInput, a6 as GetChatMenuButtonInput, a7 as GetCustomEmojiStickersInput, a8 as GetFileInput, a9 as GetForumTopicIconStickersInput, aa as GetGameHighScoresInput, ab as GetMeInput, ac as GetMyCommandsInput, ad as GetMyDefaultAdministratorRightsInput, ae as GetMyDescriptionInput, af as GetMyNameInput, ag as GetMyShortDescriptionInput, ah as GetMyStarBalanceInput, ai as GetStarTransactionsInput, aj as GetStickerSetInput, ak as GetUpdatesInput, al as GetUserChatBoostsInput, am as GetUserProfilePhotosInput, an as GetWebhookInfoInput, d1 as Gift, d2 as GiftInfo, ao as GiftPremiumSubscriptionInput, d3 as Gifts, d4 as Giveaway, d5 as GiveawayCompleted, d6 as GiveawayCreated, d7 as GiveawayWinners, ap as HideGeneralForumTopicInput, d8 as InaccessibleMessage, d9 as InlineKeyboardButton, da as InlineKeyboardMarkup, db as InlineQuery, dc as InlineQueryResult, dd as InlineQueryResultArticle, de as InlineQueryResultAudio, df as InlineQueryResultCachedAudio, dg as InlineQueryResultCachedDocument, dh as InlineQueryResultCachedGif, di as InlineQueryResultCachedMpeg4Gif, dj as InlineQueryResultCachedPhoto, dk as InlineQueryResultCachedSticker, dl as InlineQueryResultCachedVideo, dm as InlineQueryResultCachedVoice, dn as InlineQueryResultContact, dp as InlineQueryResultDocument, dq as InlineQueryResultGame, dr as InlineQueryResultGif, ds as InlineQueryResultLocation, dt as InlineQueryResultMpeg4Gif, du as InlineQueryResultPhoto, dw as InlineQueryResultVenue, dx as InlineQueryResultVideo, dy as InlineQueryResultVoice, dv as InlineQueryResultsButton, dz as InputChecklist, dA as InputChecklistTask, dB as InputContactMessageContent, dC as InputFile, dD as InputInvoiceMessageContent, dE as InputLocationMessageContent, dF as InputMedia, dG as InputMediaAnimation, dH as InputMediaAudio, dI as InputMediaDocument, dJ as InputMediaPhoto, dK as InputMediaVideo, dL as InputMessageContent, dM as InputPaidMedia, dN as InputPaidMediaPhoto, dO as InputPaidMediaVideo, dP as InputPollOption, dQ as InputProfilePhoto, dR as InputProfilePhotoAnimated, dS as InputProfilePhotoStatic, dT as InputSticker, dU as InputStoryContent, dV as InputStoryContentPhoto, dW as InputStoryContentVideo, dX as InputTextMessageContent, dY as InputVenueMessageContent, dZ as Invoice, d_ as KeyboardButton, d$ as KeyboardButtonPollType, e0 as KeyboardButtonRequestChat, e1 as KeyboardButtonRequestUsers, e2 as LabeledPrice, aq as LeaveChatInput, e3 as LinkPreviewOptions, e4 as Location, e5 as LocationAddress, ar as LogOutInput, e6 as LoginUrl, e7 as MaskPosition, e8 as MaybeInaccessibleMessage, e9 as MenuButton, ea as MenuButtonCommands, eb as MenuButtonDefault, ec as MenuButtonWebApp, ed as Message, ee as MessageAutoDeleteTimerChanged, ef as MessageEntity, eg as MessageId, eh as MessageOrigin, ei as MessageOriginChannel, ej as MessageOriginChat, ek as MessageOriginHiddenUser, el as MessageOriginUser, em as MessageReactionCountUpdated, en as MessageReactionUpdated, eo as OrderInfo, ep as OwnedGift, eq as OwnedGiftRegular, es as OwnedGiftUnique, er as OwnedGifts, et as PaidMedia, eu as PaidMediaInfo, ev as PaidMediaPhoto, ew as PaidMediaPreview, ex as PaidMediaPurchased, ey as PaidMediaVideo, ez as PaidMessagePriceChanged, eA as PassportData, eB as PassportElementError, eC as PassportElementErrorDataField, eD as PassportElementErrorFile, eE as PassportElementErrorFiles, eF as PassportElementErrorFrontSide, eG as PassportElementErrorReverseSide, eH as PassportElementErrorSelfie, eI as PassportElementErrorTranslationFile, eJ as PassportElementErrorTranslationFiles, eK as PassportElementErrorUnspecified, eL as PassportFile, eM as PhotoSize, as as PinChatMessageInput, eN as Poll, eO as PollAnswer, eP as PollOption, at as PostStoryInput, eQ as PreCheckoutQuery, eR as PreparedInlineMessage, au as PromoteChatMemberInput, eS as ProximityAlertTriggered, eT as ReactionCount, eU as ReactionType, eV as ReactionTypeCustomEmoji, eW as ReactionTypeEmoji, eX as ReactionTypePaid, av as ReadBusinessMessageInput, aw as RefundStarPaymentInput, eY as RefundedPayment, ax as RemoveBusinessAccountProfilePhotoInput, ay as RemoveChatVerificationInput, az as RemoveUserVerificationInput, aA as ReopenForumTopicInput, aB as ReopenGeneralForumTopicInput, aC as ReplaceStickerInSetInput, eZ as ReplyKeyboardMarkup, e_ as ReplyKeyboardRemove, e$ as ReplyParameters, f0 as ResponseParameters, aD as RestrictChatMemberInput, f1 as RevenueWithdrawalState, f2 as RevenueWithdrawalStateFailed, f3 as RevenueWithdrawalStatePending, f4 as RevenueWithdrawalStateSucceeded, aE as RevokeChatInviteLinkInput, aF as SavePreparedInlineMessageInput, aG as SendAnimationInput, aH as SendAudioInput, aI as SendChatActionInput, aJ as SendChecklistInput, aK as SendContactInput, aL as SendDiceInput, aM as SendDocumentInput, aN as SendGameInput, aO as SendGiftInput, aP as SendInvoiceInput, aQ as SendLocationInput, aR as SendMediaGroupInput, aS as SendMessageInput, aT as SendPaidMediaInput, aU as SendPhotoInput, aV as SendPollInput, aW as SendStickerInput, aX as SendVenueInput, aY as SendVideoInput, aZ as SendVideoNoteInput, a_ as SendVoiceInput, f5 as SentWebAppMessage, a$ as SetBusinessAccountBioInput, b0 as SetBusinessAccountGiftSettingsInput, b1 as SetBusinessAccountNameInput, b2 as SetBusinessAccountProfilePhotoInput, b3 as SetBusinessAccountUsernameInput, b4 as SetChatAdministratorCustomTitleInput, b5 as SetChatDescriptionInput, b6 as SetChatMenuButtonInput, b7 as SetChatPermissionsInput, b8 as SetChatPhotoInput, b9 as SetChatStickerSetInput, ba as SetChatTitleInput, bb as SetCustomEmojiStickerSetThumbnailInput, bc as SetGameScoreInput, bd as SetMessageReactionInput, be as SetMyCommandsInput, bf as SetMyDefaultAdministratorRightsInput, bg as SetMyDescriptionInput, bh as SetMyNameInput, bi as SetMyShortDescriptionInput, bj as SetPassportDataErrorsInput, bk as SetStickerEmojiListInput, bl as SetStickerKeywordsInput, bm as SetStickerMaskPositionInput, bn as SetStickerPositionInSetInput, bo as SetStickerSetThumbnailInput, bp as SetStickerSetTitleInput, bq as SetUserEmojiStatusInput, br as SetWebhookInput, f6 as SharedUser, f7 as ShippingAddress, f8 as ShippingOption, f9 as ShippingQuery, fa as StarAmount, fb as StarTransaction, fc as StarTransactions, fd as Sticker, fe as StickerSet, bs as StopMessageLiveLocationInput, bt as StopPollInput, ff as Story, fg as StoryArea, fh as StoryAreaPosition, fi as StoryAreaType, fj as StoryAreaTypeLink, fk as StoryAreaTypeLocation, fl as StoryAreaTypeSuggestedReaction, fm as StoryAreaTypeUniqueGift, fn as StoryAreaTypeWeather, fo as SuccessfulPayment, fp as SwitchInlineQueryChosenChat, fq as TextQuote, b as TgBotApiBaseUrl, fr as TransactionPartner, fs as TransactionPartnerAffiliateProgram, ft as TransactionPartnerChat, fu as TransactionPartnerFragment, fv as TransactionPartnerOther, fw as TransactionPartnerTelegramAds, fx as TransactionPartnerTelegramApi, fy as TransactionPartnerUser, bu as TransferBusinessAccountStarsInput, bv as TransferGiftInput, bw as UnbanChatMemberInput, bx as UnbanChatSenderChatInput, by as UnhideGeneralForumTopicInput, fz as UniqueGift, fA as UniqueGiftBackdrop, fB as UniqueGiftBackdropColors, fC as UniqueGiftInfo, fD as UniqueGiftModel, fE as UniqueGiftSymbol, bz as UnpinAllChatMessagesInput, bA as UnpinAllForumTopicMessagesInput, bB as UnpinAllGeneralForumTopicMessagesInput, bC as UnpinChatMessageInput, bD as UpgradeGiftInput, bE as UploadStickerFileInput, fF as User, fG as UserChatBoosts, fH as UserProfilePhotos, fI as UsersShared, fJ as Venue, bF as VerifyChatInput, bG as VerifyUserInput, fK as Video, fL as VideoChatEnded, fM as VideoChatParticipantsInvited, fN as VideoChatScheduled, fO as VideoChatStarted, fP as VideoNote, fQ as Voice, fR as WebAppData, fS as WebAppInfo, fT as WebhookInfo, fU as WriteAccessAllowed } from './config-DAcDINJv.js';
|
|
2
|
+
import { A as Api, T as TgBotClientError, a as TgBotApiToken, U as Update } from './config-3uU0YevV.js';
|
|
3
|
+
export { bK as AcceptedGiftTypes, c as AddStickerToSetInput, bL as AffiliateInfo, bJ as AllowedUpdateName, bM as Animation, d as AnswerCallbackQueryInput, e as AnswerInlineQueryInput, f as AnswerPreCheckoutQueryInput, g as AnswerShippingQueryInput, h as AnswerWebAppQueryInput, i as ApproveChatJoinRequestInput, j as ApproveSuggestedPostInput, bN as Audio, bO as BackgroundFill, bP as BackgroundFillFreeformGradient, bQ as BackgroundFillGradient, bR as BackgroundFillSolid, bS as BackgroundType, bT as BackgroundTypeChatTheme, bU as BackgroundTypeFill, bV as BackgroundTypePattern, bW as BackgroundTypeWallpaper, B as BanChatMemberInput, k as BanChatSenderChatInput, bX as Birthdate, bY as BotCommand, bZ as BotCommandScope, b_ as BotCommandScopeAllChatAdministrators, b$ as BotCommandScopeAllGroupChats, c0 as BotCommandScopeAllPrivateChats, c1 as BotCommandScopeChat, c2 as BotCommandScopeChatAdministrators, c3 as BotCommandScopeChatMember, c4 as BotCommandScopeDefault, c5 as BotDescription, c6 as BotName, c7 as BotShortDescription, c8 as BusinessBotRights, c9 as BusinessConnection, ca as BusinessIntro, cb as BusinessLocation, cc as BusinessMessagesDeleted, cd as BusinessOpeningHours, ce as BusinessOpeningHoursInterval, cf as CallbackGame, cg as CallbackQuery, ch as Chat, ci as ChatAdministratorRights, cj as ChatBackground, ck as ChatBoost, cl as ChatBoostAdded, cm as ChatBoostRemoved, cn as ChatBoostSource, co as ChatBoostSourceGiftCode, cp as ChatBoostSourceGiveaway, cq as ChatBoostSourcePremium, cr as ChatBoostUpdated, cs as ChatFullInfo, ct as ChatInviteLink, cu as ChatJoinRequest, cv as ChatLocation, cw as ChatMember, cx as ChatMemberAdministrator, cy as ChatMemberBanned, cz as ChatMemberLeft, cA as ChatMemberMember, cB as ChatMemberOwner, cC as ChatMemberRestricted, cD as ChatMemberUpdated, cE as ChatPermissions, cF as ChatPhoto, cG as ChatShared, cH as Checklist, cI as ChecklistTask, cJ as ChecklistTasksAdded, cK as ChecklistTasksDone, cL as ChosenInlineResult, l as CloseForumTopicInput, m as CloseGeneralForumTopicInput, C as CloseInput, cM as Contact, n as ConvertGiftToStarsInput, o as CopyMessageInput, p as CopyMessagesInput, cN as CopyTextButton, q as CreateChatInviteLinkInput, r as CreateChatSubscriptionInviteLinkInput, s as CreateForumTopicInput, t as CreateInvoiceLinkInput, u as CreateNewStickerSetInput, D as DeclineChatJoinRequestInput, v as DeclineSuggestedPostInput, w as DeleteBusinessMessagesInput, x as DeleteChatPhotoInput, y as DeleteChatStickerSetInput, z as DeleteForumTopicInput, E as DeleteMessageInput, F as DeleteMessagesInput, G as DeleteMyCommandsInput, H as DeleteStickerFromSetInput, I as DeleteStickerSetInput, J as DeleteStoryInput, K as DeleteWebhookInput, cO as Dice, cP as DirectMessagePriceChanged, cQ as DirectMessagesTopic, cR as Document, L as EditChatInviteLinkInput, M as EditChatSubscriptionInviteLinkInput, N as EditForumTopicInput, O as EditGeneralForumTopicInput, P as EditMessageCaptionInput, Q as EditMessageChecklistInput, R as EditMessageLiveLocationInput, S as EditMessageMediaInput, V as EditMessageReplyMarkupInput, W as EditMessageTextInput, X as EditStoryInput, Y as EditUserStarSubscriptionInput, cS as EncryptedCredentials, cT as EncryptedPassportElement, Z as ExportChatInviteLinkInput, cU as ExternalReplyInfo, cV as File, cW as ForceReply, cX as ForumTopic, cY as ForumTopicClosed, cZ as ForumTopicCreated, c_ as ForumTopicEdited, c$ as ForumTopicReopened, _ as ForwardMessageInput, $ as ForwardMessagesInput, d0 as Game, d1 as GameHighScore, d2 as GeneralForumTopicHidden, d3 as GeneralForumTopicUnhidden, a0 as GetAvailableGiftsInput, a1 as GetBusinessAccountGiftsInput, a2 as GetBusinessAccountStarBalanceInput, a3 as GetBusinessConnectionInput, a5 as GetChatAdministratorsInput, a4 as GetChatInput, a7 as GetChatMemberCountInput, a6 as GetChatMemberInput, a8 as GetChatMenuButtonInput, a9 as GetCustomEmojiStickersInput, aa as GetFileInput, ab as GetForumTopicIconStickersInput, ac as GetGameHighScoresInput, ad as GetMeInput, ae as GetMyCommandsInput, af as GetMyDefaultAdministratorRightsInput, ag as GetMyDescriptionInput, ah as GetMyNameInput, ai as GetMyShortDescriptionInput, aj as GetMyStarBalanceInput, ak as GetStarTransactionsInput, al as GetStickerSetInput, am as GetUpdatesInput, an as GetUserChatBoostsInput, ao as GetUserProfilePhotosInput, ap as GetWebhookInfoInput, d4 as Gift, d5 as GiftInfo, aq as GiftPremiumSubscriptionInput, d6 as Gifts, d7 as Giveaway, d8 as GiveawayCompleted, d9 as GiveawayCreated, da as GiveawayWinners, ar as HideGeneralForumTopicInput, db as InaccessibleMessage, dc as InlineKeyboardButton, dd as InlineKeyboardMarkup, de as InlineQuery, df as InlineQueryResult, dg as InlineQueryResultArticle, dh as InlineQueryResultAudio, di as InlineQueryResultCachedAudio, dj as InlineQueryResultCachedDocument, dk as InlineQueryResultCachedGif, dl as InlineQueryResultCachedMpeg4Gif, dm as InlineQueryResultCachedPhoto, dn as InlineQueryResultCachedSticker, dp as InlineQueryResultCachedVideo, dq as InlineQueryResultCachedVoice, dr as InlineQueryResultContact, ds as InlineQueryResultDocument, dt as InlineQueryResultGame, du as InlineQueryResultGif, dv as InlineQueryResultLocation, dw as InlineQueryResultMpeg4Gif, dx as InlineQueryResultPhoto, dz as InlineQueryResultVenue, dA as InlineQueryResultVideo, dB as InlineQueryResultVoice, dy as InlineQueryResultsButton, dC as InputChecklist, dD as InputChecklistTask, dE as InputContactMessageContent, dF as InputFile, dG as InputInvoiceMessageContent, dH as InputLocationMessageContent, dI as InputMedia, dJ as InputMediaAnimation, dK as InputMediaAudio, dL as InputMediaDocument, dM as InputMediaPhoto, dN as InputMediaVideo, dO as InputMessageContent, dP as InputPaidMedia, dQ as InputPaidMediaPhoto, dR as InputPaidMediaVideo, dS as InputPollOption, dT as InputProfilePhoto, dU as InputProfilePhotoAnimated, dV as InputProfilePhotoStatic, dW as InputSticker, dX as InputStoryContent, dY as InputStoryContentPhoto, dZ as InputStoryContentVideo, d_ as InputTextMessageContent, d$ as InputVenueMessageContent, e0 as Invoice, e1 as KeyboardButton, e2 as KeyboardButtonPollType, e3 as KeyboardButtonRequestChat, e4 as KeyboardButtonRequestUsers, e5 as LabeledPrice, as as LeaveChatInput, e6 as LinkPreviewOptions, e7 as Location, e8 as LocationAddress, at as LogOutInput, e9 as LoginUrl, ea as MaskPosition, eb as MaybeInaccessibleMessage, ec as MenuButton, ed as MenuButtonCommands, ee as MenuButtonDefault, ef as MenuButtonWebApp, eg as Message, eh as MessageAutoDeleteTimerChanged, ei as MessageEntity, ej as MessageId, ek as MessageOrigin, el as MessageOriginChannel, em as MessageOriginChat, en as MessageOriginHiddenUser, eo as MessageOriginUser, ep as MessageReactionCountUpdated, eq as MessageReactionUpdated, er as OrderInfo, es as OwnedGift, et as OwnedGiftRegular, ev as OwnedGiftUnique, eu as OwnedGifts, ew as PaidMedia, ex as PaidMediaInfo, ey as PaidMediaPhoto, ez as PaidMediaPreview, eA as PaidMediaPurchased, eB as PaidMediaVideo, eC as PaidMessagePriceChanged, eD as PassportData, eE as PassportElementError, eF as PassportElementErrorDataField, eG as PassportElementErrorFile, eH as PassportElementErrorFiles, eI as PassportElementErrorFrontSide, eJ as PassportElementErrorReverseSide, eK as PassportElementErrorSelfie, eL as PassportElementErrorTranslationFile, eM as PassportElementErrorTranslationFiles, eN as PassportElementErrorUnspecified, eO as PassportFile, eP as PhotoSize, au as PinChatMessageInput, eQ as Poll, eR as PollAnswer, eS as PollOption, av as PostStoryInput, eT as PreCheckoutQuery, eU as PreparedInlineMessage, aw as PromoteChatMemberInput, eV as ProximityAlertTriggered, eW as ReactionCount, eX as ReactionType, eY as ReactionTypeCustomEmoji, eZ as ReactionTypeEmoji, e_ as ReactionTypePaid, ax as ReadBusinessMessageInput, ay as RefundStarPaymentInput, e$ as RefundedPayment, az as RemoveBusinessAccountProfilePhotoInput, aA as RemoveChatVerificationInput, aB as RemoveUserVerificationInput, aC as ReopenForumTopicInput, aD as ReopenGeneralForumTopicInput, aE as ReplaceStickerInSetInput, f0 as ReplyKeyboardMarkup, f1 as ReplyKeyboardRemove, f2 as ReplyParameters, f3 as ResponseParameters, aF as RestrictChatMemberInput, f4 as RevenueWithdrawalState, f5 as RevenueWithdrawalStateFailed, f6 as RevenueWithdrawalStatePending, f7 as RevenueWithdrawalStateSucceeded, aG as RevokeChatInviteLinkInput, aH as SavePreparedInlineMessageInput, aI as SendAnimationInput, aJ as SendAudioInput, aK as SendChatActionInput, aL as SendChecklistInput, aM as SendContactInput, aN as SendDiceInput, aO as SendDocumentInput, aP as SendGameInput, aQ as SendGiftInput, aR as SendInvoiceInput, aS as SendLocationInput, aT as SendMediaGroupInput, aU as SendMessageInput, aV as SendPaidMediaInput, aW as SendPhotoInput, aX as SendPollInput, aY as SendStickerInput, aZ as SendVenueInput, a_ as SendVideoInput, a$ as SendVideoNoteInput, b0 as SendVoiceInput, f8 as SentWebAppMessage, b1 as SetBusinessAccountBioInput, b2 as SetBusinessAccountGiftSettingsInput, b3 as SetBusinessAccountNameInput, b4 as SetBusinessAccountProfilePhotoInput, b5 as SetBusinessAccountUsernameInput, b6 as SetChatAdministratorCustomTitleInput, b7 as SetChatDescriptionInput, b8 as SetChatMenuButtonInput, b9 as SetChatPermissionsInput, ba as SetChatPhotoInput, bb as SetChatStickerSetInput, bc as SetChatTitleInput, bd as SetCustomEmojiStickerSetThumbnailInput, be as SetGameScoreInput, bf as SetMessageReactionInput, bg as SetMyCommandsInput, bh as SetMyDefaultAdministratorRightsInput, bi as SetMyDescriptionInput, bj as SetMyNameInput, bk as SetMyShortDescriptionInput, bl as SetPassportDataErrorsInput, bm as SetStickerEmojiListInput, bn as SetStickerKeywordsInput, bo as SetStickerMaskPositionInput, bp as SetStickerPositionInSetInput, bq as SetStickerSetThumbnailInput, br as SetStickerSetTitleInput, bs as SetUserEmojiStatusInput, bt as SetWebhookInput, f9 as SharedUser, fa as ShippingAddress, fb as ShippingOption, fc as ShippingQuery, fd as StarAmount, fe as StarTransaction, ff as StarTransactions, fg as Sticker, fh as StickerSet, bu as StopMessageLiveLocationInput, bv as StopPollInput, fi as Story, fj as StoryArea, fk as StoryAreaPosition, fl as StoryAreaType, fm as StoryAreaTypeLink, fn as StoryAreaTypeLocation, fo as StoryAreaTypeSuggestedReaction, fp as StoryAreaTypeUniqueGift, fq as StoryAreaTypeWeather, fr as SuccessfulPayment, fs as SuggestedPostApprovalFailed, ft as SuggestedPostApproved, fu as SuggestedPostDeclined, fv as SuggestedPostInfo, fw as SuggestedPostPaid, fx as SuggestedPostParameters, fy as SuggestedPostPrice, fz as SuggestedPostRefunded, fA as SwitchInlineQueryChosenChat, fB as TextQuote, b as TgBotApiBaseUrl, fC as TransactionPartner, fD as TransactionPartnerAffiliateProgram, fE as TransactionPartnerChat, fF as TransactionPartnerFragment, fG as TransactionPartnerOther, fH as TransactionPartnerTelegramAds, fI as TransactionPartnerTelegramApi, fJ as TransactionPartnerUser, bw as TransferBusinessAccountStarsInput, bx as TransferGiftInput, by as UnbanChatMemberInput, bz as UnbanChatSenderChatInput, bA as UnhideGeneralForumTopicInput, fK as UniqueGift, fL as UniqueGiftBackdrop, fM as UniqueGiftBackdropColors, fN as UniqueGiftInfo, fO as UniqueGiftModel, fP as UniqueGiftSymbol, bB as UnpinAllChatMessagesInput, bC as UnpinAllForumTopicMessagesInput, bD as UnpinAllGeneralForumTopicMessagesInput, bE as UnpinChatMessageInput, bF as UpgradeGiftInput, bG as UploadStickerFileInput, fQ as User, fR as UserChatBoosts, fS as UserProfilePhotos, fT as UsersShared, fU as Venue, bH as VerifyChatInput, bI as VerifyUserInput, fV as Video, fW as VideoChatEnded, fX as VideoChatParticipantsInvited, fY as VideoChatScheduled, fZ as VideoChatStarted, f_ as VideoNote, f$ as Voice, g0 as WebAppData, g1 as WebAppInfo, g2 as WebhookInfo, g3 as WriteAccessAllowed } from './config-3uU0YevV.js';
|
|
4
4
|
import 'effect/Cause';
|
|
5
5
|
import 'effect/Types';
|
|
6
6
|
import 'effect/Data';
|