import { BaseApi } from '@vvlad1973/base-api'; import * as Types from './types'; import { ApiMethodOptions } from '../types/common.types.js'; /** * Base class for Telegram Bot API with all methods * Auto-initializes with Telegram Bot API specification */ export declare abstract class BaseTelegramApi extends BaseApi { getUpdates(params: Types.GetUpdatesOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setWebhook(params: Types.SetWebhookOptions, { contentType, routeId }?: ApiMethodOptions): Promise; deleteWebhook(params: Types.DeleteWebhookOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getWebhookInfo(params: any, { contentType, routeId }?: ApiMethodOptions): Promise; getMe(params: any, { contentType, routeId }?: ApiMethodOptions): Promise; logOut(params: any, { contentType, routeId }?: ApiMethodOptions): Promise; close(params: any, { contentType, routeId }?: ApiMethodOptions): Promise; sendMessage(params: Types.SendMessageOptions, { contentType, routeId }?: ApiMethodOptions): Promise; forwardMessage(params: Types.ForwardMessageOptions, { contentType, routeId }?: ApiMethodOptions): Promise; forwardMessages(params: Types.ForwardMessagesOptions, { contentType, routeId }?: ApiMethodOptions): Promise; copyMessage(params: Types.CopyMessageOptions, { contentType, routeId }?: ApiMethodOptions): Promise; copyMessages(params: Types.CopyMessagesOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendPhoto(params: Types.SendPhotoOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendAudio(params: Types.SendAudioOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendDocument(params: Types.SendDocumentOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendVideo(params: Types.SendVideoOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendAnimation(params: Types.SendAnimationOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendVoice(params: Types.SendVoiceOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendVideoNote(params: Types.SendVideoNoteOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendPaidMedia(params: Types.SendPaidMediaOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendMediaGroup(params: Types.SendMediaGroupOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendLocation(params: Types.SendLocationOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendVenue(params: Types.SendVenueOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendContact(params: Types.SendContactOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendPoll(params: Types.SendPollOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendChecklist(params: Types.SendChecklistOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendDice(params: Types.SendDiceOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendChatAction(params: Types.SendChatActionOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setMessageReaction(params: Types.SetMessageReactionOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getUserProfilePhotos(params: Types.GetUserProfilePhotosOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setUserEmojiStatus(params: Types.SetUserEmojiStatusOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getFile(params: Types.GetFileOptions, { contentType, routeId }?: ApiMethodOptions): Promise; banChatMember(params: Types.BanChatMemberOptions, { contentType, routeId }?: ApiMethodOptions): Promise; unbanChatMember(params: Types.UnbanChatMemberOptions, { contentType, routeId }?: ApiMethodOptions): Promise; restrictChatMember(params: Types.RestrictChatMemberOptions, { contentType, routeId }?: ApiMethodOptions): Promise; promoteChatMember(params: Types.PromoteChatMemberOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setChatAdministratorCustomTitle(params: Types.SetChatAdministratorCustomTitleOptions, { contentType, routeId }?: ApiMethodOptions): Promise; banChatSenderChat(params: Types.BanChatSenderChatOptions, { contentType, routeId }?: ApiMethodOptions): Promise; unbanChatSenderChat(params: Types.UnbanChatSenderChatOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setChatPermissions(params: Types.SetChatPermissionsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; exportChatInviteLink(params: Types.ExportChatInviteLinkOptions, { contentType, routeId }?: ApiMethodOptions): Promise; createChatInviteLink(params: Types.CreateChatInviteLinkOptions, { contentType, routeId }?: ApiMethodOptions): Promise; editChatInviteLink(params: Types.EditChatInviteLinkOptions, { contentType, routeId }?: ApiMethodOptions): Promise; createChatSubscriptionInviteLink(params: Types.CreateChatSubscriptionInviteLinkOptions, { contentType, routeId }?: ApiMethodOptions): Promise; editChatSubscriptionInviteLink(params: Types.EditChatSubscriptionInviteLinkOptions, { contentType, routeId }?: ApiMethodOptions): Promise; revokeChatInviteLink(params: Types.RevokeChatInviteLinkOptions, { contentType, routeId }?: ApiMethodOptions): Promise; approveChatJoinRequest(params: Types.ApproveChatJoinRequestOptions, { contentType, routeId }?: ApiMethodOptions): Promise; declineChatJoinRequest(params: Types.DeclineChatJoinRequestOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setChatPhoto(params: Types.SetChatPhotoOptions, { contentType, routeId }?: ApiMethodOptions): Promise; deleteChatPhoto(params: Types.DeleteChatPhotoOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setChatTitle(params: Types.SetChatTitleOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setChatDescription(params: Types.SetChatDescriptionOptions, { contentType, routeId }?: ApiMethodOptions): Promise; pinChatMessage(params: Types.PinChatMessageOptions, { contentType, routeId }?: ApiMethodOptions): Promise; unpinChatMessage(params: Types.UnpinChatMessageOptions, { contentType, routeId }?: ApiMethodOptions): Promise; unpinAllChatMessages(params: Types.UnpinAllChatMessagesOptions, { contentType, routeId }?: ApiMethodOptions): Promise; leaveChat(params: Types.LeaveChatOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getChat(params: Types.GetChatOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getChatAdministrators(params: Types.GetChatAdministratorsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getChatMemberCount(params: Types.GetChatMemberCountOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getChatMember(params: Types.GetChatMemberOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setChatStickerSet(params: Types.SetChatStickerSetOptions, { contentType, routeId }?: ApiMethodOptions): Promise; deleteChatStickerSet(params: Types.DeleteChatStickerSetOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getForumTopicIconStickers(params: any, { contentType, routeId }?: ApiMethodOptions): Promise; createForumTopic(params: Types.CreateForumTopicOptions, { contentType, routeId }?: ApiMethodOptions): Promise; editForumTopic(params: Types.EditForumTopicOptions, { contentType, routeId }?: ApiMethodOptions): Promise; closeForumTopic(params: Types.CloseForumTopicOptions, { contentType, routeId }?: ApiMethodOptions): Promise; reopenForumTopic(params: Types.ReopenForumTopicOptions, { contentType, routeId }?: ApiMethodOptions): Promise; deleteForumTopic(params: Types.DeleteForumTopicOptions, { contentType, routeId }?: ApiMethodOptions): Promise; unpinAllForumTopicMessages(params: Types.UnpinAllForumTopicMessagesOptions, { contentType, routeId }?: ApiMethodOptions): Promise; editGeneralForumTopic(params: Types.EditGeneralForumTopicOptions, { contentType, routeId }?: ApiMethodOptions): Promise; closeGeneralForumTopic(params: Types.CloseGeneralForumTopicOptions, { contentType, routeId }?: ApiMethodOptions): Promise; reopenGeneralForumTopic(params: Types.ReopenGeneralForumTopicOptions, { contentType, routeId }?: ApiMethodOptions): Promise; hideGeneralForumTopic(params: Types.HideGeneralForumTopicOptions, { contentType, routeId }?: ApiMethodOptions): Promise; unhideGeneralForumTopic(params: Types.UnhideGeneralForumTopicOptions, { contentType, routeId }?: ApiMethodOptions): Promise; unpinAllGeneralForumTopicMessages(params: Types.UnpinAllGeneralForumTopicMessagesOptions, { contentType, routeId }?: ApiMethodOptions): Promise; answerCallbackQuery(params: Types.AnswerCallbackQueryOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getUserChatBoosts(params: Types.GetUserChatBoostsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getBusinessConnection(params: Types.GetBusinessConnectionOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setMyCommands(params: Types.SetMyCommandsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; deleteMyCommands(params: Types.DeleteMyCommandsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getMyCommands(params: Types.GetMyCommandsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setMyName(params: Types.SetMyNameOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getMyName(params: Types.GetMyNameOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setMyDescription(params: Types.SetMyDescriptionOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getMyDescription(params: Types.GetMyDescriptionOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setMyShortDescription(params: Types.SetMyShortDescriptionOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getMyShortDescription(params: Types.GetMyShortDescriptionOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setChatMenuButton(params: Types.SetChatMenuButtonOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getChatMenuButton(params: Types.GetChatMenuButtonOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setMyDefaultAdministratorRights(params: Types.SetMyDefaultAdministratorRightsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getMyDefaultAdministratorRights(params: Types.GetMyDefaultAdministratorRightsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getAvailableGifts(params: any, { contentType, routeId }?: ApiMethodOptions): Promise; sendGift(params: Types.SendGiftOptions, { contentType, routeId }?: ApiMethodOptions): Promise; giftPremiumSubscription(params: Types.GiftPremiumSubscriptionOptions, { contentType, routeId }?: ApiMethodOptions): Promise; verifyUser(params: Types.VerifyUserOptions, { contentType, routeId }?: ApiMethodOptions): Promise; verifyChat(params: Types.VerifyChatOptions, { contentType, routeId }?: ApiMethodOptions): Promise; removeUserVerification(params: Types.RemoveUserVerificationOptions, { contentType, routeId }?: ApiMethodOptions): Promise; removeChatVerification(params: Types.RemoveChatVerificationOptions, { contentType, routeId }?: ApiMethodOptions): Promise; readBusinessMessage(params: Types.ReadBusinessMessageOptions, { contentType, routeId }?: ApiMethodOptions): Promise; deleteBusinessMessages(params: Types.DeleteBusinessMessagesOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setBusinessAccountName(params: Types.SetBusinessAccountNameOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setBusinessAccountUsername(params: Types.SetBusinessAccountUsernameOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setBusinessAccountBio(params: Types.SetBusinessAccountBioOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setBusinessAccountProfilePhoto(params: Types.SetBusinessAccountProfilePhotoOptions, { contentType, routeId }?: ApiMethodOptions): Promise; removeBusinessAccountProfilePhoto(params: Types.RemoveBusinessAccountProfilePhotoOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setBusinessAccountGiftSettings(params: Types.SetBusinessAccountGiftSettingsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getBusinessAccountStarBalance(params: Types.GetBusinessAccountStarBalanceOptions, { contentType, routeId }?: ApiMethodOptions): Promise; transferBusinessAccountStars(params: Types.TransferBusinessAccountStarsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getBusinessAccountGifts(params: Types.GetBusinessAccountGiftsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; convertGiftToStars(params: Types.ConvertGiftToStarsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; upgradeGift(params: Types.UpgradeGiftOptions, { contentType, routeId }?: ApiMethodOptions): Promise; transferGift(params: Types.TransferGiftOptions, { contentType, routeId }?: ApiMethodOptions): Promise; postStory(params: Types.PostStoryOptions, { contentType, routeId }?: ApiMethodOptions): Promise; editStory(params: Types.EditStoryOptions, { contentType, routeId }?: ApiMethodOptions): Promise; deleteStory(params: Types.DeleteStoryOptions, { contentType, routeId }?: ApiMethodOptions): Promise; editMessageText(params: Types.EditMessageTextOptions, { contentType, routeId }?: ApiMethodOptions): Promise; editMessageCaption(params: Types.EditMessageCaptionOptions, { contentType, routeId }?: ApiMethodOptions): Promise; editMessageMedia(params: Types.EditMessageMediaOptions, { contentType, routeId }?: ApiMethodOptions): Promise; editMessageLiveLocation(params: Types.EditMessageLiveLocationOptions, { contentType, routeId }?: ApiMethodOptions): Promise; stopMessageLiveLocation(params: Types.StopMessageLiveLocationOptions, { contentType, routeId }?: ApiMethodOptions): Promise; editMessageChecklist(params: Types.EditMessageChecklistOptions, { contentType, routeId }?: ApiMethodOptions): Promise; editMessageReplyMarkup(params: Types.EditMessageReplyMarkupOptions, { contentType, routeId }?: ApiMethodOptions): Promise; stopPoll(params: Types.StopPollOptions, { contentType, routeId }?: ApiMethodOptions): Promise; approveSuggestedPost(params: Types.ApproveSuggestedPostOptions, { contentType, routeId }?: ApiMethodOptions): Promise; declineSuggestedPost(params: Types.DeclineSuggestedPostOptions, { contentType, routeId }?: ApiMethodOptions): Promise; deleteMessage(params: Types.DeleteMessageOptions, { contentType, routeId }?: ApiMethodOptions): Promise; deleteMessages(params: Types.DeleteMessagesOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendSticker(params: Types.SendStickerOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getStickerSet(params: Types.GetStickerSetOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getCustomEmojiStickers(params: Types.GetCustomEmojiStickersOptions, { contentType, routeId }?: ApiMethodOptions): Promise; uploadStickerFile(params: Types.UploadStickerFileOptions, { contentType, routeId }?: ApiMethodOptions): Promise; createNewStickerSet(params: Types.CreateNewStickerSetOptions, { contentType, routeId }?: ApiMethodOptions): Promise; addStickerToSet(params: Types.AddStickerToSetOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setStickerPositionInSet(params: Types.SetStickerPositionInSetOptions, { contentType, routeId }?: ApiMethodOptions): Promise; deleteStickerFromSet(params: Types.DeleteStickerFromSetOptions, { contentType, routeId }?: ApiMethodOptions): Promise; replaceStickerInSet(params: Types.ReplaceStickerInSetOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setStickerEmojiList(params: Types.SetStickerEmojiListOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setStickerKeywords(params: Types.SetStickerKeywordsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setStickerMaskPosition(params: Types.SetStickerMaskPositionOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setStickerSetTitle(params: Types.SetStickerSetTitleOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setStickerSetThumbnail(params: Types.SetStickerSetThumbnailOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setCustomEmojiStickerSetThumbnail(params: Types.SetCustomEmojiStickerSetThumbnailOptions, { contentType, routeId }?: ApiMethodOptions): Promise; deleteStickerSet(params: Types.DeleteStickerSetOptions, { contentType, routeId }?: ApiMethodOptions): Promise; answerInlineQuery(params: Types.AnswerInlineQueryOptions, { contentType, routeId }?: ApiMethodOptions): Promise; answerWebAppQuery(params: Types.AnswerWebAppQueryOptions, { contentType, routeId }?: ApiMethodOptions): Promise; savePreparedInlineMessage(params: Types.SavePreparedInlineMessageOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendInvoice(params: Types.SendInvoiceOptions, { contentType, routeId }?: ApiMethodOptions): Promise; createInvoiceLink(params: Types.CreateInvoiceLinkOptions, { contentType, routeId }?: ApiMethodOptions): Promise; answerShippingQuery(params: Types.AnswerShippingQueryOptions, { contentType, routeId }?: ApiMethodOptions): Promise; answerPreCheckoutQuery(params: Types.AnswerPreCheckoutQueryOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getMyStarBalance(params: any, { contentType, routeId }?: ApiMethodOptions): Promise; getStarTransactions(params: Types.GetStarTransactionsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; refundStarPayment(params: Types.RefundStarPaymentOptions, { contentType, routeId }?: ApiMethodOptions): Promise; editUserStarSubscription(params: Types.EditUserStarSubscriptionOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setPassportDataErrors(params: Types.SetPassportDataErrorsOptions, { contentType, routeId }?: ApiMethodOptions): Promise; sendGame(params: Types.SendGameOptions, { contentType, routeId }?: ApiMethodOptions): Promise; setGameScore(params: Types.SetGameScoreOptions, { contentType, routeId }?: ApiMethodOptions): Promise; getGameHighScores(params: Types.GetGameHighScoresOptions, { contentType, routeId }?: ApiMethodOptions): Promise; }