Welcome to pyTelegramBotAPI’s documentation!¶
TeleBot¶
TeleBot is synchronous and asynchronous implementation of Telegram Bot API.
Chats¶
English chat: Private chat
Russian chat: @pytelegrambotapi_talks_ru
News: @pyTelegramBotAPI
Pypi: Pypi
Source: Github repository
Some features:¶
Easy to learn and use.
Easy to understand.
Both sync and async.
Examples on features.
States
And more…
Content¶
- Installation Guide
- Quick start
- Types of API
AcceptedGiftTypesAffiliateInfoAnimationAudioBackgroundFillBackgroundFillFreeformGradientBackgroundFillGradientBackgroundFillSolidBackgroundTypeBackgroundTypeChatThemeBackgroundTypeFillBackgroundTypePatternBackgroundTypeWallpaperBirthdateBotCommandBotCommandScopeBotCommandScopeAllChatAdministratorsBotCommandScopeAllGroupChatsBotCommandScopeAllPrivateChatsBotCommandScopeChatBotCommandScopeChatAdministratorsBotCommandScopeChatMemberBotCommandScopeDefaultBotDescriptionBotNameBotShortDescriptionBusinessBotRightsBusinessConnectionBusinessIntroBusinessLocationBusinessMessagesDeletedBusinessOpeningHoursBusinessOpeningHoursIntervalCallbackQueryChatChatAdministratorRightsChatBackgroundChatBoostChatBoostAddedChatBoostRemovedChatBoostSourceChatBoostSourceGiftCodeChatBoostSourceGiveawayChatBoostSourcePremiumChatBoostUpdatedChatFullInfoChatInviteLinkChatJoinRequestChatLocationChatMemberChatMemberAdministratorChatMemberBannedChatMemberLeftChatMemberMemberChatMemberOwnerChatMemberRestrictedChatMemberUpdatedChatOwnerChangedChatOwnerLeftChatPermissionsChatPhotoChatSharedChecklistChecklistTaskChecklistTasksAddedChecklistTasksDoneChosenInlineResultContactCopyTextButtonDiceDictionaryableDirectMessagePriceChangedDirectMessagesTopicDocumentExternalReplyInfoFileForceReplyForumTopicForumTopicClosedForumTopicCreatedForumTopicEditedForumTopicReopenedGameGameHighScoreGeneralForumTopicHiddenGeneralForumTopicUnhiddenGiftGiftBackgroundGiftInfoGiftsGiveawayGiveawayCompletedGiveawayCreatedGiveawayWinnersInaccessibleMessageInlineKeyboardButtonInlineKeyboardMarkupInlineQueryInlineQueryResultArticleInlineQueryResultArticle.descriptionInlineQueryResultArticle.hide_urlInlineQueryResultArticle.thumb_heightInlineQueryResultArticle.thumb_urlInlineQueryResultArticle.thumb_widthInlineQueryResultArticle.thumbnail_heightInlineQueryResultArticle.thumbnail_urlInlineQueryResultArticle.thumbnail_widthInlineQueryResultArticle.url
InlineQueryResultAudioInlineQueryResultBaseInlineQueryResultCachedAudioInlineQueryResultCachedAudio.audio_file_idInlineQueryResultCachedAudio.captionInlineQueryResultCachedAudio.caption_entitiesInlineQueryResultCachedAudio.idInlineQueryResultCachedAudio.input_message_contentInlineQueryResultCachedAudio.parse_modeInlineQueryResultCachedAudio.reply_markupInlineQueryResultCachedAudio.type
InlineQueryResultCachedBaseInlineQueryResultCachedBase.captionInlineQueryResultCachedBase.caption_entitiesInlineQueryResultCachedBase.descriptionInlineQueryResultCachedBase.idInlineQueryResultCachedBase.input_message_contentInlineQueryResultCachedBase.parse_modeInlineQueryResultCachedBase.payload_dicInlineQueryResultCachedBase.reply_markupInlineQueryResultCachedBase.show_caption_above_mediaInlineQueryResultCachedBase.titleInlineQueryResultCachedBase.type
InlineQueryResultCachedDocumentInlineQueryResultCachedDocument.captionInlineQueryResultCachedDocument.caption_entitiesInlineQueryResultCachedDocument.descriptionInlineQueryResultCachedDocument.document_file_idInlineQueryResultCachedDocument.idInlineQueryResultCachedDocument.input_message_contentInlineQueryResultCachedDocument.parse_modeInlineQueryResultCachedDocument.reply_markupInlineQueryResultCachedDocument.titleInlineQueryResultCachedDocument.type
InlineQueryResultCachedGifInlineQueryResultCachedGif.captionInlineQueryResultCachedGif.caption_entitiesInlineQueryResultCachedGif.descriptionInlineQueryResultCachedGif.gif_file_idInlineQueryResultCachedGif.idInlineQueryResultCachedGif.input_message_contentInlineQueryResultCachedGif.parse_modeInlineQueryResultCachedGif.reply_markupInlineQueryResultCachedGif.show_caption_above_mediaInlineQueryResultCachedGif.titleInlineQueryResultCachedGif.type
InlineQueryResultCachedMpeg4GifInlineQueryResultCachedMpeg4Gif.captionInlineQueryResultCachedMpeg4Gif.caption_entitiesInlineQueryResultCachedMpeg4Gif.descriptionInlineQueryResultCachedMpeg4Gif.idInlineQueryResultCachedMpeg4Gif.input_message_contentInlineQueryResultCachedMpeg4Gif.mpeg4_file_idInlineQueryResultCachedMpeg4Gif.parse_modeInlineQueryResultCachedMpeg4Gif.reply_markupInlineQueryResultCachedMpeg4Gif.show_caption_above_mediaInlineQueryResultCachedMpeg4Gif.titleInlineQueryResultCachedMpeg4Gif.type
InlineQueryResultCachedPhotoInlineQueryResultCachedPhoto.captionInlineQueryResultCachedPhoto.caption_entitiesInlineQueryResultCachedPhoto.descriptionInlineQueryResultCachedPhoto.idInlineQueryResultCachedPhoto.input_message_contentInlineQueryResultCachedPhoto.parse_modeInlineQueryResultCachedPhoto.photo_file_idInlineQueryResultCachedPhoto.reply_markupInlineQueryResultCachedPhoto.show_caption_above_mediaInlineQueryResultCachedPhoto.titleInlineQueryResultCachedPhoto.type
InlineQueryResultCachedStickerInlineQueryResultCachedVideoInlineQueryResultCachedVideo.captionInlineQueryResultCachedVideo.caption_entitiesInlineQueryResultCachedVideo.descriptionInlineQueryResultCachedVideo.idInlineQueryResultCachedVideo.input_message_contentInlineQueryResultCachedVideo.parse_modeInlineQueryResultCachedVideo.reply_markupInlineQueryResultCachedVideo.show_caption_above_mediaInlineQueryResultCachedVideo.titleInlineQueryResultCachedVideo.typeInlineQueryResultCachedVideo.video_file_id
InlineQueryResultCachedVoiceInlineQueryResultCachedVoice.captionInlineQueryResultCachedVoice.caption_entitiesInlineQueryResultCachedVoice.idInlineQueryResultCachedVoice.input_message_contentInlineQueryResultCachedVoice.parse_modeInlineQueryResultCachedVoice.reply_markupInlineQueryResultCachedVoice.titleInlineQueryResultCachedVoice.typeInlineQueryResultCachedVoice.voice_file_id
InlineQueryResultContactInlineQueryResultContact.first_nameInlineQueryResultContact.last_nameInlineQueryResultContact.phone_numberInlineQueryResultContact.thumb_heightInlineQueryResultContact.thumb_urlInlineQueryResultContact.thumb_widthInlineQueryResultContact.thumbnail_heightInlineQueryResultContact.thumbnail_urlInlineQueryResultContact.thumbnail_widthInlineQueryResultContact.vcard
InlineQueryResultDocumentInlineQueryResultDocument.descriptionInlineQueryResultDocument.document_urlInlineQueryResultDocument.mime_typeInlineQueryResultDocument.thumb_heightInlineQueryResultDocument.thumb_urlInlineQueryResultDocument.thumb_widthInlineQueryResultDocument.thumbnail_heightInlineQueryResultDocument.thumbnail_urlInlineQueryResultDocument.thumbnail_width
InlineQueryResultGameInlineQueryResultGifInlineQueryResultGif.gif_durationInlineQueryResultGif.gif_heightInlineQueryResultGif.gif_urlInlineQueryResultGif.gif_widthInlineQueryResultGif.show_caption_above_mediaInlineQueryResultGif.thumb_mime_typeInlineQueryResultGif.thumb_urlInlineQueryResultGif.thumbnail_mime_typeInlineQueryResultGif.thumbnail_url
InlineQueryResultLocationInlineQueryResultLocation.headingInlineQueryResultLocation.horizontal_accuracyInlineQueryResultLocation.latitudeInlineQueryResultLocation.live_periodInlineQueryResultLocation.longitudeInlineQueryResultLocation.proximity_alert_radiusInlineQueryResultLocation.thumb_heightInlineQueryResultLocation.thumb_urlInlineQueryResultLocation.thumb_widthInlineQueryResultLocation.thumbnail_heightInlineQueryResultLocation.thumbnail_urlInlineQueryResultLocation.thumbnail_width
InlineQueryResultMpeg4GifInlineQueryResultMpeg4Gif.mpeg4_durationInlineQueryResultMpeg4Gif.mpeg4_heightInlineQueryResultMpeg4Gif.mpeg4_urlInlineQueryResultMpeg4Gif.mpeg4_widthInlineQueryResultMpeg4Gif.show_caption_above_mediaInlineQueryResultMpeg4Gif.thumb_mime_typeInlineQueryResultMpeg4Gif.thumb_urlInlineQueryResultMpeg4Gif.thumbnail_mime_typeInlineQueryResultMpeg4Gif.thumbnail_url
InlineQueryResultPhotoInlineQueryResultVenueInlineQueryResultVenue.addressInlineQueryResultVenue.foursquare_idInlineQueryResultVenue.foursquare_typeInlineQueryResultVenue.google_place_idInlineQueryResultVenue.google_place_typeInlineQueryResultVenue.latitudeInlineQueryResultVenue.longitudeInlineQueryResultVenue.thumb_heightInlineQueryResultVenue.thumb_urlInlineQueryResultVenue.thumb_widthInlineQueryResultVenue.thumbnail_heightInlineQueryResultVenue.thumbnail_urlInlineQueryResultVenue.thumbnail_width
InlineQueryResultVideoInlineQueryResultVideo.descriptionInlineQueryResultVideo.mime_typeInlineQueryResultVideo.show_caption_above_mediaInlineQueryResultVideo.thumb_urlInlineQueryResultVideo.thumbnail_urlInlineQueryResultVideo.video_durationInlineQueryResultVideo.video_heightInlineQueryResultVideo.video_urlInlineQueryResultVideo.video_width
InlineQueryResultVoiceInlineQueryResultsButtonInputChecklistInputChecklistTaskInputContactMessageContentInputFileInputInvoiceMessageContentInputInvoiceMessageContent.currencyInputInvoiceMessageContent.descriptionInputInvoiceMessageContent.is_flexibleInputInvoiceMessageContent.max_tip_amountInputInvoiceMessageContent.need_emailInputInvoiceMessageContent.need_nameInputInvoiceMessageContent.need_phone_numberInputInvoiceMessageContent.need_shipping_addressInputInvoiceMessageContent.payloadInputInvoiceMessageContent.photo_heightInputInvoiceMessageContent.photo_sizeInputInvoiceMessageContent.photo_urlInputInvoiceMessageContent.photo_widthInputInvoiceMessageContent.pricesInputInvoiceMessageContent.provider_dataInputInvoiceMessageContent.provider_tokenInputInvoiceMessageContent.send_email_to_providerInputInvoiceMessageContent.send_phone_number_to_providerInputInvoiceMessageContent.suggested_tip_amountsInputInvoiceMessageContent.title
InputLocationMessageContentInputMediaInputMediaAnimationInputMediaAudioInputMediaDocumentInputMediaPhotoInputMediaVideoInputPaidMediaInputPaidMediaPhotoInputPaidMediaVideoInputPollOptionInputProfilePhotoInputProfilePhotoAnimatedInputProfilePhotoStaticInputStickerInputStoryContentInputStoryContentPhotoInputStoryContentVideoInputTextMessageContentInputVenueMessageContentInvoiceJsonDeserializableJsonSerializableKeyboardButtonKeyboardButtonPollTypeKeyboardButtonRequestChatKeyboardButtonRequestChat.bot_administrator_rightsKeyboardButtonRequestChat.bot_is_memberKeyboardButtonRequestChat.chat_has_usernameKeyboardButtonRequestChat.chat_is_channelKeyboardButtonRequestChat.chat_is_createdKeyboardButtonRequestChat.chat_is_forumKeyboardButtonRequestChat.request_idKeyboardButtonRequestChat.request_photoKeyboardButtonRequestChat.request_titleKeyboardButtonRequestChat.request_usernameKeyboardButtonRequestChat.user_administrator_rights
KeyboardButtonRequestUserKeyboardButtonRequestUsersLabeledPriceLinkPreviewOptionsLocationLocationAddressLoginUrlMaskPositionMenuButtonMenuButtonCommandsMenuButtonDefaultMenuButtonWebAppMessageMessage.animationMessage.any_entitiesMessage.any_textMessage.audioMessage.author_signatureMessage.boost_addedMessage.business_connection_idMessage.captionMessage.caption_entitiesMessage.channel_chat_createdMessage.chatMessage.chat_background_setMessage.chat_owner_changedMessage.chat_owner_leftMessage.chat_sharedMessage.checklistMessage.checklist_tasks_addedMessage.checklist_tasks_doneMessage.connected_websiteMessage.contactMessage.content_typeMessage.dateMessage.delete_chat_photoMessage.diceMessage.direct_message_price_changedMessage.direct_messages_topicMessage.documentMessage.edit_dateMessage.effect_idMessage.entitiesMessage.external_replyMessage.forum_topic_closedMessage.forum_topic_createdMessage.forum_topic_editedMessage.forum_topic_reopenedMessage.forward_dateMessage.forward_fromMessage.forward_from_chatMessage.forward_from_message_idMessage.forward_originMessage.forward_sender_nameMessage.forward_signatureMessage.from_userMessage.general_forum_topic_hiddenMessage.general_forum_topic_unhiddenMessage.giftMessage.gift_upgrade_sentMessage.giveawayMessage.giveaway_completedMessage.giveaway_createdMessage.giveaway_winnersMessage.group_chat_createdMessage.has_media_spoilerMessage.has_protected_contentMessage.html_captionMessage.html_textMessage.idMessage.invoiceMessage.is_automatic_forwardMessage.is_from_offlineMessage.is_paid_postMessage.is_topic_messageMessage.left_chat_memberMessage.link_preview_optionsMessage.locationMessage.media_group_idMessage.message_auto_delete_timer_changedMessage.message_idMessage.message_thread_idMessage.migrate_from_chat_idMessage.migrate_to_chat_idMessage.new_chat_memberMessage.new_chat_membersMessage.new_chat_photoMessage.new_chat_titleMessage.paid_mediaMessage.paid_message_price_changedMessage.paid_star_countMessage.parse_chat()Message.parse_entities()Message.parse_photo()Message.photoMessage.pinned_messageMessage.proximity_alert_triggeredMessage.quoteMessage.refunded_paymentMessage.reply_markupMessage.reply_to_checklist_task_idMessage.reply_to_messageMessage.reply_to_storyMessage.sender_boost_countMessage.sender_business_botMessage.sender_chatMessage.sender_tagMessage.show_caption_above_mediaMessage.stickerMessage.storyMessage.successful_paymentMessage.suggested_post_approval_failedMessage.suggested_post_approvedMessage.suggested_post_declinedMessage.suggested_post_infoMessage.suggested_post_paidMessage.suggested_post_refundedMessage.supergroup_chat_createdMessage.textMessage.unique_giftMessage.user_sharedMessage.users_sharedMessage.venueMessage.via_botMessage.videoMessage.video_chat_endedMessage.video_chat_participants_invitedMessage.video_chat_scheduledMessage.video_chat_startedMessage.video_noteMessage.voiceMessage.voice_chat_endedMessage.voice_chat_participants_invitedMessage.voice_chat_scheduledMessage.voice_chat_startedMessage.web_app_dataMessage.write_access_allowed
MessageAutoDeleteTimerChangedMessageEntityMessageIDMessageOriginMessageOriginChannelMessageOriginChatMessageOriginHiddenUserMessageOriginUserMessageReactionCountUpdatedMessageReactionUpdatedOrderInfoOwnedGiftOwnedGiftRegularOwnedGiftRegular.can_be_upgradedOwnedGiftRegular.convert_star_countOwnedGiftRegular.entitiesOwnedGiftRegular.giftOwnedGiftRegular.is_privateOwnedGiftRegular.is_savedOwnedGiftRegular.is_upgrade_separateOwnedGiftRegular.owned_gift_idOwnedGiftRegular.prepaid_upgrade_star_countOwnedGiftRegular.send_dateOwnedGiftRegular.sender_userOwnedGiftRegular.textOwnedGiftRegular.unique_gift_numberOwnedGiftRegular.was_refunded
OwnedGiftUniqueOwnedGiftsPaidMediaPaidMediaInfoPaidMediaPhotoPaidMediaPreviewPaidMediaPurchasedPaidMediaVideoPaidMessagePriceChangedPhotoSizePollPollAnswerPollOptionPreCheckoutQueryPreparedInlineMessageProximityAlertTriggeredReactionCountReactionTypeReactionTypeCustomEmojiReactionTypeEmojiReactionTypePaidRefundedPaymentReplyKeyboardMarkupReplyKeyboardMarkup.add()ReplyKeyboardMarkup.input_field_placeholderReplyKeyboardMarkup.is_persistentReplyKeyboardMarkup.keyboardReplyKeyboardMarkup.max_row_keysReplyKeyboardMarkup.one_time_keyboardReplyKeyboardMarkup.resize_keyboardReplyKeyboardMarkup.row()ReplyKeyboardMarkup.row_widthReplyKeyboardMarkup.selective
ReplyKeyboardRemoveReplyParametersRevenueWithdrawalStateRevenueWithdrawalStateFailedRevenueWithdrawalStatePendingRevenueWithdrawalStateSucceededSentWebAppMessageSharedUserShippingAddressShippingOptionShippingQueryStarAmountStarTransactionStarTransactionsStickerStickerSetStoryStoryAreaStoryAreaPositionStoryAreaTypeStoryAreaTypeLinkStoryAreaTypeLocationStoryAreaTypeSuggestedReactionStoryAreaTypeUniqueGiftStoryAreaTypeWeatherSuccessfulPaymentSuccessfulPayment.currencySuccessfulPayment.invoice_payloadSuccessfulPayment.is_first_recurringSuccessfulPayment.is_recurringSuccessfulPayment.order_infoSuccessfulPayment.provider_payment_charge_idSuccessfulPayment.shipping_option_idSuccessfulPayment.subscription_expiration_dateSuccessfulPayment.telegram_payment_charge_idSuccessfulPayment.total_amount
SuggestedPostApprovalFailedSuggestedPostApprovedSuggestedPostDeclinedSuggestedPostInfoSuggestedPostPaidSuggestedPostParametersSuggestedPostPriceSuggestedPostRefundedSwitchInlineQueryChosenChatTextQuoteTransactionPartnerTransactionPartnerAffiliateProgramTransactionPartnerChatTransactionPartnerFragmentTransactionPartnerOtherTransactionPartnerTelegramAdsTransactionPartnerTelegramApiTransactionPartnerUserTransactionPartnerUser.affiliateTransactionPartnerUser.giftTransactionPartnerUser.invoice_payloadTransactionPartnerUser.paid_mediaTransactionPartnerUser.premium_subscription_durationTransactionPartnerUser.subscription_periodTransactionPartnerUser.transaction_typeTransactionPartnerUser.typeTransactionPartnerUser.user
UniqueGiftUniqueGiftBackdropUniqueGiftBackdropColorsUniqueGiftColorsUniqueGiftInfoUniqueGiftModelUniqueGiftSymbolUpdateUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
UserUser.added_to_attachment_menuUser.allows_users_to_create_topicsUser.can_connect_to_businessUser.can_join_groupsUser.can_read_all_group_messagesUser.first_nameUser.full_nameUser.has_main_web_appUser.has_topics_enabledUser.idUser.is_botUser.is_premiumUser.language_codeUser.last_nameUser.supports_inline_queriesUser.username
UserChatBoostsUserProfileAudiosUserProfilePhotosUserRatingUsersSharedVenueVideoVideoChatEndedVideoChatParticipantsInvitedVideoChatScheduledVideoChatStartedVideoNoteVideoQualityVoiceVoiceChatEndedVoiceChatParticipantsInvitedVoiceChatScheduledVoiceChatStartedWebAppDataWebAppInfoWebhookInfoWriteAccessAllowedlog_deprecation_warning()
- TeleBot version
- TeleBot methods
ExceptionHandlerHandlerREPLY_MARKUP_TYPESTeleBotTeleBot.add_custom_filter()TeleBot.add_data()TeleBot.add_sticker_to_set()TeleBot.answer_callback_query()TeleBot.answer_inline_query()TeleBot.answer_pre_checkout_query()TeleBot.answer_shipping_query()TeleBot.answer_web_app_query()TeleBot.approve_chat_join_request()TeleBot.approve_suggested_post()TeleBot.ban_chat_member()TeleBot.ban_chat_sender_chat()TeleBot.bot_idTeleBot.business_connection_handler()TeleBot.business_message_handler()TeleBot.callback_query_handler()TeleBot.channel_post_handler()TeleBot.chat_boost_handler()TeleBot.chat_join_request_handler()TeleBot.chat_member_handler()TeleBot.chosen_inline_handler()TeleBot.clear_reply_handlers()TeleBot.clear_reply_handlers_by_message_id()TeleBot.clear_step_handler()TeleBot.clear_step_handler_by_chat_id()TeleBot.close()TeleBot.close_forum_topic()TeleBot.close_general_forum_topic()TeleBot.convert_gift_to_stars()TeleBot.copy_message()TeleBot.copy_messages()TeleBot.create_chat_invite_link()TeleBot.create_chat_subscription_invite_link()TeleBot.create_forum_topic()TeleBot.create_invoice_link()TeleBot.create_new_sticker_set()TeleBot.decline_chat_join_request()TeleBot.decline_suggested_post()TeleBot.delete_business_messages()TeleBot.delete_chat_photo()TeleBot.delete_chat_sticker_set()TeleBot.delete_forum_topic()TeleBot.delete_message()TeleBot.delete_messages()TeleBot.delete_my_commands()TeleBot.delete_state()TeleBot.delete_sticker_from_set()TeleBot.delete_sticker_set()TeleBot.delete_story()TeleBot.delete_webhook()TeleBot.deleted_business_messages_handler()TeleBot.disable_save_next_step_handlers()TeleBot.disable_save_reply_handlers()TeleBot.download_file()TeleBot.edit_chat_invite_link()TeleBot.edit_chat_subscription_invite_link()TeleBot.edit_forum_topic()TeleBot.edit_general_forum_topic()TeleBot.edit_message_caption()TeleBot.edit_message_checklist()TeleBot.edit_message_live_location()TeleBot.edit_message_media()TeleBot.edit_message_reply_markup()TeleBot.edit_message_text()TeleBot.edit_story()TeleBot.edit_user_star_subscription()TeleBot.edited_business_message_handler()TeleBot.edited_channel_post_handler()TeleBot.edited_message_handler()TeleBot.enable_save_next_step_handlers()TeleBot.enable_save_reply_handlers()TeleBot.enable_saving_states()TeleBot.export_chat_invite_link()TeleBot.forward_message()TeleBot.forward_messages()TeleBot.get_available_gifts()TeleBot.get_business_account_gifts()TeleBot.get_business_account_star_balance()TeleBot.get_business_connection()TeleBot.get_chat()TeleBot.get_chat_administrators()TeleBot.get_chat_gifts()TeleBot.get_chat_member()TeleBot.get_chat_member_count()TeleBot.get_chat_members_count()TeleBot.get_chat_menu_button()TeleBot.get_custom_emoji_stickers()TeleBot.get_file()TeleBot.get_file_url()TeleBot.get_forum_topic_icon_stickers()TeleBot.get_game_high_scores()TeleBot.get_me()TeleBot.get_my_commands()TeleBot.get_my_default_administrator_rights()TeleBot.get_my_description()TeleBot.get_my_name()TeleBot.get_my_short_description()TeleBot.get_my_star_balance()TeleBot.get_star_transactions()TeleBot.get_state()TeleBot.get_sticker_set()TeleBot.get_updates()TeleBot.get_user_chat_boosts()TeleBot.get_user_gifts()TeleBot.get_user_profile_audios()TeleBot.get_user_profile_photos()TeleBot.get_webhook_info()TeleBot.gift_premium_subscription()TeleBot.hide_general_forum_topic()TeleBot.infinity_polling()TeleBot.inline_handler()TeleBot.kick_chat_member()TeleBot.leave_chat()TeleBot.load_next_step_handlers()TeleBot.load_reply_handlers()TeleBot.log_out()TeleBot.message_handler()TeleBot.message_reaction_count_handler()TeleBot.message_reaction_handler()TeleBot.middleware_handler()TeleBot.my_chat_member_handler()TeleBot.pin_chat_message()TeleBot.poll_answer_handler()TeleBot.poll_handler()TeleBot.polling()TeleBot.post_story()TeleBot.pre_checkout_query_handler()TeleBot.process_new_updates()TeleBot.promote_chat_member()TeleBot.purchased_paid_media_handler()TeleBot.read_business_message()TeleBot.refund_star_payment()TeleBot.register_business_connection_handler()TeleBot.register_business_message_handler()TeleBot.register_callback_query_handler()TeleBot.register_channel_post_handler()TeleBot.register_chat_boost_handler()TeleBot.register_chat_join_request_handler()TeleBot.register_chat_member_handler()TeleBot.register_chosen_inline_handler()TeleBot.register_deleted_business_messages_handler()TeleBot.register_edited_business_message_handler()TeleBot.register_edited_channel_post_handler()TeleBot.register_edited_message_handler()TeleBot.register_for_reply()TeleBot.register_for_reply_by_message_id()TeleBot.register_inline_handler()TeleBot.register_message_handler()TeleBot.register_message_reaction_count_handler()TeleBot.register_message_reaction_handler()TeleBot.register_middleware_handler()TeleBot.register_my_chat_member_handler()TeleBot.register_next_step_handler()TeleBot.register_next_step_handler_by_chat_id()TeleBot.register_poll_answer_handler()TeleBot.register_poll_handler()TeleBot.register_pre_checkout_query_handler()TeleBot.register_purchased_paid_media_handler()TeleBot.register_removed_chat_boost_handler()TeleBot.register_shipping_query_handler()TeleBot.remove_business_account_profile_photo()TeleBot.remove_chat_verification()TeleBot.remove_my_profile_photo()TeleBot.remove_user_verification()TeleBot.remove_webhook()TeleBot.removed_chat_boost_handler()TeleBot.reopen_forum_topic()TeleBot.reopen_general_forum_topic()TeleBot.replace_sticker_in_set()TeleBot.reply_to()TeleBot.repost_story()TeleBot.reset_data()TeleBot.restrict_chat_member()TeleBot.retrieve_data()TeleBot.revoke_chat_invite_link()TeleBot.run_webhooks()TeleBot.save_prepared_inline_message()TeleBot.send_animation()TeleBot.send_audio()TeleBot.send_chat_action()TeleBot.send_checklist()TeleBot.send_contact()TeleBot.send_dice()TeleBot.send_document()TeleBot.send_game()TeleBot.send_gift()TeleBot.send_invoice()TeleBot.send_location()TeleBot.send_media_group()TeleBot.send_message()TeleBot.send_message_draft()TeleBot.send_paid_media()TeleBot.send_photo()TeleBot.send_poll()TeleBot.send_sticker()TeleBot.send_venue()TeleBot.send_video()TeleBot.send_video_note()TeleBot.send_voice()TeleBot.set_business_account_bio()TeleBot.set_business_account_gift_settings()TeleBot.set_business_account_name()TeleBot.set_business_account_profile_photo()TeleBot.set_business_account_username()TeleBot.set_chat_administrator_custom_title()TeleBot.set_chat_description()TeleBot.set_chat_member_tag()TeleBot.set_chat_menu_button()TeleBot.set_chat_permissions()TeleBot.set_chat_photo()TeleBot.set_chat_sticker_set()TeleBot.set_chat_title()TeleBot.set_custom_emoji_sticker_set_thumbnail()TeleBot.set_game_score()TeleBot.set_message_reaction()TeleBot.set_my_commands()TeleBot.set_my_default_administrator_rights()TeleBot.set_my_description()TeleBot.set_my_name()TeleBot.set_my_profile_photo()TeleBot.set_my_short_description()TeleBot.set_state()TeleBot.set_sticker_emoji_list()TeleBot.set_sticker_keywords()TeleBot.set_sticker_mask_position()TeleBot.set_sticker_position_in_set()TeleBot.set_sticker_set_thumb()TeleBot.set_sticker_set_thumbnail()TeleBot.set_sticker_set_title()TeleBot.set_update_listener()TeleBot.set_user_emoji_status()TeleBot.set_webhook()TeleBot.setup_middleware()TeleBot.shipping_query_handler()TeleBot.stop_bot()TeleBot.stop_message_live_location()TeleBot.stop_poll()TeleBot.stop_polling()TeleBot.transfer_business_account_stars()TeleBot.transfer_gift()TeleBot.unban_chat_member()TeleBot.unban_chat_sender_chat()TeleBot.unhide_general_forum_topic()TeleBot.unpin_all_chat_messages()TeleBot.unpin_all_forum_topic_messages()TeleBot.unpin_all_general_forum_topic_messages()TeleBot.unpin_chat_message()TeleBot.upgrade_gift()TeleBot.upload_sticker_file()TeleBot.userTeleBot.verify_chat()TeleBot.verify_user()
- custom_filters file
- handler_backends file
- Extensions
- TeleBot methods
- AsyncTeleBot
- AsyncTeleBot methods
AsyncTeleBotAsyncTeleBot.add_custom_filter()AsyncTeleBot.add_data()AsyncTeleBot.add_sticker_to_set()AsyncTeleBot.answer_callback_query()AsyncTeleBot.answer_inline_query()AsyncTeleBot.answer_pre_checkout_query()AsyncTeleBot.answer_shipping_query()AsyncTeleBot.answer_web_app_query()AsyncTeleBot.approve_chat_join_request()AsyncTeleBot.approve_suggested_post()AsyncTeleBot.ban_chat_member()AsyncTeleBot.ban_chat_sender_chat()AsyncTeleBot.business_connection_handler()AsyncTeleBot.business_message_handler()AsyncTeleBot.callback_query_handler()AsyncTeleBot.channel_post_handler()AsyncTeleBot.chat_boost_handler()AsyncTeleBot.chat_join_request_handler()AsyncTeleBot.chat_member_handler()AsyncTeleBot.chosen_inline_handler()AsyncTeleBot.close()AsyncTeleBot.close_forum_topic()AsyncTeleBot.close_general_forum_topic()AsyncTeleBot.close_session()AsyncTeleBot.convert_gift_to_stars()AsyncTeleBot.copy_message()AsyncTeleBot.copy_messages()AsyncTeleBot.create_chat_invite_link()AsyncTeleBot.create_chat_subscription_invite_link()AsyncTeleBot.create_forum_topic()AsyncTeleBot.create_invoice_link()AsyncTeleBot.create_new_sticker_set()AsyncTeleBot.decline_chat_join_request()AsyncTeleBot.decline_suggested_post()AsyncTeleBot.delete_business_messages()AsyncTeleBot.delete_chat_photo()AsyncTeleBot.delete_chat_sticker_set()AsyncTeleBot.delete_forum_topic()AsyncTeleBot.delete_message()AsyncTeleBot.delete_messages()AsyncTeleBot.delete_my_commands()AsyncTeleBot.delete_state()AsyncTeleBot.delete_sticker_from_set()AsyncTeleBot.delete_sticker_set()AsyncTeleBot.delete_story()AsyncTeleBot.delete_webhook()AsyncTeleBot.deleted_business_messages_handler()AsyncTeleBot.download_file()AsyncTeleBot.edit_chat_invite_link()AsyncTeleBot.edit_chat_subscription_invite_link()AsyncTeleBot.edit_forum_topic()AsyncTeleBot.edit_general_forum_topic()AsyncTeleBot.edit_message_caption()AsyncTeleBot.edit_message_checklist()AsyncTeleBot.edit_message_live_location()AsyncTeleBot.edit_message_media()AsyncTeleBot.edit_message_reply_markup()AsyncTeleBot.edit_message_text()AsyncTeleBot.edit_story()AsyncTeleBot.edit_user_star_subscription()AsyncTeleBot.edited_business_message_handler()AsyncTeleBot.edited_channel_post_handler()AsyncTeleBot.edited_message_handler()AsyncTeleBot.enable_saving_states()AsyncTeleBot.export_chat_invite_link()AsyncTeleBot.forward_message()AsyncTeleBot.forward_messages()AsyncTeleBot.get_available_gifts()AsyncTeleBot.get_business_account_gifts()AsyncTeleBot.get_business_account_star_balance()AsyncTeleBot.get_business_connection()AsyncTeleBot.get_chat()AsyncTeleBot.get_chat_administrators()AsyncTeleBot.get_chat_gifts()AsyncTeleBot.get_chat_member()AsyncTeleBot.get_chat_member_count()AsyncTeleBot.get_chat_members_count()AsyncTeleBot.get_chat_menu_button()AsyncTeleBot.get_custom_emoji_stickers()AsyncTeleBot.get_file()AsyncTeleBot.get_file_url()AsyncTeleBot.get_forum_topic_icon_stickers()AsyncTeleBot.get_game_high_scores()AsyncTeleBot.get_me()AsyncTeleBot.get_my_commands()AsyncTeleBot.get_my_default_administrator_rights()AsyncTeleBot.get_my_description()AsyncTeleBot.get_my_name()AsyncTeleBot.get_my_short_description()AsyncTeleBot.get_my_star_balance()AsyncTeleBot.get_star_transactions()AsyncTeleBot.get_state()AsyncTeleBot.get_sticker_set()AsyncTeleBot.get_updates()AsyncTeleBot.get_user_chat_boosts()AsyncTeleBot.get_user_gifts()AsyncTeleBot.get_user_profile_audios()AsyncTeleBot.get_user_profile_photos()AsyncTeleBot.get_webhook_info()AsyncTeleBot.gift_premium_subscription()AsyncTeleBot.hide_general_forum_topic()AsyncTeleBot.infinity_polling()AsyncTeleBot.inline_handler()AsyncTeleBot.kick_chat_member()AsyncTeleBot.leave_chat()AsyncTeleBot.log_out()AsyncTeleBot.message_handler()AsyncTeleBot.message_reaction_count_handler()AsyncTeleBot.message_reaction_handler()AsyncTeleBot.my_chat_member_handler()AsyncTeleBot.pin_chat_message()AsyncTeleBot.poll_answer_handler()AsyncTeleBot.poll_handler()AsyncTeleBot.polling()AsyncTeleBot.post_story()AsyncTeleBot.pre_checkout_query_handler()AsyncTeleBot.process_new_updates()AsyncTeleBot.promote_chat_member()AsyncTeleBot.purchased_paid_media_handler()AsyncTeleBot.read_business_message()AsyncTeleBot.refund_star_payment()AsyncTeleBot.register_business_connection_handler()AsyncTeleBot.register_business_message_handler()AsyncTeleBot.register_callback_query_handler()AsyncTeleBot.register_channel_post_handler()AsyncTeleBot.register_chat_boost_handler()AsyncTeleBot.register_chat_join_request_handler()AsyncTeleBot.register_chat_member_handler()AsyncTeleBot.register_chosen_inline_handler()AsyncTeleBot.register_deleted_business_messages_handler()AsyncTeleBot.register_edited_business_message_handler()AsyncTeleBot.register_edited_channel_post_handler()AsyncTeleBot.register_edited_message_handler()AsyncTeleBot.register_inline_handler()AsyncTeleBot.register_message_handler()AsyncTeleBot.register_message_reaction_count_handler()AsyncTeleBot.register_message_reaction_handler()AsyncTeleBot.register_my_chat_member_handler()AsyncTeleBot.register_poll_answer_handler()AsyncTeleBot.register_poll_handler()AsyncTeleBot.register_pre_checkout_query_handler()AsyncTeleBot.register_purchased_paid_media_handler()AsyncTeleBot.register_removed_chat_boost_handler()AsyncTeleBot.register_shipping_query_handler()AsyncTeleBot.remove_business_account_profile_photo()AsyncTeleBot.remove_chat_verification()AsyncTeleBot.remove_my_profile_photo()AsyncTeleBot.remove_user_verification()AsyncTeleBot.remove_webhook()AsyncTeleBot.removed_chat_boost_handler()AsyncTeleBot.reopen_forum_topic()AsyncTeleBot.reopen_general_forum_topic()AsyncTeleBot.replace_sticker_in_set()AsyncTeleBot.reply_to()AsyncTeleBot.repost_story()AsyncTeleBot.reset_data()AsyncTeleBot.restrict_chat_member()AsyncTeleBot.retrieve_data()AsyncTeleBot.revoke_chat_invite_link()AsyncTeleBot.run_webhooks()AsyncTeleBot.save_prepared_inline_message()AsyncTeleBot.send_animation()AsyncTeleBot.send_audio()AsyncTeleBot.send_chat_action()AsyncTeleBot.send_checklist()AsyncTeleBot.send_contact()AsyncTeleBot.send_dice()AsyncTeleBot.send_document()AsyncTeleBot.send_game()AsyncTeleBot.send_gift()AsyncTeleBot.send_invoice()AsyncTeleBot.send_location()AsyncTeleBot.send_media_group()AsyncTeleBot.send_message()AsyncTeleBot.send_message_draft()AsyncTeleBot.send_paid_media()AsyncTeleBot.send_photo()AsyncTeleBot.send_poll()AsyncTeleBot.send_sticker()AsyncTeleBot.send_venue()AsyncTeleBot.send_video()AsyncTeleBot.send_video_note()AsyncTeleBot.send_voice()AsyncTeleBot.set_business_account_bio()AsyncTeleBot.set_business_account_gift_settings()AsyncTeleBot.set_business_account_name()AsyncTeleBot.set_business_account_profile_photo()AsyncTeleBot.set_business_account_username()AsyncTeleBot.set_chat_administrator_custom_title()AsyncTeleBot.set_chat_description()AsyncTeleBot.set_chat_member_tag()AsyncTeleBot.set_chat_menu_button()AsyncTeleBot.set_chat_permissions()AsyncTeleBot.set_chat_photo()AsyncTeleBot.set_chat_sticker_set()AsyncTeleBot.set_chat_title()AsyncTeleBot.set_custom_emoji_sticker_set_thumbnail()AsyncTeleBot.set_game_score()AsyncTeleBot.set_message_reaction()AsyncTeleBot.set_my_commands()AsyncTeleBot.set_my_default_administrator_rights()AsyncTeleBot.set_my_description()AsyncTeleBot.set_my_name()AsyncTeleBot.set_my_profile_photo()AsyncTeleBot.set_my_short_description()AsyncTeleBot.set_state()AsyncTeleBot.set_sticker_emoji_list()AsyncTeleBot.set_sticker_keywords()AsyncTeleBot.set_sticker_mask_position()AsyncTeleBot.set_sticker_position_in_set()AsyncTeleBot.set_sticker_set_thumb()AsyncTeleBot.set_sticker_set_thumbnail()AsyncTeleBot.set_sticker_set_title()AsyncTeleBot.set_update_listener()AsyncTeleBot.set_user_emoji_status()AsyncTeleBot.set_webhook()AsyncTeleBot.setup_middleware()AsyncTeleBot.shipping_query_handler()AsyncTeleBot.skip_updates()AsyncTeleBot.stop_message_live_location()AsyncTeleBot.stop_poll()AsyncTeleBot.transfer_business_account_stars()AsyncTeleBot.transfer_gift()AsyncTeleBot.unban_chat_member()AsyncTeleBot.unban_chat_sender_chat()AsyncTeleBot.unhide_general_forum_topic()AsyncTeleBot.unpin_all_chat_messages()AsyncTeleBot.unpin_all_forum_topic_messages()AsyncTeleBot.unpin_all_general_forum_topic_messages()AsyncTeleBot.unpin_chat_message()AsyncTeleBot.upgrade_gift()AsyncTeleBot.upload_sticker_file()AsyncTeleBot.userAsyncTeleBot.verify_chat()AsyncTeleBot.verify_user()
ExceptionHandlerHandler
- Asyncio filters
- Asyncio handler backends
- Extensions
- AsyncTeleBot methods
- Callback data factory
- Utils
- util file
antiflood()chunks()content_type_mediacontent_type_serviceescape()extract_arguments()extract_bot_id()extract_command()generate_random_token()is_bytes()is_command()is_dict()is_pil_image()is_string()parse_web_app_data()pil_image_to_file()quick_markup()smart_split()split_string()update_typesuser_link()validate_token()validate_web_app_data()webhook_google_functions()
- util file
- Formatting options