@effect-ak/tg-bot-api 1.3.3 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +67 -3
- package/package.json +1 -1
- package/readme.md +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ interface WebApp {
|
|
|
68
68
|
readTextFromClipboard: (callback?: (text: string) => void) => void;
|
|
69
69
|
requestWriteAccess: (callback?: (isGranted: boolean) => void) => void;
|
|
70
70
|
requestContact: (callback?: (isShared: boolean) => void) => void;
|
|
71
|
+
requestChat: unknown;
|
|
71
72
|
ready: () => void;
|
|
72
73
|
expand: () => void;
|
|
73
74
|
close: () => void;
|
|
@@ -1640,6 +1641,7 @@ interface KeyboardButton {
|
|
|
1640
1641
|
style?: "danger" | "success" | "primary";
|
|
1641
1642
|
request_users?: KeyboardButtonRequestUsers;
|
|
1642
1643
|
request_chat?: KeyboardButtonRequestChat;
|
|
1644
|
+
request_managed_bot?: KeyboardButtonRequestManagedBot;
|
|
1643
1645
|
request_contact?: boolean;
|
|
1644
1646
|
request_location?: boolean;
|
|
1645
1647
|
request_poll?: KeyboardButtonPollType;
|
|
@@ -1661,6 +1663,11 @@ interface KeyboardButtonRequestChat {
|
|
|
1661
1663
|
request_username?: boolean;
|
|
1662
1664
|
request_photo?: boolean;
|
|
1663
1665
|
}
|
|
1666
|
+
interface KeyboardButtonRequestManagedBot {
|
|
1667
|
+
request_id: number;
|
|
1668
|
+
suggested_name?: string;
|
|
1669
|
+
suggested_username?: string;
|
|
1670
|
+
}
|
|
1664
1671
|
interface KeyboardButtonRequestUsers {
|
|
1665
1672
|
request_id: number;
|
|
1666
1673
|
user_is_bot?: boolean;
|
|
@@ -1701,6 +1708,13 @@ interface LoginUrl {
|
|
|
1701
1708
|
bot_username?: string;
|
|
1702
1709
|
request_write_access?: boolean;
|
|
1703
1710
|
}
|
|
1711
|
+
interface ManagedBotCreated {
|
|
1712
|
+
bot: User;
|
|
1713
|
+
}
|
|
1714
|
+
interface ManagedBotUpdated {
|
|
1715
|
+
user: User;
|
|
1716
|
+
bot: User;
|
|
1717
|
+
}
|
|
1704
1718
|
interface MaskPosition {
|
|
1705
1719
|
point: string;
|
|
1706
1720
|
x_shift: number;
|
|
@@ -1740,6 +1754,7 @@ interface Message {
|
|
|
1740
1754
|
quote?: TextQuote;
|
|
1741
1755
|
reply_to_story?: Story;
|
|
1742
1756
|
reply_to_checklist_task_id?: number;
|
|
1757
|
+
reply_to_poll_option_id?: string;
|
|
1743
1758
|
via_bot?: User;
|
|
1744
1759
|
edit_date?: number;
|
|
1745
1760
|
has_protected_content?: boolean;
|
|
@@ -1815,7 +1830,10 @@ interface Message {
|
|
|
1815
1830
|
giveaway?: Giveaway;
|
|
1816
1831
|
giveaway_winners?: GiveawayWinners;
|
|
1817
1832
|
giveaway_completed?: GiveawayCompleted;
|
|
1833
|
+
managed_bot_created?: ManagedBotCreated;
|
|
1818
1834
|
paid_message_price_changed?: PaidMessagePriceChanged;
|
|
1835
|
+
poll_option_added?: PollOptionAdded;
|
|
1836
|
+
poll_option_deleted?: PollOptionDeleted;
|
|
1819
1837
|
suggested_post_approved?: SuggestedPostApproved;
|
|
1820
1838
|
suggested_post_approval_failed?: SuggestedPostApprovalFailed;
|
|
1821
1839
|
suggested_post_declined?: SuggestedPostDeclined;
|
|
@@ -2032,23 +2050,43 @@ interface Poll {
|
|
|
2032
2050
|
is_anonymous: boolean;
|
|
2033
2051
|
type: "regular" | "quiz";
|
|
2034
2052
|
allows_multiple_answers: boolean;
|
|
2053
|
+
allows_revoting: boolean;
|
|
2035
2054
|
question_entities?: MessageEntity[];
|
|
2036
|
-
|
|
2055
|
+
correct_option_ids?: number[];
|
|
2037
2056
|
explanation?: string;
|
|
2038
2057
|
explanation_entities?: MessageEntity[];
|
|
2039
2058
|
open_period?: number;
|
|
2040
2059
|
close_date?: number;
|
|
2060
|
+
description?: string;
|
|
2061
|
+
description_entities?: MessageEntity[];
|
|
2041
2062
|
}
|
|
2042
2063
|
interface PollAnswer {
|
|
2043
2064
|
poll_id: string;
|
|
2044
2065
|
option_ids: number[];
|
|
2066
|
+
option_persistent_ids: string[];
|
|
2045
2067
|
voter_chat?: Chat;
|
|
2046
2068
|
user?: User;
|
|
2047
2069
|
}
|
|
2048
2070
|
interface PollOption {
|
|
2071
|
+
persistent_id: string;
|
|
2049
2072
|
text: string;
|
|
2050
2073
|
voter_count: number;
|
|
2051
2074
|
text_entities?: MessageEntity[];
|
|
2075
|
+
added_by_user?: User;
|
|
2076
|
+
added_by_chat?: Chat;
|
|
2077
|
+
addition_date?: number;
|
|
2078
|
+
}
|
|
2079
|
+
interface PollOptionAdded {
|
|
2080
|
+
option_persistent_id: string;
|
|
2081
|
+
option_text: string;
|
|
2082
|
+
poll_message?: MaybeInaccessibleMessage;
|
|
2083
|
+
option_text_entities?: MessageEntity[];
|
|
2084
|
+
}
|
|
2085
|
+
interface PollOptionDeleted {
|
|
2086
|
+
option_persistent_id: string;
|
|
2087
|
+
option_text: string;
|
|
2088
|
+
poll_message?: MaybeInaccessibleMessage;
|
|
2089
|
+
option_text_entities?: MessageEntity[];
|
|
2052
2090
|
}
|
|
2053
2091
|
interface PreCheckoutQuery {
|
|
2054
2092
|
id: string;
|
|
@@ -2063,6 +2101,9 @@ interface PreparedInlineMessage {
|
|
|
2063
2101
|
id: string;
|
|
2064
2102
|
expiration_date: number;
|
|
2065
2103
|
}
|
|
2104
|
+
interface PreparedKeyboardButton {
|
|
2105
|
+
id: string;
|
|
2106
|
+
}
|
|
2066
2107
|
interface ProximityAlertTriggered {
|
|
2067
2108
|
traveler: User;
|
|
2068
2109
|
watcher: User;
|
|
@@ -2112,6 +2153,7 @@ interface ReplyParameters {
|
|
|
2112
2153
|
quote_entities?: MessageEntity[];
|
|
2113
2154
|
quote_position?: number;
|
|
2114
2155
|
checklist_task_id?: number;
|
|
2156
|
+
poll_option_id?: string;
|
|
2115
2157
|
}
|
|
2116
2158
|
interface ResponseParameters {
|
|
2117
2159
|
migrate_to_chat_id?: number;
|
|
@@ -2416,6 +2458,7 @@ interface Update {
|
|
|
2416
2458
|
chat_join_request?: ChatJoinRequest;
|
|
2417
2459
|
chat_boost?: ChatBoostUpdated;
|
|
2418
2460
|
removed_chat_boost?: ChatBoostRemoved;
|
|
2461
|
+
managed_bot?: ManagedBotUpdated;
|
|
2419
2462
|
}
|
|
2420
2463
|
interface User {
|
|
2421
2464
|
id: number;
|
|
@@ -2433,6 +2476,7 @@ interface User {
|
|
|
2433
2476
|
has_main_web_app?: boolean;
|
|
2434
2477
|
has_topics_enabled?: boolean;
|
|
2435
2478
|
allows_users_to_create_topics?: boolean;
|
|
2479
|
+
can_manage_bots?: boolean;
|
|
2436
2480
|
}
|
|
2437
2481
|
interface UserChatBoosts {
|
|
2438
2482
|
boosts: ChatBoost[];
|
|
@@ -2599,6 +2643,7 @@ interface Api {
|
|
|
2599
2643
|
get_file(_: GetFileInput): File;
|
|
2600
2644
|
get_forum_topic_icon_stickers(_: GetForumTopicIconStickersInput): Sticker[];
|
|
2601
2645
|
get_game_high_scores(_: GetGameHighScoresInput): GameHighScore[];
|
|
2646
|
+
get_managed_bot_token(_: GetManagedBotTokenInput): string;
|
|
2602
2647
|
get_me(_: GetMeInput): User;
|
|
2603
2648
|
get_my_commands(_: GetMyCommandsInput): BotCommand[];
|
|
2604
2649
|
get_my_default_administrator_rights(_: GetMyDefaultAdministratorRightsInput): ChatAdministratorRights;
|
|
@@ -2629,11 +2674,13 @@ interface Api {
|
|
|
2629
2674
|
remove_user_verification(_: RemoveUserVerificationInput): boolean;
|
|
2630
2675
|
reopen_forum_topic(_: ReopenForumTopicInput): boolean;
|
|
2631
2676
|
reopen_general_forum_topic(_: ReopenGeneralForumTopicInput): boolean;
|
|
2677
|
+
replace_managed_bot_token(_: ReplaceManagedBotTokenInput): string;
|
|
2632
2678
|
replace_sticker_in_set(_: ReplaceStickerInSetInput): boolean;
|
|
2633
2679
|
repost_story(_: RepostStoryInput): Story;
|
|
2634
2680
|
restrict_chat_member(_: RestrictChatMemberInput): boolean;
|
|
2635
2681
|
revoke_chat_invite_link(_: RevokeChatInviteLinkInput): ChatInviteLink;
|
|
2636
2682
|
save_prepared_inline_message(_: SavePreparedInlineMessageInput): PreparedInlineMessage;
|
|
2683
|
+
save_prepared_keyboard_button(_: SavePreparedKeyboardButtonInput): PreparedKeyboardButton;
|
|
2637
2684
|
send_animation(_: SendAnimationInput): Message;
|
|
2638
2685
|
send_audio(_: SendAudioInput): Message;
|
|
2639
2686
|
send_chat_action(_: SendChatActionInput): boolean;
|
|
@@ -3080,6 +3127,9 @@ interface GetGameHighScoresInput {
|
|
|
3080
3127
|
message_id?: number;
|
|
3081
3128
|
inline_message_id?: string;
|
|
3082
3129
|
}
|
|
3130
|
+
interface GetManagedBotTokenInput {
|
|
3131
|
+
user_id: number;
|
|
3132
|
+
}
|
|
3083
3133
|
interface GetMeInput {
|
|
3084
3134
|
}
|
|
3085
3135
|
interface GetMyCommandsInput {
|
|
@@ -3222,6 +3272,9 @@ interface ReopenForumTopicInput {
|
|
|
3222
3272
|
interface ReopenGeneralForumTopicInput {
|
|
3223
3273
|
chat_id: number | string;
|
|
3224
3274
|
}
|
|
3275
|
+
interface ReplaceManagedBotTokenInput {
|
|
3276
|
+
user_id: number;
|
|
3277
|
+
}
|
|
3225
3278
|
interface ReplaceStickerInSetInput {
|
|
3226
3279
|
user_id: number;
|
|
3227
3280
|
name: string;
|
|
@@ -3255,6 +3308,10 @@ interface SavePreparedInlineMessageInput {
|
|
|
3255
3308
|
allow_group_chats?: boolean;
|
|
3256
3309
|
allow_channel_chats?: boolean;
|
|
3257
3310
|
}
|
|
3311
|
+
interface SavePreparedKeyboardButtonInput {
|
|
3312
|
+
user_id: number;
|
|
3313
|
+
button: KeyboardButton;
|
|
3314
|
+
}
|
|
3258
3315
|
interface SendAnimationInput {
|
|
3259
3316
|
chat_id: number | string;
|
|
3260
3317
|
animation: InputFile | string;
|
|
@@ -3524,13 +3581,20 @@ interface SendPollInput {
|
|
|
3524
3581
|
is_anonymous?: boolean;
|
|
3525
3582
|
type?: string;
|
|
3526
3583
|
allows_multiple_answers?: boolean;
|
|
3527
|
-
|
|
3584
|
+
allows_revoting?: boolean;
|
|
3585
|
+
shuffle_options?: boolean;
|
|
3586
|
+
allow_adding_options?: boolean;
|
|
3587
|
+
hide_results_until_closes?: boolean;
|
|
3588
|
+
correct_option_ids?: number[];
|
|
3528
3589
|
explanation?: string;
|
|
3529
3590
|
explanation_parse_mode?: "HTML" | "MarkdownV2";
|
|
3530
3591
|
explanation_entities?: MessageEntity[];
|
|
3531
3592
|
open_period?: number;
|
|
3532
3593
|
close_date?: number;
|
|
3533
3594
|
is_closed?: boolean;
|
|
3595
|
+
description?: string;
|
|
3596
|
+
description_parse_mode?: "HTML" | "MarkdownV2";
|
|
3597
|
+
description_entities?: MessageEntity[];
|
|
3534
3598
|
disable_notification?: boolean;
|
|
3535
3599
|
protect_content?: boolean;
|
|
3536
3600
|
allow_paid_broadcast?: boolean;
|
|
@@ -3850,4 +3914,4 @@ interface VerifyUserInput {
|
|
|
3850
3914
|
custom_description?: string;
|
|
3851
3915
|
}
|
|
3852
3916
|
|
|
3853
|
-
export { type Accelerometer, type AccelerometerStartParams, type AcceptedGiftTypes, type AddStickerToSetInput, type AffiliateInfo, type AllowedUpdateName, type Animation, type AnswerCallbackQueryInput, type AnswerInlineQueryInput, type AnswerPreCheckoutQueryInput, type AnswerShippingQueryInput, type AnswerWebAppQueryInput, type Api, type ApproveChatJoinRequestInput, type ApproveSuggestedPostInput, type Audio, type BackButton, type BackgroundFill, type BackgroundFillFreeformGradient, type BackgroundFillGradient, type BackgroundFillSolid, type BackgroundType, type BackgroundTypeChatTheme, type BackgroundTypeFill, type BackgroundTypePattern, type BackgroundTypeWallpaper, type BanChatMemberInput, type BanChatSenderChatInput, type BindOrUnbindEventHandler, type BiometricAuthenticateParams, type BiometricManager, type BiometricRequestAccessParams, type Birthdate, type BotCommand, type BotCommandScope, type BotCommandScopeAllChatAdministrators, type BotCommandScopeAllGroupChats, type BotCommandScopeAllPrivateChats, type BotCommandScopeChat, type BotCommandScopeChatAdministrators, type BotCommandScopeChatMember, type BotCommandScopeDefault, type BotDescription, type BotName, type BotShortDescription, type BottomButton, type BusinessBotRights, type BusinessConnection, type BusinessIntro, type BusinessLocation, type BusinessMessagesDeleted, type BusinessOpeningHours, type BusinessOpeningHoursInterval, type CallbackGame, type CallbackQuery, type Chat, type ChatAdministratorRights, type ChatBackground, type ChatBoost, type ChatBoostAdded, type ChatBoostRemoved, type ChatBoostSource, type ChatBoostSourceGiftCode, type ChatBoostSourceGiveaway, type ChatBoostSourcePremium, type ChatBoostUpdated, type ChatFullInfo, type ChatInviteLink, type ChatJoinRequest, type ChatLocation, type ChatMember, type ChatMemberAdministrator, type ChatMemberBanned, type ChatMemberLeft, type ChatMemberMember, type ChatMemberOwner, type ChatMemberRestricted, type ChatMemberUpdated, type ChatOwnerChanged, type ChatOwnerLeft, type ChatPermissions, type ChatPhoto, type ChatShared, type Checklist, type ChecklistTask, type ChecklistTasksAdded, type ChecklistTasksDone, type ChosenInlineResult, type CloseForumTopicInput, type CloseGeneralForumTopicInput, type CloseInput, type CloudStorage, type Contact, type ContentSafeAreaInset, type ConvertGiftToStarsInput, type CopyMessageInput, type CopyMessagesInput, type CopyTextButton, type CreateChatInviteLinkInput, type CreateChatSubscriptionInviteLinkInput, type CreateForumTopicInput, type CreateInvoiceLinkInput, type CreateNewStickerSetInput, type DeclineChatJoinRequestInput, type DeclineSuggestedPostInput, type DeleteBusinessMessagesInput, type DeleteChatPhotoInput, type DeleteChatStickerSetInput, type DeleteForumTopicInput, type DeleteMessageInput, type DeleteMessagesInput, type DeleteMyCommandsInput, type DeleteStickerFromSetInput, type DeleteStickerSetInput, type DeleteStoryInput, type DeleteWebhookInput, type DeviceOrientation, type DeviceOrientationStartParams, type DeviceStorage, type Dice, type DirectMessagePriceChanged, type DirectMessagesTopic, type Document, type DownloadFileParams, type EditChatInviteLinkInput, type EditChatSubscriptionInviteLinkInput, type EditForumTopicInput, type EditGeneralForumTopicInput, type EditMessageCaptionInput, type EditMessageChecklistInput, type EditMessageLiveLocationInput, type EditMessageMediaInput, type EditMessageReplyMarkupInput, type EditMessageTextInput, type EditStoryInput, type EditUserStarSubscriptionInput, type EmojiStatusParams, type EncryptedCredentials, type EncryptedPassportElement, type EventHandlers, type ExportChatInviteLinkInput, type ExternalReplyInfo, type File, type ForceReply, type ForumTopic, type ForumTopicClosed, type ForumTopicCreated, type ForumTopicEdited, type ForumTopicReopened, type ForwardMessageInput, type ForwardMessagesInput, type Game, type GameHighScore, type GeneralForumTopicHidden, type GeneralForumTopicUnhidden, type GetAvailableGiftsInput, type GetBusinessAccountGiftsInput, type GetBusinessAccountStarBalanceInput, type GetBusinessConnectionInput, type GetChatAdministratorsInput, type GetChatGiftsInput, type GetChatInput, type GetChatMemberCountInput, type GetChatMemberInput, type GetChatMenuButtonInput, type GetCustomEmojiStickersInput, type GetFileInput, type GetForumTopicIconStickersInput, type GetGameHighScoresInput, type GetMeInput, type GetMyCommandsInput, type GetMyDefaultAdministratorRightsInput, type GetMyDescriptionInput, type GetMyNameInput, type GetMyShortDescriptionInput, type GetMyStarBalanceInput, type GetStarTransactionsInput, type GetStickerSetInput, type GetUpdatesInput, type GetUserChatBoostsInput, type GetUserGiftsInput, type GetUserProfileAudiosInput, type GetUserProfilePhotosInput, type GetWebhookInfoInput, type Gift, type GiftBackground, type GiftInfo, type GiftPremiumSubscriptionInput, type Gifts, type Giveaway, type GiveawayCompleted, type GiveawayCreated, type GiveawayWinners, type Gyroscope, type GyroscopeStartParams, type HapticFeedback, type HideGeneralForumTopicInput, type InaccessibleMessage, type InlineKeyboardButton, type InlineKeyboardMarkup, type InlineQuery, type InlineQueryResult, type InlineQueryResultArticle, type InlineQueryResultAudio, type InlineQueryResultCachedAudio, type InlineQueryResultCachedDocument, type InlineQueryResultCachedGif, type InlineQueryResultCachedMpeg4Gif, type InlineQueryResultCachedPhoto, type InlineQueryResultCachedSticker, type InlineQueryResultCachedVideo, type InlineQueryResultCachedVoice, type InlineQueryResultContact, type InlineQueryResultDocument, type InlineQueryResultGame, type InlineQueryResultGif, type InlineQueryResultLocation, type InlineQueryResultMpeg4Gif, type InlineQueryResultPhoto, type InlineQueryResultVenue, type InlineQueryResultVideo, type InlineQueryResultVoice, type InlineQueryResultsButton, type InputChecklist, type InputChecklistTask, type InputContactMessageContent, type InputFile, type InputInvoiceMessageContent, type InputLocationMessageContent, type InputMedia, type InputMediaAnimation, type InputMediaAudio, type InputMediaDocument, type InputMediaPhoto, type InputMediaVideo, type InputMessageContent, type InputPaidMedia, type InputPaidMediaPhoto, type InputPaidMediaVideo, type InputPollOption, type InputProfilePhoto, type InputProfilePhotoAnimated, type InputProfilePhotoStatic, type InputSticker, type InputStoryContent, type InputStoryContentPhoto, type InputStoryContentVideo, type InputTextMessageContent, type InputVenueMessageContent, type Invoice, type KeyboardButton, type KeyboardButtonPollType, type KeyboardButtonRequestChat, type KeyboardButtonRequestUsers, type LabeledPrice, type LeaveChatInput, type LinkPreviewOptions, type Location, type LocationAddress, type LocationData, type LocationManager, type LogOutInput, type LoginUrl, type MaskPosition, type MaybeInaccessibleMessage, type MenuButton, type MenuButtonCommands, type MenuButtonDefault, type MenuButtonWebApp, type Message, type MessageAutoDeleteTimerChanged, type MessageEntity, type MessageId, type MessageOrigin, type MessageOriginChannel, type MessageOriginChat, type MessageOriginHiddenUser, type MessageOriginUser, type MessageReactionCountUpdated, type MessageReactionUpdated, type OrderInfo, type OwnedGift, type OwnedGiftRegular, type OwnedGiftUnique, type OwnedGifts, type PaidMedia, type PaidMediaInfo, type PaidMediaPhoto, type PaidMediaPreview, type PaidMediaPurchased, type PaidMediaVideo, type PaidMessagePriceChanged, type PassportData, type PassportElementError, type PassportElementErrorDataField, type PassportElementErrorFile, type PassportElementErrorFiles, type PassportElementErrorFrontSide, type PassportElementErrorReverseSide, type PassportElementErrorSelfie, type PassportElementErrorTranslationFile, type PassportElementErrorTranslationFiles, type PassportElementErrorUnspecified, type PassportFile, type PhotoSize, type PinChatMessageInput, type Poll, type PollAnswer, type PollOption, type PopupButton, type PopupParams, type PostStoryInput, type PreCheckoutQuery, type PreparedInlineMessage, type PromoteChatMemberInput, type ProximityAlertTriggered, type ReactionCount, type ReactionType, type ReactionTypeCustomEmoji, type ReactionTypeEmoji, type ReactionTypePaid, type ReadBusinessMessageInput, type RefundStarPaymentInput, type RefundedPayment, type RemoveBusinessAccountProfilePhotoInput, type RemoveChatVerificationInput, type RemoveMyProfilePhotoInput, type RemoveUserVerificationInput, type ReopenForumTopicInput, type ReopenGeneralForumTopicInput, type ReplaceStickerInSetInput, type ReplyKeyboardMarkup, type ReplyKeyboardRemove, type ReplyParameters, type RepostStoryInput, type ResponseParameters, type RestrictChatMemberInput, type RevenueWithdrawalState, type RevenueWithdrawalStateFailed, type RevenueWithdrawalStatePending, type RevenueWithdrawalStateSucceeded, type RevokeChatInviteLinkInput, type SafeAreaInset, type SavePreparedInlineMessageInput, type ScanQrPopupParams, type SecureStorage, type SendAnimationInput, type SendAudioInput, type SendChatActionInput, type SendChecklistInput, type SendContactInput, type SendDiceInput, type SendDocumentInput, type SendGameInput, type SendGiftInput, type SendInvoiceInput, type SendLocationInput, type SendMediaGroupInput, type SendMessageDraftInput, type SendMessageInput, type SendPaidMediaInput, type SendPhotoInput, type SendPollInput, type SendStickerInput, type SendVenueInput, type SendVideoInput, type SendVideoNoteInput, type SendVoiceInput, type SentWebAppMessage, type SetBusinessAccountBioInput, type SetBusinessAccountGiftSettingsInput, type SetBusinessAccountNameInput, type SetBusinessAccountProfilePhotoInput, type SetBusinessAccountUsernameInput, type SetChatAdministratorCustomTitleInput, type SetChatDescriptionInput, type SetChatMemberTagInput, type SetChatMenuButtonInput, type SetChatPermissionsInput, type SetChatPhotoInput, type SetChatStickerSetInput, type SetChatTitleInput, type SetCustomEmojiStickerSetThumbnailInput, type SetGameScoreInput, type SetMessageReactionInput, type SetMyCommandsInput, type SetMyDefaultAdministratorRightsInput, type SetMyDescriptionInput, type SetMyNameInput, type SetMyProfilePhotoInput, type SetMyShortDescriptionInput, type SetPassportDataErrorsInput, type SetStickerEmojiListInput, type SetStickerKeywordsInput, type SetStickerMaskPositionInput, type SetStickerPositionInSetInput, type SetStickerSetThumbnailInput, type SetStickerSetTitleInput, type SetUserEmojiStatusInput, type SetWebhookInput, type SettingsButton, type SharedUser, type ShippingAddress, type ShippingOption, type ShippingQuery, type StarAmount, type StarTransaction, type StarTransactions, type Sticker, type StickerSet, type StopMessageLiveLocationInput, type StopPollInput, type Story, type StoryArea, type StoryAreaPosition, type StoryAreaType, type StoryAreaTypeLink, type StoryAreaTypeLocation, type StoryAreaTypeSuggestedReaction, type StoryAreaTypeUniqueGift, type StoryAreaTypeWeather, type StoryShareParams, type StoryWidgetLink, type SuccessfulPayment, type SuggestedPostApprovalFailed, type SuggestedPostApproved, type SuggestedPostDeclined, type SuggestedPostInfo, type SuggestedPostPaid, type SuggestedPostParameters, type SuggestedPostPrice, type SuggestedPostRefunded, type SwitchInlineQueryChosenChat, type TelegramLoginData, type TelegramLoginOptions, type TelegramLoginService, type TextQuote, type ThemeParams, type TransactionPartner, type TransactionPartnerAffiliateProgram, type TransactionPartnerChat, type TransactionPartnerFragment, type TransactionPartnerOther, type TransactionPartnerTelegramAds, type TransactionPartnerTelegramApi, type TransactionPartnerUser, type TransferBusinessAccountStarsInput, type TransferGiftInput, type UnbanChatMemberInput, type UnbanChatSenderChatInput, type UnhideGeneralForumTopicInput, type UniqueGift, type UniqueGiftBackdrop, type UniqueGiftBackdropColors, type UniqueGiftColors, type UniqueGiftInfo, type UniqueGiftModel, type UniqueGiftSymbol, type UnpinAllChatMessagesInput, type UnpinAllForumTopicMessagesInput, type UnpinAllGeneralForumTopicMessagesInput, type UnpinChatMessageInput, type Update, type UpgradeGiftInput, type UploadStickerFileInput, type User, type UserChatBoosts, type UserProfileAudios, type UserProfilePhotos, type UserRating, type UsersShared, type Venue, type VerifyChatInput, type VerifyUserInput, type Video, type VideoChatEnded, type VideoChatParticipantsInvited, type VideoChatScheduled, type VideoChatStarted, type VideoNote, type VideoQuality, type Voice, type WebApp, type WebAppChat, type WebAppData, type WebAppInfo, type WebAppInitData, type WebAppUser, type WebhookInfo, type WriteAccessAllowed, verifyLoginData };
|
|
3917
|
+
export { type Accelerometer, type AccelerometerStartParams, type AcceptedGiftTypes, type AddStickerToSetInput, type AffiliateInfo, type AllowedUpdateName, type Animation, type AnswerCallbackQueryInput, type AnswerInlineQueryInput, type AnswerPreCheckoutQueryInput, type AnswerShippingQueryInput, type AnswerWebAppQueryInput, type Api, type ApproveChatJoinRequestInput, type ApproveSuggestedPostInput, type Audio, type BackButton, type BackgroundFill, type BackgroundFillFreeformGradient, type BackgroundFillGradient, type BackgroundFillSolid, type BackgroundType, type BackgroundTypeChatTheme, type BackgroundTypeFill, type BackgroundTypePattern, type BackgroundTypeWallpaper, type BanChatMemberInput, type BanChatSenderChatInput, type BindOrUnbindEventHandler, type BiometricAuthenticateParams, type BiometricManager, type BiometricRequestAccessParams, type Birthdate, type BotCommand, type BotCommandScope, type BotCommandScopeAllChatAdministrators, type BotCommandScopeAllGroupChats, type BotCommandScopeAllPrivateChats, type BotCommandScopeChat, type BotCommandScopeChatAdministrators, type BotCommandScopeChatMember, type BotCommandScopeDefault, type BotDescription, type BotName, type BotShortDescription, type BottomButton, type BusinessBotRights, type BusinessConnection, type BusinessIntro, type BusinessLocation, type BusinessMessagesDeleted, type BusinessOpeningHours, type BusinessOpeningHoursInterval, type CallbackGame, type CallbackQuery, type Chat, type ChatAdministratorRights, type ChatBackground, type ChatBoost, type ChatBoostAdded, type ChatBoostRemoved, type ChatBoostSource, type ChatBoostSourceGiftCode, type ChatBoostSourceGiveaway, type ChatBoostSourcePremium, type ChatBoostUpdated, type ChatFullInfo, type ChatInviteLink, type ChatJoinRequest, type ChatLocation, type ChatMember, type ChatMemberAdministrator, type ChatMemberBanned, type ChatMemberLeft, type ChatMemberMember, type ChatMemberOwner, type ChatMemberRestricted, type ChatMemberUpdated, type ChatOwnerChanged, type ChatOwnerLeft, type ChatPermissions, type ChatPhoto, type ChatShared, type Checklist, type ChecklistTask, type ChecklistTasksAdded, type ChecklistTasksDone, type ChosenInlineResult, type CloseForumTopicInput, type CloseGeneralForumTopicInput, type CloseInput, type CloudStorage, type Contact, type ContentSafeAreaInset, type ConvertGiftToStarsInput, type CopyMessageInput, type CopyMessagesInput, type CopyTextButton, type CreateChatInviteLinkInput, type CreateChatSubscriptionInviteLinkInput, type CreateForumTopicInput, type CreateInvoiceLinkInput, type CreateNewStickerSetInput, type DeclineChatJoinRequestInput, type DeclineSuggestedPostInput, type DeleteBusinessMessagesInput, type DeleteChatPhotoInput, type DeleteChatStickerSetInput, type DeleteForumTopicInput, type DeleteMessageInput, type DeleteMessagesInput, type DeleteMyCommandsInput, type DeleteStickerFromSetInput, type DeleteStickerSetInput, type DeleteStoryInput, type DeleteWebhookInput, type DeviceOrientation, type DeviceOrientationStartParams, type DeviceStorage, type Dice, type DirectMessagePriceChanged, type DirectMessagesTopic, type Document, type DownloadFileParams, type EditChatInviteLinkInput, type EditChatSubscriptionInviteLinkInput, type EditForumTopicInput, type EditGeneralForumTopicInput, type EditMessageCaptionInput, type EditMessageChecklistInput, type EditMessageLiveLocationInput, type EditMessageMediaInput, type EditMessageReplyMarkupInput, type EditMessageTextInput, type EditStoryInput, type EditUserStarSubscriptionInput, type EmojiStatusParams, type EncryptedCredentials, type EncryptedPassportElement, type EventHandlers, type ExportChatInviteLinkInput, type ExternalReplyInfo, type File, type ForceReply, type ForumTopic, type ForumTopicClosed, type ForumTopicCreated, type ForumTopicEdited, type ForumTopicReopened, type ForwardMessageInput, type ForwardMessagesInput, type Game, type GameHighScore, type GeneralForumTopicHidden, type GeneralForumTopicUnhidden, type GetAvailableGiftsInput, type GetBusinessAccountGiftsInput, type GetBusinessAccountStarBalanceInput, type GetBusinessConnectionInput, type GetChatAdministratorsInput, type GetChatGiftsInput, type GetChatInput, type GetChatMemberCountInput, type GetChatMemberInput, type GetChatMenuButtonInput, type GetCustomEmojiStickersInput, type GetFileInput, type GetForumTopicIconStickersInput, type GetGameHighScoresInput, type GetManagedBotTokenInput, type GetMeInput, type GetMyCommandsInput, type GetMyDefaultAdministratorRightsInput, type GetMyDescriptionInput, type GetMyNameInput, type GetMyShortDescriptionInput, type GetMyStarBalanceInput, type GetStarTransactionsInput, type GetStickerSetInput, type GetUpdatesInput, type GetUserChatBoostsInput, type GetUserGiftsInput, type GetUserProfileAudiosInput, type GetUserProfilePhotosInput, type GetWebhookInfoInput, type Gift, type GiftBackground, type GiftInfo, type GiftPremiumSubscriptionInput, type Gifts, type Giveaway, type GiveawayCompleted, type GiveawayCreated, type GiveawayWinners, type Gyroscope, type GyroscopeStartParams, type HapticFeedback, type HideGeneralForumTopicInput, type InaccessibleMessage, type InlineKeyboardButton, type InlineKeyboardMarkup, type InlineQuery, type InlineQueryResult, type InlineQueryResultArticle, type InlineQueryResultAudio, type InlineQueryResultCachedAudio, type InlineQueryResultCachedDocument, type InlineQueryResultCachedGif, type InlineQueryResultCachedMpeg4Gif, type InlineQueryResultCachedPhoto, type InlineQueryResultCachedSticker, type InlineQueryResultCachedVideo, type InlineQueryResultCachedVoice, type InlineQueryResultContact, type InlineQueryResultDocument, type InlineQueryResultGame, type InlineQueryResultGif, type InlineQueryResultLocation, type InlineQueryResultMpeg4Gif, type InlineQueryResultPhoto, type InlineQueryResultVenue, type InlineQueryResultVideo, type InlineQueryResultVoice, type InlineQueryResultsButton, type InputChecklist, type InputChecklistTask, type InputContactMessageContent, type InputFile, type InputInvoiceMessageContent, type InputLocationMessageContent, type InputMedia, type InputMediaAnimation, type InputMediaAudio, type InputMediaDocument, type InputMediaPhoto, type InputMediaVideo, type InputMessageContent, type InputPaidMedia, type InputPaidMediaPhoto, type InputPaidMediaVideo, type InputPollOption, type InputProfilePhoto, type InputProfilePhotoAnimated, type InputProfilePhotoStatic, type InputSticker, type InputStoryContent, type InputStoryContentPhoto, type InputStoryContentVideo, type InputTextMessageContent, type InputVenueMessageContent, type Invoice, type KeyboardButton, type KeyboardButtonPollType, type KeyboardButtonRequestChat, type KeyboardButtonRequestManagedBot, type KeyboardButtonRequestUsers, type LabeledPrice, type LeaveChatInput, type LinkPreviewOptions, type Location, type LocationAddress, type LocationData, type LocationManager, type LogOutInput, type LoginUrl, type ManagedBotCreated, type ManagedBotUpdated, type MaskPosition, type MaybeInaccessibleMessage, type MenuButton, type MenuButtonCommands, type MenuButtonDefault, type MenuButtonWebApp, type Message, type MessageAutoDeleteTimerChanged, type MessageEntity, type MessageId, type MessageOrigin, type MessageOriginChannel, type MessageOriginChat, type MessageOriginHiddenUser, type MessageOriginUser, type MessageReactionCountUpdated, type MessageReactionUpdated, type OrderInfo, type OwnedGift, type OwnedGiftRegular, type OwnedGiftUnique, type OwnedGifts, type PaidMedia, type PaidMediaInfo, type PaidMediaPhoto, type PaidMediaPreview, type PaidMediaPurchased, type PaidMediaVideo, type PaidMessagePriceChanged, type PassportData, type PassportElementError, type PassportElementErrorDataField, type PassportElementErrorFile, type PassportElementErrorFiles, type PassportElementErrorFrontSide, type PassportElementErrorReverseSide, type PassportElementErrorSelfie, type PassportElementErrorTranslationFile, type PassportElementErrorTranslationFiles, type PassportElementErrorUnspecified, type PassportFile, type PhotoSize, type PinChatMessageInput, type Poll, type PollAnswer, type PollOption, type PollOptionAdded, type PollOptionDeleted, type PopupButton, type PopupParams, type PostStoryInput, type PreCheckoutQuery, type PreparedInlineMessage, type PreparedKeyboardButton, type PromoteChatMemberInput, type ProximityAlertTriggered, type ReactionCount, type ReactionType, type ReactionTypeCustomEmoji, type ReactionTypeEmoji, type ReactionTypePaid, type ReadBusinessMessageInput, type RefundStarPaymentInput, type RefundedPayment, type RemoveBusinessAccountProfilePhotoInput, type RemoveChatVerificationInput, type RemoveMyProfilePhotoInput, type RemoveUserVerificationInput, type ReopenForumTopicInput, type ReopenGeneralForumTopicInput, type ReplaceManagedBotTokenInput, type ReplaceStickerInSetInput, type ReplyKeyboardMarkup, type ReplyKeyboardRemove, type ReplyParameters, type RepostStoryInput, type ResponseParameters, type RestrictChatMemberInput, type RevenueWithdrawalState, type RevenueWithdrawalStateFailed, type RevenueWithdrawalStatePending, type RevenueWithdrawalStateSucceeded, type RevokeChatInviteLinkInput, type SafeAreaInset, type SavePreparedInlineMessageInput, type SavePreparedKeyboardButtonInput, type ScanQrPopupParams, type SecureStorage, type SendAnimationInput, type SendAudioInput, type SendChatActionInput, type SendChecklistInput, type SendContactInput, type SendDiceInput, type SendDocumentInput, type SendGameInput, type SendGiftInput, type SendInvoiceInput, type SendLocationInput, type SendMediaGroupInput, type SendMessageDraftInput, type SendMessageInput, type SendPaidMediaInput, type SendPhotoInput, type SendPollInput, type SendStickerInput, type SendVenueInput, type SendVideoInput, type SendVideoNoteInput, type SendVoiceInput, type SentWebAppMessage, type SetBusinessAccountBioInput, type SetBusinessAccountGiftSettingsInput, type SetBusinessAccountNameInput, type SetBusinessAccountProfilePhotoInput, type SetBusinessAccountUsernameInput, type SetChatAdministratorCustomTitleInput, type SetChatDescriptionInput, type SetChatMemberTagInput, type SetChatMenuButtonInput, type SetChatPermissionsInput, type SetChatPhotoInput, type SetChatStickerSetInput, type SetChatTitleInput, type SetCustomEmojiStickerSetThumbnailInput, type SetGameScoreInput, type SetMessageReactionInput, type SetMyCommandsInput, type SetMyDefaultAdministratorRightsInput, type SetMyDescriptionInput, type SetMyNameInput, type SetMyProfilePhotoInput, type SetMyShortDescriptionInput, type SetPassportDataErrorsInput, type SetStickerEmojiListInput, type SetStickerKeywordsInput, type SetStickerMaskPositionInput, type SetStickerPositionInSetInput, type SetStickerSetThumbnailInput, type SetStickerSetTitleInput, type SetUserEmojiStatusInput, type SetWebhookInput, type SettingsButton, type SharedUser, type ShippingAddress, type ShippingOption, type ShippingQuery, type StarAmount, type StarTransaction, type StarTransactions, type Sticker, type StickerSet, type StopMessageLiveLocationInput, type StopPollInput, type Story, type StoryArea, type StoryAreaPosition, type StoryAreaType, type StoryAreaTypeLink, type StoryAreaTypeLocation, type StoryAreaTypeSuggestedReaction, type StoryAreaTypeUniqueGift, type StoryAreaTypeWeather, type StoryShareParams, type StoryWidgetLink, type SuccessfulPayment, type SuggestedPostApprovalFailed, type SuggestedPostApproved, type SuggestedPostDeclined, type SuggestedPostInfo, type SuggestedPostPaid, type SuggestedPostParameters, type SuggestedPostPrice, type SuggestedPostRefunded, type SwitchInlineQueryChosenChat, type TelegramLoginData, type TelegramLoginOptions, type TelegramLoginService, type TextQuote, type ThemeParams, type TransactionPartner, type TransactionPartnerAffiliateProgram, type TransactionPartnerChat, type TransactionPartnerFragment, type TransactionPartnerOther, type TransactionPartnerTelegramAds, type TransactionPartnerTelegramApi, type TransactionPartnerUser, type TransferBusinessAccountStarsInput, type TransferGiftInput, type UnbanChatMemberInput, type UnbanChatSenderChatInput, type UnhideGeneralForumTopicInput, type UniqueGift, type UniqueGiftBackdrop, type UniqueGiftBackdropColors, type UniqueGiftColors, type UniqueGiftInfo, type UniqueGiftModel, type UniqueGiftSymbol, type UnpinAllChatMessagesInput, type UnpinAllForumTopicMessagesInput, type UnpinAllGeneralForumTopicMessagesInput, type UnpinChatMessageInput, type Update, type UpgradeGiftInput, type UploadStickerFileInput, type User, type UserChatBoosts, type UserProfileAudios, type UserProfilePhotos, type UserRating, type UsersShared, type Venue, type VerifyChatInput, type VerifyUserInput, type Video, type VideoChatEnded, type VideoChatParticipantsInvited, type VideoChatScheduled, type VideoChatStarted, type VideoNote, type VideoQuality, type Voice, type WebApp, type WebAppChat, type WebAppData, type WebAppInfo, type WebAppInitData, type WebAppUser, type WebhookInfo, type WriteAccessAllowed, verifyLoginData };
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @effect-ak/tg-bot-api
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@effect-ak/tg-bot-api)
|
|
4
|
-

|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
Complete TypeScript types for Telegram Bot API and Mini Apps, auto-generated from official documentation.
|