Since this class has a large number of methods and attributes, below you can find a quick overview.
Sending Messages
Used for sending animations |
|
Used for sending audio files |
|
Used for sending chat actions |
|
Used for sending contacts |
|
Used for sending dice messages |
|
Used for sending documents |
|
Used for sending a game |
|
Used for sending an invoice |
|
Used for sending location |
|
Used for sending media grouped together |
|
Used for sending text messages |
|
Used for sending photos |
|
Used for sending polls |
|
Used for sending stickers |
|
Used for sending venue locations. |
|
Used for sending videos |
|
Used for sending video notes |
|
Used for sending voice messages |
|
Used for copying the contents of an arbitrary message |
|
Used for forwarding messages |
Updating Messages
Used for answering the callback query |
|
Used for answering the inline query |
|
Used for answering a pre checkout query |
|
Used for answering a shipping query |
|
Used for answering a web app query |
|
Used for editing captions |
|
Used for editing the media on messages |
|
Used for editing the location in live location messages |
|
Used for editing the reply markup on messages |
|
Used for editing text messages |
|
Used for stopping the running poll |
|
Used for deleting messages. |
Chat Moderation and information
Used for banning a member from the chat |
|
Used for unbanning a member from the chat |
|
Used for banning a channel in a channel or supergroup |
|
Used for unbanning a channel in a channel or supergroup |
|
Used for restricting a chat member |
|
Used for promoting a chat member |
|
Used for assigning a custom admin title to an admin |
|
Used for setting the permissions of a chat |
|
Used for creating a new primary invite link for a chat |
|
Used for creating an additional invite link for a chat |
|
Used for editing a non-primary invite link |
|
Used for revoking an invite link created by the bot |
|
Used for approving a chat join request |
|
Used for declining a chat join request |
|
Used for setting a photo to a chat |
|
Used for deleting a chat photo |
|
Used for setting a chat title |
|
Used for setting the description of a chat |
|
Used for pinning a message |
|
Used for unpinning a message |
|
Used for unpinning all pinned chat messages |
|
Used for obtaining user’s profile pictures |
|
Used for getting information about a chat |
|
Used for getting the list of admins in a chat |
|
Used for getting the number of members in a chat |
|
Used for getting a member of a chat |
|
Used for leaving a chat |
Bot settings
Used for setting the list of commands |
|
Used for deleting the list of commands |
|
Used for obtaining the list of commands |
|
Used for obtaining the default administrator rights for the bot |
|
Used for setting the default administrator rights for the bot |
|
Used for obtaining the menu button of a private chat or the default menu button |
|
Used for setting the menu button of a private chat or the default menu button |
|
Used for setting the description of the bot |
|
Used for obtaining the description of the bot |
|
Used for setting the short description of the bot |
|
Used for obtaining the short description of the bot |
|
Used for setting the name of the bot |
|
Used for obtaining the name of the bot |
Stickerset management
Used for adding a sticker to a set |
|
Used for deleting a sticker from a set |
|
Used for creating a new sticker set |
|
Used for deleting a sticker set made by a bot |
|
Used for setting a sticker set of a chat |
|
Used for deleting the set sticker set of a chat |
|
Used for moving a sticker’s position in the set |
|
Used for setting the title of a sticker set |
|
Used for setting the emoji list of a sticker |
|
Used for setting the keywords of a sticker |
|
Used for setting the mask position of a mask sticker |
|
Used for setting the thumbnail of a sticker set |
|
Used for setting the thumbnail of a custom emoji sticker set |
|
Used for getting a sticker set |
|
Used for uploading a sticker file |
|
Used for getting custom emoji files based on their IDs |
Games
Used for getting the game high scores |
|
Used for setting the game score |
Getting updates
Used for getting updates using long polling |
|
Used for getting current webhook status |
|
Used for setting a webhook to receive updates |
|
Used for removing webhook integration |
Forum topic management
Used for closing a forum topic |
|
Used for closing the general forum topic |
|
Used to create a topic |
|
Used for deleting a forum topic |
|
Used to edit a topic |
|
Used to edit the general topic |
|
Used to get custom emojis to use as topic icons |
|
Used to hide the general topic |
|
Used to unhide the general topic |
|
Used to reopen a topic |
|
Used to reopen the general topic |
|
Used to unpin all messages in a forum topic |
|
Used to unpin all messages in the general forum topic |
Miscellaneous
Used to generate an HTTP link for an invoice |
|
Used for closing server instance when switching to another local server |
|
Used for logging out from cloud Bot API server |
|
Used for getting basic info about a file |
|
Used for getting basic information about the bot |
Properties
Telegram Bot API file URL |
|
Telegram Bot API service URL |
|
The user instance of the bot as returned by |
|
Whether the bot can join groups |
|
Whether the bot can read all incoming group messages |
|
The user id of the bot |
|
The username of the bot, with leading |
|
The first name of the bot |
|
The last name of the bot |
|
Whether the bot is running in local mode |
|
The username of the bot, without leading |
|
The t.me link of the bot |
|
Deserialized private key for decryption of telegram passport data |
|
Whether the bot supports inline queries |
|
Bot’s unique authentication token |