id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
TeleBot/Types_of_API_70_0.txt
_ class _ telebot.types. InaccessibleMessage ( _ chat _ , _ message_id _ , _ date _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object describes a message that was deleted or is otherwise inaccessible to the bot. Telegram documentation: [ https://core.telegram.org/bots/api#inaccessibleme...
TeleBot/TeleBot_2_35.txt
ype : ` bool ` send_contact ( _ chat_id : int | str _ , _ phone_number : str _ , _ first_name : str _ , _ last_name : str | None = None _ , _ vcard : str | None = None _ , _ disable_notification : bool | None = None _ , _ reply_to_message_id : int | None = None _ , _ r...
TeleBot/TeleBot_methods_2_28.txt
dler(useful for separating handlers into different files) * **kwargs** – Optional keyword arguments(custom filters) Returns : None register_middleware_handler ( _ callback _ , _ update_types = None _ ) # Adds function-based middleware handler. This function will register your decorator func...
TeleBot/custom_filters_4_0.txt
_ class _ telebot.custom_filters. IsAdminFilter ( _ bot _ ) # Bases: ` SimpleCustomFilter ` Check whether the user is administrator / owner of the chat. Example on using this filter: # @bot.message_handler(chat_types=['supergroup'], is_chat_admin=True) # your function key _ :...
TeleBot/TeleBot_2_53.txt
ypes.html#telebot.types.BotCommandScope "telebot.types.BotCommandScope") ) – The scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault. * **language_code** ( ` str ` ) – A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for ...
TeleBot/TeleBot_2_5.txt
* **func** ( ` function ` ) – Function executed as a filter * **kwargs** – Optional keyword arguments(custom filters) Returns : None clear_reply_handlers ( _ message : [ Message ](../types.html#telebot.types.Message "telebot.types.Message") _ ) → None # Clears all callback functions re...
TeleBot/Types_of_API_129_0.txt
_ classmethod _ parse_entities ( _ message_entity_array _ ) ¶ Parses message entity array.
TeleBot/TeleBot_9_0.txt
_ class _ telebot.custom_filters. LanguageFilter # Bases: ` AdvancedCustomFilter ` Check users language_code. Example on using this filter: # @bot.message_handler(language_code=['ru']) # your function key _ : str _ _ = 'language_code' _ #
TeleBot/TeleBot_methods_2_29.txt
andlers into different files) * **kwargs** – Optional keyword arguments(custom filters) Returns : None register_pre_checkout_query_handler ( _ callback : Callable _ , _ func : Callable _ , _ pass_bot : bool | None = False _ , _ ** kwargs _ ) # Registers pre-checkout request handl...
TeleBot/Types_of_API_158_0.txt
_ class _ telebot.types. ShippingOption ( _ id _ , _ title _ ) ¶ Bases: ` JsonSerializable ` This object represents one shipping option. Telegram Documentation: [ https://core.telegram.org/bots/api#shippingoption ](https://core.telegram.org/bots/api#shippingoption) Parameters : * **id** ( `...
TeleBot/Types_of_API_79_0.txt
_ class _ telebot.types. InlineQueryResultCachedDocument ( _ id _ , _ document_file_id _ , _ title _ , _ description = None _ , _ caption = None _ , _ caption_entities = None _ , _ parse_mode = None _ , _ reply_markup = None _ , _ input_message_content = None _ ) ¶ Bases: ` InlineQueryR...
TeleBot/Types_of_API_31_0.txt
_ class _ telebot.types. ChatBoostSourcePremium ( _ source _ , _ user _ , _ ** kwargs _ ) ¶ Bases: ` ChatBoostSource ` The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user. Telegram documentation: [ https://core.telegram.org/bots/api...
TeleBot/Types_of_API_145_0.txt
_ class _ telebot.types. PollOption ( _ text _ , _ voter_count = 0 _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object contains information about one answer option in a poll. Telegram Documentation: [ https://core.telegram.org/bots/api#polloption ](https://core.telegram.org/bots/api#po...
TeleBot/Types_of_API_72_0.txt
_ class _ telebot.types. InlineKeyboardMarkup ( _ keyboard = None _ , _ row_width = 3 _ ) ¶ Bases: ` Dictionaryable ` , ` JsonSerializable ` , ` JsonDeserializable ` This object represents an inline keyboard that appears right next to the message it belongs to. Note It is recommended to use [ ...
TeleBot/TeleBot_2_51.txt
True on success. Return type : ` bool ` set_chat_permissions ( _ chat_id : int | str _ , _ permissions : [ ChatPermissions ](../types.html#telebot.types.ChatPermissions "telebot.types.ChatPermissions") _ , _ use_independent_chat_permissions : bool | None = None _ ) → bool # Use t...
TeleBot/Types_of_API_181_0.txt
_ class _ telebot.types. VoiceChatScheduled ( _ * args _ , _ ** kwargs _ ) ¶ Bases: ` VideoChatScheduled ` Deprecated, use ` VideoChatScheduled ` instead.
TeleBot/TeleBot_2_40.txt
ceed max_tip_amount. * **protect_content** ( ` bool ` ) – Protects the contents of the sent message from forwarding and saving * **message_thread_id** ( ` int ` ) – The identifier of a message thread, in which the invoice message will be sent * **reply_parameters** ( [ ` types.ReplyParameters ` ](../type...
TeleBot/Types_of_API_174_0.txt
_ class _ telebot.types. VideoChatParticipantsInvited ( _ users = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object represents a service message about new members invited to a video chat. Telegram Documentation: [ https://core.telegram.org/bots/api#videochatparticipantsinvited ](h...
TeleBot/Types_of_API_52_1.txt
the class Return type : ` ExternalReplyInfo `
TeleBot/Types_of_API_112_0.txt
_ class _ telebot.types. JsonSerializable ¶ Bases: ` object ` Subclasses of this class are guaranteed to be able to be converted to JSON format. All subclasses of this class must override to_json.
TeleBot/Types_of_API_73_0.txt
_ class _ telebot.types. InlineQuery ( _ id _ , _ from_user _ , _ query _ , _ offset _ , _ chat_type = None _ , _ location = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object represents an incoming inline query. When the user sends an empty query, your bot could return some d...
TeleBot/TeleBot_2_55.txt
_ secret_token : str | None = None _ ) → bool # Use this method to specify a URL and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified URL, containing a JSON-serialized Update. In case of an unsuccessful reque...
TeleBot/Types_of_API_8_0.txt
_ class _ telebot.types. BotCommandScopeAllPrivateChats ¶ Bases: ` BotCommandScope ` Represents the scope of bot commands, covering all private chats. Telegram Documentation: [ https://core.telegram.org/bots/api#botcommandscopeallprivatechats ](https://core.telegram.org/bots/api#botcommandscopeallprivatec...
TeleBot/TeleBot_2_52.txt
thumbnail of a custom emoji sticker set. Returns True on success. Parameters : * **name** ( ` str ` ) – Sticker set name * **custom_emoji_id** ( ` str ` ) – Custom emoji identifier of a sticker from the sticker set; pass an empty string to drop the thumbnail and use the first sticker as the thumbnail. ...
TeleBot/TeleBot_methods_2_18.txt
Parameters : **file_id** ( ` str ` ) – File identifier Returns : [ ` telebot.types.File ` ](../types.html#telebot.types.File "telebot.types.File") get_file_url ( _ file_id : str | None _ ) → str # Get a valid URL for downloading a file. Parameters : **file_id** ( ` str ` ...
TeleBot/TeleBot_methods_2_36.txt
low_sending_without_reply : bool | None = None _ , _ protect_content : bool | None = None _ , _ message_thread_id : int | None = None _ , _ reply_parameters : [ ReplyParameters ](../types.html#telebot.types.ReplyParameters "telebot.types.ReplyParameters") | None = None _ ) → [ Message ](....
TeleBot/TeleBot_2_13.txt
bot.types.Message") | ` bool ` edit_message_live_location ( _ latitude : float _ , _ longitude : float _ , _ chat_id : int | str | None = None _ , _ message_id : int | None = None _ , _ inline_message_id : str | None = None _ , _ reply_markup : [ InlineKeyboardMarkup ](../types.html#...
TeleBot/Types_of_API_57_0.txt
_ class _ telebot.types. ForumTopicCreated ( _ name : str _ , _ icon_color : int _ , _ icon_custom_emoji_id : str | None = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object represents a service message about a new forum topic created in the chat. Telegram documentation:...
TeleBot/Types_of_API_18_0.txt
_ class _ telebot.types. BusinessLocation ( _ address _ , _ location = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object represents a business location. Telegram documentation: [ https://core.telegram.org/bots/api#businesslocation ](https://core.telegram.org/bots/api#businessloca...
TeleBot/TeleBot_2_23.txt
_channel_post_text(bot_instance, update): print(update.update_id) Parameters : **update_types** ( ` list ` of ` str ` ) – Optional list of update types that can be passed into the middleware handler. Returns : function my_chat_member_handler ( _ func = None _ , _ ** kwargs _ ) ...
TeleBot/Types_of_API_23_0.txt
_ class _ telebot.types. Chat ( _ id _ , _ type _ , _ title = None _ , _ username = None _ , _ first_name = None _ , _ last_name = None _ , _ photo = None _ , _ bio = None _ , _ has_private_forwards = None _ , _ description = None _ , _ invite_link = None _ , _ pinned_message = None _...
TeleBot/TeleBot_2_48.txt
[ ` telebot.types.ForceReply ` ](../types.html#telebot.types.ForceReply "telebot.types.ForceReply") ) – Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user. * **timeout** ( ` int ` ) – Timeou...
TeleBot/TeleBot_methods_2_33.txt
reply keyboard or to force a reply from the user. * **disable_notification** ( ` bool ` ) – Sends the message silently. Users will receive a notification with no sound. * **timeout** ( ` int ` ) – Timeout in seconds for the request. * **caption_entities** ( ` list ` of [ ` telebot.types.MessageEntity ` ...
TeleBot/handler_backends_4_0.txt
_ class _ telebot.handler_backends. SkipHandler # Bases: ` object ` Class for skipping handlers. Just return instance of this class in middleware to skip handler. Update will go to post_process, but will skip execution of handler.
TeleBot/Types_of_API_138_0.txt
_ class _ telebot.types. MessageOriginUser ( _ date : int _ , _ sender_user : User _ ) ¶ Bases: ` MessageOrigin ` The message was originally sent by a known user. Parameters : **sender_user** ( ` User ` ) – User that sent the message originally
TeleBot/TeleBot_2_25.txt
` bool ` ) – Pass True, if the administrator can restrict, ban or unban chat members * **can_pin_messages** ( ` bool ` ) – Pass True, if the administrator can pin messages, supergroups only * **can_promote_members** ( ` bool ` ) – Pass True, if the administrator can add new administrators with a subset of h...
TeleBot/Types_of_API_14_0.txt
_ class _ telebot.types. BotName ( _ name : str _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object represents a bot name. Telegram Documentation: [ https://core.telegram.org/bots/api#botname ](https://core.telegram.org/bots/api#botname) Parameters : **name** ( ` str ` ) – The ...
TeleBot/TeleBot_2_24.txt
tom (different from logger itself) logging level for infinity_polling logging. Use logger levels from logging as a value. None/NOTSET = no error logging * **allowed_updates** ( ` list ` of ` str ` ) – A list of the update types you want your bot to receive. For example, specify [“message”, “edited_channel_post”...
TeleBot/TeleBot_methods_2_32.txt
_ , _ parse_mode : str | None = None _ , _ caption_entities : List [ [ MessageEntity ](../types.html#telebot.types.MessageEntity "telebot.types.MessageEntity") ] | None = None _ , _ disable_notification : bool | None = None _ , _ protect_content : bool | None = None _ , _ reply_to_message...
TeleBot/Types_of_API_32_0.txt
_ class _ telebot.types. ChatBoostUpdated ( _ chat _ , _ boost _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object represents a boost added to a chat or changed. Telegram documentation: [ https://core.telegram.org/bots/api#chatboostupdated ](https://core.telegram.org/bots/api#chatboostupd...
TeleBot/TeleBot_2_39.txt
ypes.html#telebot.types.ForceReply "telebot.types.ForceReply") | None = None _ , _ provider_data : str | None = None _ , _ timeout : int | None = None _ , _ allow_sending_without_reply : bool | None = None _ , _ max_tip_amount : int | None = None _ , _ suggested_tip_amounts : List [ ...
TeleBot/Types_of_API_169_0.txt
_ class _ telebot.types. UserProfilePhotos ( _ total_count _ , _ photos = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object represent a user’s profile pictures. Telegram Documentation: [ https://core.telegram.org/bots/api#userprofilephotos ](https://core.telegram.org/bots/api#use...
TeleBot/handler_backends_0_0.txt
## handler_backends file #
TeleBot/Types_of_API_127_2.txt
anged** ( ` telebot.types.MessageAutoDeleteTimerChanged ` ) – Optional. Service message: auto-delete timer settings changed in the chat * **migrate_to_chat_id** ( ` int ` ) – Optional. The group has been migrated to a supergroup with the specified identifier. This number may have more than 32 significant bits an...
TeleBot/TeleBot_0_0.txt
_ class _ telebot. ExceptionHandler # Bases: ` object ` Class for handling exceptions while Polling handle ( _ exception _ ) #
TeleBot/Types_of_API_130_0.txt
_ classmethod _ parse_photo ( _ photo_size_array _ ) ¶ Parses photo array. _ property _ user_shared ¶ _ property _ voice_chat_ended ¶ _ property _ voice_chat_participants_invited ¶ _ property _ voice_chat_scheduled ¶ _ property _ voice_chat_started ¶
TeleBot/TeleBot_methods_2_41.txt
contents of the sent message from forwarding and saving * **message_thread_id** ( ` int ` ) – Identifier of a message thread, in which the message will be sent * **reply_parameters** ( [ ` telebot.types.ReplyParameters ` ](../types.html#telebot.types.ReplyParameters "telebot.types.ReplyParameters") ) – Reply ...
TeleBot/Types_of_API_12_0.txt
_ class _ telebot.types. BotCommandScopeDefault ¶ Bases: ` BotCommandScope ` Represents the default scope of bot commands. Default commands are used if no commands with a narrower scope are specified for the user. Telegram Documentation: [ https://core.telegram.org/bots/api#botcommandscopedefault ](https:...
TeleBot/Types_of_API_51_0.txt
_ class _ telebot.types. Document ( _ file_id _ , _ file_unique_id _ , _ thumbnail = None _ , _ file_name = None _ , _ mime_type = None _ , _ file_size = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object represents a general file (as opposed to photos, voice messages an...
TeleBot/TeleBot_5_0.txt
_ class _ telebot.custom_filters. ForwardFilter # Bases: ` SimpleCustomFilter ` Check whether message was forwarded from channel or group. Example on using this filter: # @bot.message_handler(is_forwarded=True) # your function key _ : str _ _ = 'is_forwarded' _ #
TeleBot/TeleBot_methods_2_6.txt
oardMarkup") | [ ReplyKeyboardRemove ](../types.html#telebot.types.ReplyKeyboardRemove "telebot.types.ReplyKeyboardRemove") | [ ForceReply ](../types.html#telebot.types.ForceReply "telebot.types.ForceReply") | None = None _ , _ timeout : int | None = None _ , _ message_thread_id : int | None = None...
TeleBot/TeleBot_20_0.txt
_ class _ telebot.handler_backends. State # Bases: ` object ` Class representing a state. class MyStates(StatesGroup): my_state = State() # returns my_state:State string.
TeleBot/TeleBot_methods_2_22.txt
nt_types : List [ str ] | None = None _ , _ chat_types : List [ str ] | None = None _ , _ ** kwargs _ ) # Handles New incoming message of any kind - text, photo, sticker, etc. As a parameter to the decorator function, it passes [ ` telebot.types.Message ` ](../types.html#telebot.types.Mes...
TeleBot/TeleBot_11_0.txt
_ class _ telebot.custom_filters. StateFilter ( _ bot _ ) # Bases: ` AdvancedCustomFilter ` Filter to check state. Example on using this filter: # @bot.message_handler(state=1) # your function key _ : str _ _ = 'state' _ #
TeleBot/Types_of_API_101_0.txt
_ class _ telebot.types. InputMedia ( _ type _ , _ media _ , _ caption = None _ , _ parse_mode = None _ , _ caption_entities = None _ ) ¶ Bases: ` Dictionaryable ` , ` JsonSerializable ` This object represents the content of a media message to be sent. It should be one of * ` InputMediaAni...
TeleBot/Types_of_API_3_0.txt
_ class _ telebot.types. Birthdate ( _ day _ , _ month _ , _ year = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object represents a user’s birthdate. Telegram documentation: [ https://core.telegram.org/bots/api#birthdate ](https://core.telegram.org/bots/api#birthdate) Parameters...
TeleBot/Types_of_API_153_0.txt
_ class _ telebot.types. ReplyKeyboardRemove ( _ selective = None _ ) ¶ Bases: ` JsonSerializable ` Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboar...
TeleBot/TeleBot_methods_2_26.txt
ler. Parameters : * **callback** ( ` function ` ) – function to be called * **func** ( ` function ` ) – Function executed as a filter * **pass_bot** ( ` bool ` ) – True if you need to pass TeleBot instance to handler(useful for separating handlers into different files) * **kwargs** – Optional ...
TeleBot/Types_of_API_152_0.txt
_ class _ telebot.types. ReplyKeyboardMarkup ( _ resize_keyboard : bool | None = None _ , _ one_time_keyboard : bool | None = None _ , _ selective : bool | None = None _ , _ row_width : int = 3 _ , _ input_field_placeholder : str | None = None _ , _ is_persistent : bool | None ...
TeleBot/TeleBot_methods_2_47.txt
types.MessageEntity "telebot.types.MessageEntity") ] | None = None _ , _ supports_streaming : bool | None = None _ , _ disable_notification : bool | None = None _ , _ protect_content : bool | None = None _ , _ reply_to_message_id : int | None = None _ , _ allow_sending_without_reply : ...
TeleBot/TeleBot_2_38.txt
str _ , _ disable_notification : bool | None = None _ , _ reply_to_message_id : int | None = None _ , _ reply_markup : [ InlineKeyboardMarkup ](../types.html#telebot.types.InlineKeyboardMarkup "telebot.types.InlineKeyboardMarkup") | [ ReplyKeyboardMarkup ](../types.html#telebot.types.ReplyKeyboardMa...
TeleBot/TeleBot_2_19.txt
lt administrator rights of the bot. Returns ChatAdministratorRights on success. Telegram documentation: [ Parameters : **for_channels** ( ` bool ` ) – Pass True to get the default administrator rights of the bot in channels. Otherwise, the default administrator rights of the bot for groups and supergroups wi...
TeleBot/Types_of_API_128_0.txt
_ classmethod _ parse_chat ( _ chat _ ) ¶ Parses chat.
TeleBot/Types_of_API_98_0.txt
_ class _ telebot.types. InputFile ( _ file _ ) ¶ Bases: ` object ` A class to send files through Telegram Bot API. You need to pass a file, which should be an instance of ` io.IOBase ` or ` pathlib.Path ` , or ` str ` . If you pass an ` str ` as a file, it will be opened and closed by the class. ...
TeleBot/Types_of_API_176_0.txt
_ class _ telebot.types. VideoChatStarted ¶ Bases: ` JsonDeserializable ` This object represents a service message about a video chat started in the chat. Currently holds no information.
TeleBot/Types_of_API_144_0.txt
_ class _ telebot.types. PollAnswer ( _ poll_id _ , _ option_ids _ , _ user = None _ , _ voter_chat = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonSerializable ` , ` JsonDeserializable ` , ` Dictionaryable ` This object represents an answer of a user in a non-anonymous poll. Telegram Documentati...
TeleBot/TeleBot_2_7.txt
essages don’t have a link to the original message. Album grouping is kept for copied messages. On success, an array of MessageId of the sent messages is returned. Parameters : * **chat_id** ( ` int ` or ` str ` ) – Unique identifier for the target chat or username of the target channel (in the format @cha...
TeleBot/Types_of_API_104_0.txt
_ class _ telebot.types. InputMediaDocument ( _ media _ , _ thumbnail = None _ , _ caption = None _ , _ parse_mode = None _ , _ caption_entities = None _ , _ disable_content_type_detection = None _ ) ¶ Bases: ` InputMedia ` Represents a general file to be sent. Telegram Documentation: [ ht...
TeleBot/Types_of_API_1_0.txt
_ class _ telebot.types. Animation ( _ file_id _ , _ file_unique_id _ , _ width = None _ , _ height = None _ , _ duration = None _ , _ thumbnail = None _ , _ file_name = None _ , _ mime_type = None _ , _ file_size = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This ob...
TeleBot/TeleBot_2_56.txt
ge before live_period expires. On success, if the message is not an inline message, the edited Message is returned, otherwise True is returned. Telegram documentation: [ Parameters : * **chat_id** ( ` int ` or ` str ` ) – Unique identifier for the target chat or username of the target channel (in the form...
TeleBot/TeleBot_2_18.txt
Parameters : **file_id** ( ` str ` ) – File identifier Returns : [ ` telebot.types.File ` ](../types.html#telebot.types.File "telebot.types.File") get_file_url ( _ file_id : str | None _ ) → str # Get a valid URL for downloading a file. Parameters : **file_id** ( ` str ` ...
TeleBot/Types_of_API_161_0.txt
_ class _ telebot.types. StickerSet ( _ name _ , _ title _ , _ sticker_type _ , _ stickers _ , _ thumbnail = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object represents a sticker set. Telegram Documentation: [ https://core.telegram.org/bots/api#stickerset ](https://core.teleg...
TeleBot/TeleBot_2_30.txt
` types.Message ` ](../types.html#telebot.types.Message "telebot.types.Message") ) – Instance of [ ` telebot.types.Message ` ](../types.html#telebot.types.Message "telebot.types.Message") * **text** ( ` str ` ) – Text of the message. * **kwargs** – Additional keyword arguments which are passed to ` telebot.T...
TeleBot/Types_of_API_146_0.txt
_ class _ telebot.types. PreCheckoutQuery ( _ id _ , _ from_user _ , _ currency _ , _ total_amount _ , _ invoice_payload _ , _ shipping_option_id = None _ , _ order_info = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object contains information about an incoming pre-checkout ...
TeleBot/Types_of_API_155_0.txt
_ class _ telebot.types. SentWebAppMessage ( _ inline_message_id = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` , ` Dictionaryable ` Describes an inline message sent by a Web App on behalf of a user. Telegram Documentation: [ https://core.telegram.org/bots/api#sentwebappmessage ](https...
TeleBot/Types_of_API_4_0.txt
_ class _ telebot.types. BotCommand ( _ command _ , _ description _ , _ ** kwargs _ ) ¶ Bases: ` JsonSerializable ` , ` JsonDeserializable ` , ` Dictionaryable ` This object represents a bot command. Telegram Documentation: [ https://core.telegram.org/bots/api#botcommand ](https://core.telegram.o...
TeleBot/Types_of_API_89_0.txt
_ class _ telebot.types. InlineQueryResultGif ( _ id _ , _ gif_url _ , _ thumbnail_url _ , _ gif_width = None _ , _ gif_height = None _ , _ title = None _ , _ caption = None _ , _ caption_entities = None _ , _ reply_markup = None _ , _ input_message_content = None _ , _ gif_duration = None...
TeleBot/TeleBot_methods_2_53.txt
ypes.html#telebot.types.BotCommandScope "telebot.types.BotCommandScope") ) – The scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault. * **language_code** ( ` str ` ) – A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for ...
TeleBot/Types_of_API_120_0.txt
_ class _ telebot.types. Location ( _ longitude _ , _ latitude _ , _ horizontal_accuracy = None _ , _ live_period = None _ , _ heading = None _ , _ proximity_alert_radius = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` , ` JsonSerializable ` , ` Dictionaryable ` This object r...
TeleBot/TeleBot_2_34.txt
#telebot.types.InlineKeyboardMarkup "telebot.types.InlineKeyboardMarkup") or [ ` telebot.types.ReplyKeyboardMarkup ` ](../types.html#telebot.types.ReplyKeyboardMarkup "telebot.types.ReplyKeyboardMarkup") or [ ` telebot.types.ReplyKeyboardRemove ` ](../types.html#telebot.types.ReplyKeyboardRemove "telebot.types.ReplyK...
TeleBot/TeleBot_2_57.txt
or username of the target channel (in the format @channelusername) * **sender_chat_id** ( ` int ` or ` str ` ) – Unique identifier of the target sender chat. Returns : True on success. Return type : ` bool ` unhide_general_forum_topic ( _ chat_id : int | str _ ) → bool # Use...
TeleBot/Types_of_API_185_0.txt
_ class _ telebot.types. WebhookInfo ( _ url _ , _ has_custom_certificate _ , _ pending_update_count _ , _ ip_address = None _ , _ last_error_date = None _ , _ last_error_message = None _ , _ last_synchronization_error_date = None _ , _ max_connections = None _ , _ allowed_updates = None _ , _ **...
TeleBot/Types_of_API_55_0.txt
_ class _ telebot.types. ForumTopic ( _ message_thread_id : int _ , _ name : str _ , _ icon_color : int _ , _ icon_custom_emoji_id : str | None = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object represents a forum topic. Telegram documentation: [ https://core.telegr...
TeleBot/Types_of_API_97_0.txt
_ class _ telebot.types. InputContactMessageContent ( _ phone_number _ , _ first_name _ , _ last_name = None _ , _ vcard = None _ ) ¶ Bases: ` Dictionaryable ` Represents the content of a contact message to be sent as the result of an inline query. Telegram Documentation: [ https://core.telegram...
TeleBot/Types_of_API_71_0.txt
_ class _ telebot.types. InlineKeyboardButton ( _ text _ , _ url = None _ , _ callback_data = None _ , _ web_app = None _ , _ switch_inline_query = None _ , _ switch_inline_query_current_chat = None _ , _ switch_inline_query_chosen_chat = None _ , _ callback_game = None _ , _ pay = None _ , _ ...
TeleBot/Types_of_API_68_0.txt
_ class _ telebot.types. GiveawayCreated ( _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object represents a service message about the creation of a scheduled giveaway. Currently holds no information.
TeleBot/TeleBot_methods_2_56.txt
ge before live_period expires. On success, if the message is not an inline message, the edited Message is returned, otherwise True is returned. Telegram documentation: [ Parameters : * **chat_id** ( ` int ` or ` str ` ) – Unique identifier for the target chat or username of the target channel (in the form...
TeleBot/TeleBot_13_0.txt
_ class _ telebot.custom_filters. TextFilter ( _ equals : str | None = None _ , _ contains : list | tuple | None = None _ , _ starts_with : str | list | tuple | None = None _ , _ ends_with : str | list | tuple | None = None _ , _ ignore_case : bool = False _ ) # Ba...
TeleBot/TeleBot_methods_2_37.txt
ReplyParameters") | None = None _ ) → [ Message ](../types.html#telebot.types.Message "telebot.types.Message") # Use this method to send general files. Parameters : * **chat_id** ( ` int ` or ` str ` ) – Unique identifier for the target chat or username of the target channel (in the format @...
TeleBot/TeleBot_2_49.txt
lently. Users will receive a notification with no sound. * **reply_to_message_id** ( ` int ` ) – deprecated. * **allow_sending_without_reply** ( ` bool ` ) – deprecated. * **timeout** ( ` int ` ) – Timeout in seconds for the request. * **thumbnail** ( ` str ` or [ ` telebot.types.InputFile ` ](../t...
TeleBot/Extensions_0_1.txt
* ` TeleBot.get_user_chat_boosts() ` * ` TeleBot.get_user_profile_photos() ` * ` TeleBot.get_webhook_info() ` * ` TeleBot.hide_general_forum_topic() ` * ` TeleBot.infinity_polling() ` * ` TeleBot.inline_handler() ` * ` TeleBot.kick_chat_member() ` * ` TeleB...
TeleBot/TeleBot_2_20.txt
l) – Request connection timeout * **allowed_updates** ( ` list ` , optional) – Array of string. List the types of updates you want your bot to receive. * **long_polling_timeout** ( ` int ` , optional) – Timeout in seconds for long polling. Returns : An Array of Update objects is returned. Return ty...
TeleBot/TeleBot_methods_2_50.txt
of the voice message in seconds * **reply_markup** ( [ ` telebot.types.InlineKeyboardMarkup ` ](../types.html#telebot.types.InlineKeyboardMarkup "telebot.types.InlineKeyboardMarkup") or [ ` telebot.types.ReplyKeyboardMarkup ` ](../types.html#telebot.types.ReplyKeyboardMarkup "telebot.types.ReplyKeyboardMarkup") ...
TeleBot/Types_of_API_165_0.txt
_ class _ telebot.types. TextQuote ( _ text : str _ , _ position : int _ , _ entities : List [ MessageEntity ] | None = None _ , _ is_manual : bool | None = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object contains information about the quoted part of a messag...
TeleBot/Types_of_API_152_1.txt
ow(“A”)#row(“B”, “C”)#to_json() outputs ‘{keyboard: [[“A”], [“B”, “C”]]}’ See [ https://core.telegram.org/bots/api#replykeyboardmarkup ](https://core.telegram.org/bots/api#replykeyboardmarkup) Parameters : **args** ( ` str ` ) – strings Returns : self, to allow function chaining. Return type : ...
TeleBot/Types_of_API_53_0.txt
_ class _ telebot.types. File ( _ file_id _ , _ file_unique_id _ , _ file_size = None _ , _ file_path = None _ , _ ** kwargs _ ) ¶ Bases: ` JsonDeserializable ` This object represents a file ready to be downloaded. The file can be downloaded via the link [ https://api.telegram.org/file ](https:...
TeleBot/TeleBot_2_33.txt
reply keyboard or to force a reply from the user. * **disable_notification** ( ` bool ` ) – Sends the message silently. Users will receive a notification with no sound. * **timeout** ( ` int ` ) – Timeout in seconds for the request. * **caption_entities** ( ` list ` of [ ` telebot.types.MessageEntity ` ...
TeleBot/TeleBot_methods_2_35.txt
ype : ` bool ` send_contact ( _ chat_id : int | str _ , _ phone_number : str _ , _ first_name : str _ , _ last_name : str | None = None _ , _ vcard : str | None = None _ , _ disable_notification : bool | None = None _ , _ reply_to_message_id : int | None = None _ , _ r...
TeleBot/Types_of_API_38_0.txt
_ class _ telebot.types. ChatMemberBanned ( _ user _ , _ status _ , _ custom_title = None _ , _ is_anonymous = None _ , _ can_be_edited = None _ , _ can_post_messages = None _ , _ can_edit_messages = None _ , _ can_delete_messages = None _ , _ can_restrict_members = None _ , _ can_promote_memb...
TeleBot/Types_of_API_151_0.txt
_ class _ telebot.types. ReactionTypeEmoji ( _ emoji : str _ , _ ** kwargs _ ) ¶ Bases: ` ReactionType ` This object represents an emoji reaction type. Telegram documentation: [ https://core.telegram.org/bots/api#reactiontypeemoji ](https://core.telegram.org/bots/api#reactiontypeemoji) Parameters ...