@effect-ak/tg-bot-client 0.6.2 → 0.6.3
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 +1 -1
- package/dist/{config-BFdBOrJI.d.ts → config-DAcDINJv.d.ts} +73 -2
- package/dist/index.d.ts +2 -2
- package/dist/webapp.d.ts +1 -0
- package/package.json +1 -1
- package/readme.md +2 -2
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-DAcDINJv.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';
|
|
@@ -416,6 +416,29 @@ interface ChatShared {
|
|
|
416
416
|
username?: string;
|
|
417
417
|
photo?: PhotoSize[];
|
|
418
418
|
}
|
|
419
|
+
interface Checklist {
|
|
420
|
+
title: string;
|
|
421
|
+
tasks: ChecklistTask[];
|
|
422
|
+
title_entities?: MessageEntity[];
|
|
423
|
+
others_can_add_tasks?: boolean;
|
|
424
|
+
others_can_mark_tasks_as_done?: boolean;
|
|
425
|
+
}
|
|
426
|
+
interface ChecklistTask {
|
|
427
|
+
id: number;
|
|
428
|
+
text: string;
|
|
429
|
+
text_entities?: MessageEntity[];
|
|
430
|
+
completed_by_user?: User;
|
|
431
|
+
completion_date?: number;
|
|
432
|
+
}
|
|
433
|
+
interface ChecklistTasksAdded {
|
|
434
|
+
tasks: ChecklistTask[];
|
|
435
|
+
checklist_message?: Message;
|
|
436
|
+
}
|
|
437
|
+
interface ChecklistTasksDone {
|
|
438
|
+
checklist_message?: Message;
|
|
439
|
+
marked_as_done_task_ids?: number[];
|
|
440
|
+
marked_as_not_done_task_ids?: number[];
|
|
441
|
+
}
|
|
419
442
|
interface ChosenInlineResult {
|
|
420
443
|
result_id: string;
|
|
421
444
|
from: User;
|
|
@@ -437,6 +460,10 @@ interface Dice {
|
|
|
437
460
|
emoji: string;
|
|
438
461
|
value: number;
|
|
439
462
|
}
|
|
463
|
+
interface DirectMessagePriceChanged {
|
|
464
|
+
are_direct_messages_enabled: boolean;
|
|
465
|
+
direct_message_star_count?: number;
|
|
466
|
+
}
|
|
440
467
|
interface Document {
|
|
441
468
|
file_id: string;
|
|
442
469
|
file_unique_id: string;
|
|
@@ -478,6 +505,7 @@ interface ExternalReplyInfo {
|
|
|
478
505
|
video_note?: VideoNote;
|
|
479
506
|
voice?: Voice;
|
|
480
507
|
has_media_spoiler?: boolean;
|
|
508
|
+
checklist?: Checklist;
|
|
481
509
|
contact?: Contact;
|
|
482
510
|
dice?: Dice;
|
|
483
511
|
game?: Game;
|
|
@@ -884,6 +912,20 @@ interface InlineQueryResultVoice {
|
|
|
884
912
|
reply_markup?: InlineKeyboardMarkup;
|
|
885
913
|
input_message_content?: InputMessageContent;
|
|
886
914
|
}
|
|
915
|
+
interface InputChecklist {
|
|
916
|
+
title: string;
|
|
917
|
+
tasks: InputChecklistTask[];
|
|
918
|
+
parse_mode?: "HTML" | "MarkdownV2";
|
|
919
|
+
title_entities?: MessageEntity[];
|
|
920
|
+
others_can_add_tasks?: boolean;
|
|
921
|
+
others_can_mark_tasks_as_done?: boolean;
|
|
922
|
+
}
|
|
923
|
+
interface InputChecklistTask {
|
|
924
|
+
id: number;
|
|
925
|
+
text: string;
|
|
926
|
+
parse_mode?: "HTML" | "MarkdownV2";
|
|
927
|
+
text_entities?: MessageEntity[];
|
|
928
|
+
}
|
|
887
929
|
interface InputContactMessageContent {
|
|
888
930
|
phone_number: string;
|
|
889
931
|
first_name: string;
|
|
@@ -1183,6 +1225,7 @@ interface Message {
|
|
|
1183
1225
|
caption_entities?: MessageEntity[];
|
|
1184
1226
|
show_caption_above_media?: boolean;
|
|
1185
1227
|
has_media_spoiler?: boolean;
|
|
1228
|
+
checklist?: Checklist;
|
|
1186
1229
|
contact?: Contact;
|
|
1187
1230
|
dice?: Dice;
|
|
1188
1231
|
game?: Game;
|
|
@@ -1214,6 +1257,9 @@ interface Message {
|
|
|
1214
1257
|
proximity_alert_triggered?: ProximityAlertTriggered;
|
|
1215
1258
|
boost_added?: ChatBoostAdded;
|
|
1216
1259
|
chat_background_set?: ChatBackground;
|
|
1260
|
+
checklist_tasks_done?: ChecklistTasksDone;
|
|
1261
|
+
checklist_tasks_added?: ChecklistTasksAdded;
|
|
1262
|
+
direct_message_price_changed?: DirectMessagePriceChanged;
|
|
1217
1263
|
forum_topic_created?: ForumTopicCreated;
|
|
1218
1264
|
forum_topic_edited?: ForumTopicEdited;
|
|
1219
1265
|
forum_topic_closed?: ForumTopicClosed;
|
|
@@ -1322,6 +1368,7 @@ interface OwnedGiftUnique {
|
|
|
1322
1368
|
is_saved?: boolean;
|
|
1323
1369
|
can_be_transferred?: boolean;
|
|
1324
1370
|
transfer_star_count?: number;
|
|
1371
|
+
next_transfer_date?: number;
|
|
1325
1372
|
}
|
|
1326
1373
|
type PaidMedia = PaidMediaPreview | PaidMediaPhoto | PaidMediaVideo;
|
|
1327
1374
|
interface PaidMediaInfo {
|
|
@@ -1478,7 +1525,7 @@ interface ReactionTypeCustomEmoji {
|
|
|
1478
1525
|
}
|
|
1479
1526
|
interface ReactionTypeEmoji {
|
|
1480
1527
|
type: "emoji";
|
|
1481
|
-
emoji: "
|
|
1528
|
+
emoji: "❤" | "👍" | "👎" | "🔥" | "🥰" | "👏" | "😁" | "🤔" | "🤯" | "😱" | "🤬" | "😢" | "🎉" | "🤩" | "🤮" | "💩" | "🙏" | "👌" | "🕊" | "🤡" | "🥱" | "🥴" | "😍" | "🐳" | "❤🔥" | "🌚" | "🌭" | "💯" | "🤣" | "⚡" | "🍌" | "🏆" | "💔" | "🤨" | "😐" | "🍓" | "🍾" | "💋" | "🖕" | "😈" | "😴" | "😭" | "🤓" | "👻" | "👨💻" | "👀" | "🎃" | "🙈" | "😇" | "😨" | "🤝" | "✍" | "🤗" | "🫡" | "🎅" | "🎄" | "☃" | "💅" | "🤪" | "🗿" | "🆒" | "💘" | "🙉" | "🦄" | "😘" | "💊" | "🙊" | "😎" | "👾" | "🤷♂" | "🤷" | "🤷♀" | "😡";
|
|
1482
1529
|
}
|
|
1483
1530
|
interface ReactionTypePaid {
|
|
1484
1531
|
type: "paid";
|
|
@@ -1722,8 +1769,10 @@ interface UniqueGiftBackdropColors {
|
|
|
1722
1769
|
interface UniqueGiftInfo {
|
|
1723
1770
|
gift: UniqueGift;
|
|
1724
1771
|
origin: string;
|
|
1772
|
+
last_resale_star_count?: number;
|
|
1725
1773
|
owned_gift_id?: string;
|
|
1726
1774
|
transfer_star_count?: number;
|
|
1775
|
+
next_transfer_date?: number;
|
|
1727
1776
|
}
|
|
1728
1777
|
interface UniqueGiftModel {
|
|
1729
1778
|
name: string;
|
|
@@ -1896,6 +1945,7 @@ interface Api {
|
|
|
1896
1945
|
edit_forum_topic(_: EditForumTopicInput): boolean;
|
|
1897
1946
|
edit_general_forum_topic(_: EditGeneralForumTopicInput): boolean;
|
|
1898
1947
|
edit_message_caption(_: EditMessageCaptionInput): Message | boolean;
|
|
1948
|
+
edit_message_checklist(_: EditMessageChecklistInput): Message;
|
|
1899
1949
|
edit_message_live_location(_: EditMessageLiveLocationInput): Message | boolean;
|
|
1900
1950
|
edit_message_media(_: EditMessageMediaInput): Message | boolean;
|
|
1901
1951
|
edit_message_reply_markup(_: EditMessageReplyMarkupInput): Message | boolean;
|
|
@@ -1924,6 +1974,7 @@ interface Api {
|
|
|
1924
1974
|
get_my_description(_: GetMyDescriptionInput): BotDescription;
|
|
1925
1975
|
get_my_name(_: GetMyNameInput): BotName;
|
|
1926
1976
|
get_my_short_description(_: GetMyShortDescriptionInput): BotShortDescription;
|
|
1977
|
+
get_my_star_balance(_: GetMyStarBalanceInput): StarAmount;
|
|
1927
1978
|
get_star_transactions(_: GetStarTransactionsInput): StarTransactions;
|
|
1928
1979
|
get_sticker_set(_: GetStickerSetInput): StickerSet;
|
|
1929
1980
|
get_updates(_: GetUpdatesInput): Update[];
|
|
@@ -1951,6 +2002,7 @@ interface Api {
|
|
|
1951
2002
|
send_animation(_: SendAnimationInput): Message;
|
|
1952
2003
|
send_audio(_: SendAudioInput): Message;
|
|
1953
2004
|
send_chat_action(_: SendChatActionInput): boolean;
|
|
2005
|
+
send_checklist(_: SendChecklistInput): Message;
|
|
1954
2006
|
send_contact(_: SendContactInput): Message;
|
|
1955
2007
|
send_dice(_: SendDiceInput): Message;
|
|
1956
2008
|
send_document(_: SendDocumentInput): Message;
|
|
@@ -2228,6 +2280,13 @@ interface EditMessageCaptionInput {
|
|
|
2228
2280
|
show_caption_above_media?: boolean;
|
|
2229
2281
|
reply_markup?: InlineKeyboardMarkup;
|
|
2230
2282
|
}
|
|
2283
|
+
interface EditMessageChecklistInput {
|
|
2284
|
+
business_connection_id: string;
|
|
2285
|
+
chat_id: number;
|
|
2286
|
+
message_id: number;
|
|
2287
|
+
checklist: InputChecklist;
|
|
2288
|
+
reply_markup?: InlineKeyboardMarkup;
|
|
2289
|
+
}
|
|
2231
2290
|
interface EditMessageLiveLocationInput {
|
|
2232
2291
|
latitude: number;
|
|
2233
2292
|
longitude: number;
|
|
@@ -2368,6 +2427,8 @@ interface GetMyNameInput {
|
|
|
2368
2427
|
interface GetMyShortDescriptionInput {
|
|
2369
2428
|
language_code?: string;
|
|
2370
2429
|
}
|
|
2430
|
+
interface GetMyStarBalanceInput {
|
|
2431
|
+
}
|
|
2371
2432
|
interface GetStarTransactionsInput {
|
|
2372
2433
|
offset?: number;
|
|
2373
2434
|
limit?: number;
|
|
@@ -2541,6 +2602,16 @@ interface SendChatActionInput {
|
|
|
2541
2602
|
business_connection_id?: string;
|
|
2542
2603
|
message_thread_id?: number;
|
|
2543
2604
|
}
|
|
2605
|
+
interface SendChecklistInput {
|
|
2606
|
+
business_connection_id: string;
|
|
2607
|
+
chat_id: number;
|
|
2608
|
+
checklist: InputChecklist;
|
|
2609
|
+
disable_notification?: boolean;
|
|
2610
|
+
protect_content?: boolean;
|
|
2611
|
+
message_effect_id?: string;
|
|
2612
|
+
reply_parameters?: ReplyParameters;
|
|
2613
|
+
reply_markup?: InlineKeyboardMarkup;
|
|
2614
|
+
}
|
|
2544
2615
|
interface SendContactInput {
|
|
2545
2616
|
chat_id: number | string;
|
|
2546
2617
|
phone_number: string;
|
|
@@ -3068,4 +3139,4 @@ declare const TgBotApiToken_base: Context.TagClass<TgBotApiToken, "TgBotApiToken
|
|
|
3068
3139
|
declare class TgBotApiToken extends TgBotApiToken_base {
|
|
3069
3140
|
}
|
|
3070
3141
|
|
|
3071
|
-
export { type GetBusinessAccountStarBalanceInput 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 EditMessageLiveLocationInput as O, type EditMessageMediaInput as P, type EditMessageReplyMarkupInput as Q, type EditMessageTextInput as R, type EditStoryInput as S, TgBotClientError as T, type Update as U, type EditUserStarSubscriptionInput as V, type ExportChatInviteLinkInput as W, type ForwardMessageInput as X, type ForwardMessagesInput as Y, type GetAvailableGiftsInput as Z, type GetBusinessAccountGiftsInput as _, TgBotApiToken as a, type SetBusinessAccountProfilePhotoInput as a$, type GetBusinessConnectionInput as a0, type GetChatInput as a1, type GetChatAdministratorsInput as a2, type GetChatMemberInput as a3, type GetChatMemberCountInput as a4, type GetChatMenuButtonInput as a5, type GetCustomEmojiStickersInput as a6, type GetFileInput as a7, type GetForumTopicIconStickersInput as a8, type GetGameHighScoresInput as a9, type ReplaceStickerInSetInput as aA, type RestrictChatMemberInput as aB, type RevokeChatInviteLinkInput as aC, type SavePreparedInlineMessageInput as aD, type SendAnimationInput as aE, type SendAudioInput as aF, type SendChatActionInput as aG, type SendContactInput as aH, type SendDiceInput as aI, type SendDocumentInput as aJ, type SendGameInput as aK, type SendGiftInput as aL, type SendInvoiceInput as aM, type SendLocationInput as aN, type SendMediaGroupInput as aO, type SendMessageInput as aP, type SendPaidMediaInput as aQ, type SendPhotoInput as aR, type SendPollInput as aS, type SendStickerInput as aT, type SendVenueInput as aU, type SendVideoInput as aV, type SendVideoNoteInput as aW, type SendVoiceInput as aX, type SetBusinessAccountBioInput as aY, type SetBusinessAccountGiftSettingsInput as aZ, type SetBusinessAccountNameInput as a_, type GetMeInput as aa, type GetMyCommandsInput as ab, type GetMyDefaultAdministratorRightsInput as ac, type GetMyDescriptionInput as ad, type GetMyNameInput as ae, type GetMyShortDescriptionInput as af, type GetStarTransactionsInput as ag, type GetStickerSetInput as ah, type GetUpdatesInput as ai, type GetUserChatBoostsInput as aj, type GetUserProfilePhotosInput as ak, type GetWebhookInfoInput as al, type GiftPremiumSubscriptionInput as am, type HideGeneralForumTopicInput as an, type LeaveChatInput as ao, type LogOutInput as ap, type PinChatMessageInput as aq, type PostStoryInput as ar, type PromoteChatMemberInput as as, type ReadBusinessMessageInput as at, type RefundStarPaymentInput as au, type RemoveBusinessAccountProfilePhotoInput as av, type RemoveChatVerificationInput as aw, type RemoveUserVerificationInput as ax, type ReopenForumTopicInput as ay, type ReopenGeneralForumTopicInput as az, TgBotApiBaseUrl as b, type BotCommandScopeDefault as b$, type SetBusinessAccountUsernameInput as b0, type SetChatAdministratorCustomTitleInput as b1, type SetChatDescriptionInput as b2, type SetChatMenuButtonInput as b3, type SetChatPermissionsInput as b4, type SetChatPhotoInput as b5, type SetChatStickerSetInput as b6, type SetChatTitleInput as b7, type SetCustomEmojiStickerSetThumbnailInput as b8, type SetGameScoreInput as b9, type UpgradeGiftInput as bA, type UploadStickerFileInput as bB, type VerifyChatInput as bC, type VerifyUserInput as bD, type AllowedUpdateName as bE, type AcceptedGiftTypes as bF, type AffiliateInfo as bG, type Animation as bH, type Audio as bI, type BackgroundFill as bJ, type BackgroundFillFreeformGradient as bK, type BackgroundFillGradient as bL, type BackgroundFillSolid as bM, type BackgroundType as bN, type BackgroundTypeChatTheme as bO, type BackgroundTypeFill as bP, type BackgroundTypePattern as bQ, type BackgroundTypeWallpaper as bR, type Birthdate as bS, type BotCommand as bT, type BotCommandScope as bU, type BotCommandScopeAllChatAdministrators as bV, type BotCommandScopeAllGroupChats as bW, type BotCommandScopeAllPrivateChats as bX, type BotCommandScopeChat as bY, type BotCommandScopeChatAdministrators as bZ, type BotCommandScopeChatMember as b_, type SetMessageReactionInput as ba, type SetMyCommandsInput as bb, type SetMyDefaultAdministratorRightsInput as bc, type SetMyDescriptionInput as bd, type SetMyNameInput as be, type SetMyShortDescriptionInput as bf, type SetPassportDataErrorsInput as bg, type SetStickerEmojiListInput as bh, type SetStickerKeywordsInput as bi, type SetStickerMaskPositionInput as bj, type SetStickerPositionInSetInput as bk, type SetStickerSetThumbnailInput as bl, type SetStickerSetTitleInput as bm, type SetUserEmojiStatusInput as bn, type SetWebhookInput as bo, type StopMessageLiveLocationInput as bp, type StopPollInput as bq, type TransferBusinessAccountStarsInput as br, type TransferGiftInput as bs, type UnbanChatMemberInput as bt, type UnbanChatSenderChatInput as bu, type UnhideGeneralForumTopicInput as bv, type UnpinAllChatMessagesInput as bw, type UnpinAllForumTopicMessagesInput as bx, type UnpinAllGeneralForumTopicMessagesInput as by, type UnpinChatMessageInput as bz, type AddStickerToSetInput as c, type GiveawayWinners as c$, type BotDescription as c0, type BotName as c1, type BotShortDescription as c2, type BusinessBotRights as c3, type BusinessConnection as c4, type BusinessIntro as c5, type BusinessLocation as c6, type BusinessMessagesDeleted as c7, type BusinessOpeningHours as c8, type BusinessOpeningHoursInterval as c9, type ChatPhoto as cA, type ChatShared as cB, type ChosenInlineResult as cC, type Contact as cD, type CopyTextButton as cE, type Dice as cF, type Document as cG, type EncryptedCredentials as cH, type EncryptedPassportElement as cI, type ExternalReplyInfo as cJ, type File as cK, type ForceReply as cL, type ForumTopic as cM, type ForumTopicClosed as cN, type ForumTopicCreated as cO, type ForumTopicEdited as cP, type ForumTopicReopened as cQ, type Game as cR, type GameHighScore as cS, type GeneralForumTopicHidden as cT, type GeneralForumTopicUnhidden as cU, type Gift as cV, type GiftInfo as cW, type Gifts as cX, type Giveaway as cY, type GiveawayCompleted as cZ, type GiveawayCreated as c_, type CallbackGame as ca, type CallbackQuery as cb, type Chat as cc, type ChatAdministratorRights as cd, type ChatBackground as ce, type ChatBoost as cf, type ChatBoostAdded as cg, type ChatBoostRemoved as ch, type ChatBoostSource as ci, type ChatBoostSourceGiftCode as cj, type ChatBoostSourceGiveaway as ck, type ChatBoostSourcePremium as cl, type ChatBoostUpdated as cm, type ChatFullInfo as cn, type ChatInviteLink as co, type ChatJoinRequest as cp, type ChatLocation as cq, type ChatMember as cr, type ChatMemberAdministrator as cs, type ChatMemberBanned as ct, type ChatMemberLeft as cu, type ChatMemberMember as cv, type ChatMemberOwner as cw, type ChatMemberRestricted as cx, type ChatMemberUpdated as cy, type ChatPermissions as cz, type AnswerCallbackQueryInput as d, type MenuButton as d$, type InaccessibleMessage as d0, type InlineKeyboardButton as d1, type InlineKeyboardMarkup as d2, type InlineQuery as d3, type InlineQueryResult as d4, type InlineQueryResultArticle as d5, type InlineQueryResultAudio as d6, type InlineQueryResultCachedAudio as d7, type InlineQueryResultCachedDocument as d8, type InlineQueryResultCachedGif as d9, type InputMediaVideo as dA, type InputMessageContent as dB, type InputPaidMedia as dC, type InputPaidMediaPhoto as dD, type InputPaidMediaVideo as dE, type InputPollOption as dF, type InputProfilePhoto as dG, type InputProfilePhotoAnimated as dH, type InputProfilePhotoStatic as dI, type InputSticker as dJ, type InputStoryContent as dK, type InputStoryContentPhoto as dL, type InputStoryContentVideo as dM, type InputTextMessageContent as dN, type InputVenueMessageContent as dO, type Invoice as dP, type KeyboardButton as dQ, type KeyboardButtonPollType as dR, type KeyboardButtonRequestChat as dS, type KeyboardButtonRequestUsers as dT, type LabeledPrice as dU, type LinkPreviewOptions as dV, type Location as dW, type LocationAddress as dX, type LoginUrl as dY, type MaskPosition as dZ, type MaybeInaccessibleMessage as d_, type InlineQueryResultCachedMpeg4Gif as da, type InlineQueryResultCachedPhoto as db, type InlineQueryResultCachedSticker as dc, type InlineQueryResultCachedVideo as dd, type InlineQueryResultCachedVoice as de, type InlineQueryResultContact as df, type InlineQueryResultDocument as dg, type InlineQueryResultGame as dh, type InlineQueryResultGif as di, type InlineQueryResultLocation as dj, type InlineQueryResultMpeg4Gif as dk, type InlineQueryResultPhoto as dl, type InlineQueryResultsButton as dm, type InlineQueryResultVenue as dn, type InlineQueryResultVideo as dp, type InlineQueryResultVoice as dq, type InputContactMessageContent as dr, type InputFile as ds, type InputInvoiceMessageContent as dt, type InputLocationMessageContent as du, type InputMedia as dv, type InputMediaAnimation as dw, type InputMediaAudio as dx, type InputMediaDocument as dy, type InputMediaPhoto as dz, type AnswerInlineQueryInput as e, type ShippingQuery as e$, type MenuButtonCommands as e0, type MenuButtonDefault as e1, type MenuButtonWebApp as e2, type Message as e3, type MessageAutoDeleteTimerChanged as e4, type MessageEntity as e5, type MessageId as e6, type MessageOrigin as e7, type MessageOriginChannel as e8, type MessageOriginChat as e9, type PassportElementErrorUnspecified as eA, type PassportFile as eB, type PhotoSize as eC, type Poll as eD, type PollAnswer as eE, type PollOption as eF, type PreCheckoutQuery as eG, type PreparedInlineMessage as eH, type ProximityAlertTriggered as eI, type ReactionCount as eJ, type ReactionType as eK, type ReactionTypeCustomEmoji as eL, type ReactionTypeEmoji as eM, type ReactionTypePaid as eN, type RefundedPayment as eO, type ReplyKeyboardMarkup as eP, type ReplyKeyboardRemove as eQ, type ReplyParameters as eR, type ResponseParameters as eS, type RevenueWithdrawalState as eT, type RevenueWithdrawalStateFailed as eU, type RevenueWithdrawalStatePending as eV, type RevenueWithdrawalStateSucceeded as eW, type SentWebAppMessage as eX, type SharedUser as eY, type ShippingAddress as eZ, type ShippingOption as e_, type MessageOriginHiddenUser as ea, type MessageOriginUser as eb, type MessageReactionCountUpdated as ec, type MessageReactionUpdated as ed, type OrderInfo as ee, type OwnedGift as ef, type OwnedGiftRegular as eg, type OwnedGifts as eh, type OwnedGiftUnique as ei, type PaidMedia as ej, type PaidMediaInfo as ek, type PaidMediaPhoto as el, type PaidMediaPreview as em, type PaidMediaPurchased as en, type PaidMediaVideo as eo, type PaidMessagePriceChanged as ep, type PassportData as eq, type PassportElementError as er, type PassportElementErrorDataField as es, type PassportElementErrorFile as et, type PassportElementErrorFiles as eu, type PassportElementErrorFrontSide as ev, type PassportElementErrorReverseSide as ew, type PassportElementErrorSelfie as ex, type PassportElementErrorTranslationFile as ey, type PassportElementErrorTranslationFiles as ez, type AnswerPreCheckoutQueryInput as f, type StarAmount as f0, type StarTransaction as f1, type StarTransactions as f2, type Sticker as f3, type StickerSet as f4, type Story as f5, type StoryArea as f6, type StoryAreaPosition as f7, type StoryAreaType as f8, type StoryAreaTypeLink as f9, type Video as fA, type VideoChatEnded as fB, type VideoChatParticipantsInvited as fC, type VideoChatScheduled as fD, type VideoChatStarted as fE, type VideoNote as fF, type Voice as fG, type WebAppData as fH, type WebAppInfo as fI, type WebhookInfo as fJ, type WriteAccessAllowed as fK, type StoryAreaTypeLocation as fa, type StoryAreaTypeSuggestedReaction as fb, type StoryAreaTypeUniqueGift as fc, type StoryAreaTypeWeather as fd, type SuccessfulPayment as fe, type SwitchInlineQueryChosenChat as ff, type TextQuote as fg, type TransactionPartner as fh, type TransactionPartnerAffiliateProgram as fi, type TransactionPartnerChat as fj, type TransactionPartnerFragment as fk, type TransactionPartnerOther as fl, type TransactionPartnerTelegramAds as fm, type TransactionPartnerTelegramApi as fn, type TransactionPartnerUser as fo, type UniqueGift as fp, type UniqueGiftBackdrop as fq, type UniqueGiftBackdropColors as fr, type UniqueGiftInfo as fs, type UniqueGiftModel as ft, type UniqueGiftSymbol as fu, type User as fv, type UserChatBoosts as fw, type UserProfilePhotos as fx, type UsersShared as fy, type Venue 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 };
|
|
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 };
|
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 { bF as AcceptedGiftTypes, c as AddStickerToSetInput, bG as AffiliateInfo, bE as AllowedUpdateName, bH as Animation, d as AnswerCallbackQueryInput, e as AnswerInlineQueryInput, f as AnswerPreCheckoutQueryInput, g as AnswerShippingQueryInput, h as AnswerWebAppQueryInput, i as ApproveChatJoinRequestInput, bI as Audio, bJ as BackgroundFill, bK as BackgroundFillFreeformGradient, bL as BackgroundFillGradient, bM as BackgroundFillSolid, bN as BackgroundType, bO as BackgroundTypeChatTheme, bP as BackgroundTypeFill, bQ as BackgroundTypePattern, bR as BackgroundTypeWallpaper, B as BanChatMemberInput, j as BanChatSenderChatInput, bS as Birthdate, bT as BotCommand, bU as BotCommandScope, bV as BotCommandScopeAllChatAdministrators, bW as BotCommandScopeAllGroupChats, bX as BotCommandScopeAllPrivateChats, bY as BotCommandScopeChat, bZ as BotCommandScopeChatAdministrators, b_ as BotCommandScopeChatMember, b$ as BotCommandScopeDefault, c0 as BotDescription, c1 as BotName, c2 as BotShortDescription, c3 as BusinessBotRights, c4 as BusinessConnection, c5 as BusinessIntro, c6 as BusinessLocation, c7 as BusinessMessagesDeleted, c8 as BusinessOpeningHours, c9 as BusinessOpeningHoursInterval, ca as CallbackGame, cb as CallbackQuery, cc as Chat, cd as ChatAdministratorRights, ce as ChatBackground, cf as ChatBoost, cg as ChatBoostAdded, ch as ChatBoostRemoved, ci as ChatBoostSource, cj as ChatBoostSourceGiftCode, ck as ChatBoostSourceGiveaway, cl as ChatBoostSourcePremium, cm as ChatBoostUpdated, cn as ChatFullInfo, co as ChatInviteLink, cp as ChatJoinRequest, cq as ChatLocation, cr as ChatMember, cs as ChatMemberAdministrator, ct as ChatMemberBanned, cu as ChatMemberLeft, cv as ChatMemberMember, cw as ChatMemberOwner, cx as ChatMemberRestricted, cy as ChatMemberUpdated, cz as ChatPermissions, cA as ChatPhoto, cB as ChatShared, cC as ChosenInlineResult, k as CloseForumTopicInput, l as CloseGeneralForumTopicInput, C as CloseInput, cD as Contact, m as ConvertGiftToStarsInput, n as CopyMessageInput, o as CopyMessagesInput, cE 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, cF as Dice, cG as Document, J as EditChatInviteLinkInput, K as EditChatSubscriptionInviteLinkInput, L as EditForumTopicInput, M as EditGeneralForumTopicInput, N as EditMessageCaptionInput, O as EditMessageLiveLocationInput, P as EditMessageMediaInput, Q as EditMessageReplyMarkupInput, R as EditMessageTextInput, S as EditStoryInput, V as EditUserStarSubscriptionInput, cH as EncryptedCredentials, cI as EncryptedPassportElement, W as ExportChatInviteLinkInput, cJ as ExternalReplyInfo, cK as File, cL as ForceReply, cM as ForumTopic, cN as ForumTopicClosed, cO as ForumTopicCreated, cP as ForumTopicEdited, cQ as ForumTopicReopened, X as ForwardMessageInput, Y as ForwardMessagesInput, cR as Game, cS as GameHighScore, cT as GeneralForumTopicHidden, cU as GeneralForumTopicUnhidden, Z as GetAvailableGiftsInput, _ as GetBusinessAccountGiftsInput, $ as GetBusinessAccountStarBalanceInput, a0 as GetBusinessConnectionInput, a2 as GetChatAdministratorsInput, a1 as GetChatInput, a4 as GetChatMemberCountInput, a3 as GetChatMemberInput, a5 as GetChatMenuButtonInput, a6 as GetCustomEmojiStickersInput, a7 as GetFileInput, a8 as GetForumTopicIconStickersInput, a9 as GetGameHighScoresInput, aa as GetMeInput, ab as GetMyCommandsInput, ac as GetMyDefaultAdministratorRightsInput, ad as GetMyDescriptionInput, ae as GetMyNameInput, af as GetMyShortDescriptionInput, ag as GetStarTransactionsInput, ah as GetStickerSetInput, ai as GetUpdatesInput, aj as GetUserChatBoostsInput, ak as GetUserProfilePhotosInput, al as GetWebhookInfoInput, cV as Gift, cW as GiftInfo, am as GiftPremiumSubscriptionInput, cX as Gifts, cY as Giveaway, cZ as GiveawayCompleted, c_ as GiveawayCreated, c$ as GiveawayWinners, an as HideGeneralForumTopicInput, d0 as InaccessibleMessage, d1 as InlineKeyboardButton, d2 as InlineKeyboardMarkup, d3 as InlineQuery, d4 as InlineQueryResult, d5 as InlineQueryResultArticle, d6 as InlineQueryResultAudio, d7 as InlineQueryResultCachedAudio, d8 as InlineQueryResultCachedDocument, d9 as InlineQueryResultCachedGif, da as InlineQueryResultCachedMpeg4Gif, db as InlineQueryResultCachedPhoto, dc as InlineQueryResultCachedSticker, dd as InlineQueryResultCachedVideo, de as InlineQueryResultCachedVoice, df as InlineQueryResultContact, dg as InlineQueryResultDocument, dh as InlineQueryResultGame, di as InlineQueryResultGif, dj as InlineQueryResultLocation, dk as InlineQueryResultMpeg4Gif, dl as InlineQueryResultPhoto, dn as InlineQueryResultVenue, dp as InlineQueryResultVideo, dq as InlineQueryResultVoice, dm as InlineQueryResultsButton, dr as InputContactMessageContent, ds as InputFile, dt as InputInvoiceMessageContent, du as InputLocationMessageContent, dv as InputMedia, dw as InputMediaAnimation, dx as InputMediaAudio, dy as InputMediaDocument, dz as InputMediaPhoto, dA as InputMediaVideo, dB as InputMessageContent, dC as InputPaidMedia, dD as InputPaidMediaPhoto, dE as InputPaidMediaVideo, dF as InputPollOption, dG as InputProfilePhoto, dH as InputProfilePhotoAnimated, dI as InputProfilePhotoStatic, dJ as InputSticker, dK as InputStoryContent, dL as InputStoryContentPhoto, dM as InputStoryContentVideo, dN as InputTextMessageContent, dO as InputVenueMessageContent, dP as Invoice, dQ as KeyboardButton, dR as KeyboardButtonPollType, dS as KeyboardButtonRequestChat, dT as KeyboardButtonRequestUsers, dU as LabeledPrice, ao as LeaveChatInput, dV as LinkPreviewOptions, dW as Location, dX as LocationAddress, ap as LogOutInput, dY as LoginUrl, dZ as MaskPosition, d_ as MaybeInaccessibleMessage, d$ as MenuButton, e0 as MenuButtonCommands, e1 as MenuButtonDefault, e2 as MenuButtonWebApp, e3 as Message, e4 as MessageAutoDeleteTimerChanged, e5 as MessageEntity, e6 as MessageId, e7 as MessageOrigin, e8 as MessageOriginChannel, e9 as MessageOriginChat, ea as MessageOriginHiddenUser, eb as MessageOriginUser, ec as MessageReactionCountUpdated, ed as MessageReactionUpdated, ee as OrderInfo, ef as OwnedGift, eg as OwnedGiftRegular, ei as OwnedGiftUnique, eh as OwnedGifts, ej as PaidMedia, ek as PaidMediaInfo, el as PaidMediaPhoto, em as PaidMediaPreview, en as PaidMediaPurchased, eo as PaidMediaVideo, ep as PaidMessagePriceChanged, eq as PassportData, er as PassportElementError, es as PassportElementErrorDataField, et as PassportElementErrorFile, eu as PassportElementErrorFiles, ev as PassportElementErrorFrontSide, ew as PassportElementErrorReverseSide, ex as PassportElementErrorSelfie, ey as PassportElementErrorTranslationFile, ez as PassportElementErrorTranslationFiles, eA as PassportElementErrorUnspecified, eB as PassportFile, eC as PhotoSize, aq as PinChatMessageInput, eD as Poll, eE as PollAnswer, eF as PollOption, ar as PostStoryInput, eG as PreCheckoutQuery, eH as PreparedInlineMessage, as as PromoteChatMemberInput, eI as ProximityAlertTriggered, eJ as ReactionCount, eK as ReactionType, eL as ReactionTypeCustomEmoji, eM as ReactionTypeEmoji, eN as ReactionTypePaid, at as ReadBusinessMessageInput, au as RefundStarPaymentInput, eO as RefundedPayment, av as RemoveBusinessAccountProfilePhotoInput, aw as RemoveChatVerificationInput, ax as RemoveUserVerificationInput, ay as ReopenForumTopicInput, az as ReopenGeneralForumTopicInput, aA as ReplaceStickerInSetInput, eP as ReplyKeyboardMarkup, eQ as ReplyKeyboardRemove, eR as ReplyParameters, eS as ResponseParameters, aB as RestrictChatMemberInput, eT as RevenueWithdrawalState, eU as RevenueWithdrawalStateFailed, eV as RevenueWithdrawalStatePending, eW as RevenueWithdrawalStateSucceeded, aC as RevokeChatInviteLinkInput, aD as SavePreparedInlineMessageInput, aE as SendAnimationInput, aF as SendAudioInput, aG as SendChatActionInput, aH as SendContactInput, aI as SendDiceInput, aJ as SendDocumentInput, aK as SendGameInput, aL as SendGiftInput, aM as SendInvoiceInput, aN as SendLocationInput, aO as SendMediaGroupInput, aP as SendMessageInput, aQ as SendPaidMediaInput, aR as SendPhotoInput, aS as SendPollInput, aT as SendStickerInput, aU as SendVenueInput, aV as SendVideoInput, aW as SendVideoNoteInput, aX as SendVoiceInput, eX as SentWebAppMessage, aY as SetBusinessAccountBioInput, aZ as SetBusinessAccountGiftSettingsInput, a_ as SetBusinessAccountNameInput, a$ as SetBusinessAccountProfilePhotoInput, b0 as SetBusinessAccountUsernameInput, b1 as SetChatAdministratorCustomTitleInput, b2 as SetChatDescriptionInput, b3 as SetChatMenuButtonInput, b4 as SetChatPermissionsInput, b5 as SetChatPhotoInput, b6 as SetChatStickerSetInput, b7 as SetChatTitleInput, b8 as SetCustomEmojiStickerSetThumbnailInput, b9 as SetGameScoreInput, ba as SetMessageReactionInput, bb as SetMyCommandsInput, bc as SetMyDefaultAdministratorRightsInput, bd as SetMyDescriptionInput, be as SetMyNameInput, bf as SetMyShortDescriptionInput, bg as SetPassportDataErrorsInput, bh as SetStickerEmojiListInput, bi as SetStickerKeywordsInput, bj as SetStickerMaskPositionInput, bk as SetStickerPositionInSetInput, bl as SetStickerSetThumbnailInput, bm as SetStickerSetTitleInput, bn as SetUserEmojiStatusInput, bo as SetWebhookInput, eY as SharedUser, eZ as ShippingAddress, e_ as ShippingOption, e$ as ShippingQuery, f0 as StarAmount, f1 as StarTransaction, f2 as StarTransactions, f3 as Sticker, f4 as StickerSet, bp as StopMessageLiveLocationInput, bq as StopPollInput, f5 as Story, f6 as StoryArea, f7 as StoryAreaPosition, f8 as StoryAreaType, f9 as StoryAreaTypeLink, fa as StoryAreaTypeLocation, fb as StoryAreaTypeSuggestedReaction, fc as StoryAreaTypeUniqueGift, fd as StoryAreaTypeWeather, fe as SuccessfulPayment, ff as SwitchInlineQueryChosenChat, fg as TextQuote, b as TgBotApiBaseUrl, fh as TransactionPartner, fi as TransactionPartnerAffiliateProgram, fj as TransactionPartnerChat, fk as TransactionPartnerFragment, fl as TransactionPartnerOther, fm as TransactionPartnerTelegramAds, fn as TransactionPartnerTelegramApi, fo as TransactionPartnerUser, br as TransferBusinessAccountStarsInput, bs as TransferGiftInput, bt as UnbanChatMemberInput, bu as UnbanChatSenderChatInput, bv as UnhideGeneralForumTopicInput, fp as UniqueGift, fq as UniqueGiftBackdrop, fr as UniqueGiftBackdropColors, fs as UniqueGiftInfo, ft as UniqueGiftModel, fu as UniqueGiftSymbol, bw as UnpinAllChatMessagesInput, bx as UnpinAllForumTopicMessagesInput, by as UnpinAllGeneralForumTopicMessagesInput, bz as UnpinChatMessageInput, bA as UpgradeGiftInput, bB as UploadStickerFileInput, fv as User, fw as UserChatBoosts, fx as UserProfilePhotos, fy as UsersShared, fz as Venue, bC as VerifyChatInput, bD as VerifyUserInput, fA as Video, fB as VideoChatEnded, fC as VideoChatParticipantsInvited, fD as VideoChatScheduled, fE as VideoChatStarted, fF as VideoNote, fG as Voice, fH as WebAppData, fI as WebAppInfo, fJ as WebhookInfo, fK as WriteAccessAllowed } from './config-BFdBOrJI.js';
|
|
2
|
+
import { A as Api, T as TgBotClientError, a as TgBotApiToken, U as Update } from './config-DAcDINJv.js';
|
|
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';
|
|
4
4
|
import 'effect/Cause';
|
|
5
5
|
import 'effect/Types';
|
|
6
6
|
import 'effect/Data';
|
package/dist/webapp.d.ts
CHANGED
|
@@ -143,6 +143,7 @@ interface WebApp {
|
|
|
143
143
|
setEmojiStatus: (custom_emoj_id: string, params?: EmojiStatusParams, callback?: (isStatusSet: boolean) => void) => void;
|
|
144
144
|
requestEmojiStatusAccess: (url: string, callback?: (invoiceStatus: unknown) => void) => void;
|
|
145
145
|
downloadFile: (params: DownloadFileParams, callback?: (isAccepted: boolean) => void) => void;
|
|
146
|
+
hideKeyboard: () => void;
|
|
146
147
|
showPopup: (params: PopupParams, callback?: (buttonId: string) => void) => void;
|
|
147
148
|
showAlert: (message: string, callback?: () => void) => void;
|
|
148
149
|
showConfirm: (message: string, callback?: (isOk: boolean) => void) => void;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[](https://www.npmjs.com/package/@effect-ak/tg-bot-client)
|
|
2
|
-

|
|
3
|
+

|
|
4
4
|
[](https://effect-ak.github.io/telegram-bot-api/)
|
|
5
5
|

|
|
6
6
|

|