TelegramBot::Bot
Constants
Constructors
Instance methods
Adds a sticker to an existing sticker set.
Sends an answer to a callback query.
Sends an answer to a guest query.
Sends answers to an inline query.
Sends an answer to a pre-checkout query.
See: https://core.telegram.org/bots/api#answerprecheckoutquery
Sends an answer to a shipping query.
Sends an answer to a Web App query.
Approves a chat join request.
See: https://core.telegram.org/bots/api#approvechatjoinrequest
Bans a user from a chat.
Closes a forum topic.
Closes the general forum topic.
See: https://core.telegram.org/bots/api#closegeneralforumtopic
Copies a message without a link to the original message.
Copies multiple messages without links to the original messages.
Creates an additional invite link for a chat.
See: https://core.telegram.org/bots/api#createchatinvitelink
Creates a subscription invite link for a channel chat.
See: https://core.telegram.org/bots/api#createchatsubscriptioninvitelink
Creates a forum topic.
Creates a new sticker set for a user.
Declines a chat join request.
See: https://core.telegram.org/bots/api#declinechatjoinrequest
Deletes all reactions from a message.
See: https://core.telegram.org/bots/api#deleteallmessagereactions
Deletes messages on behalf of a business account.
See: https://core.telegram.org/bots/api#deletebusinessmessages
Deletes a chat photo.
Deletes the group sticker set from a supergroup.
See: https://core.telegram.org/bots/api#deletechatstickerset
Deletes a forum topic.
Deletes a message.
Deletes one reaction from a message.
See: https://core.telegram.org/bots/api#deletemessagereaction
Deletes the bot's command list.
Deletes a sticker from a sticker set.
See: https://core.telegram.org/bots/api#deletestickerfromset
Removes webhook integration.
Edits a non-primary invite link for a chat.
Edits a subscription invite link for a channel chat.
See: https://core.telegram.org/bots/api#editchatsubscriptioninvitelink
Edits a forum topic.
Edits the general forum topic.
See: https://core.telegram.org/bots/api#editgeneralforumtopic
Edits captions of messages.
Edits live location messages.
See: https://core.telegram.org/bots/api#editmessagelivelocation
Edits only the reply markup of messages.
See: https://core.telegram.org/bots/api#editmessagereplymarkup
Edits text and game messages.
Edits a user's Telegram Star subscription.
See: https://core.telegram.org/bots/api#edituserstarsubscription
Exports the primary invite link for a chat.
See: https://core.telegram.org/bots/api#exportchatinvitelink
Forwards a message.
Forwards multiple messages.
Returns information about a business connection.
See: https://core.telegram.org/bots/api#getbusinessconnection
Returns information about a chat.
Returns the list of chat administrators.
See: https://core.telegram.org/bots/api#getchatadministrators
Returns information about a chat member.
Returns the number of members in a chat.
Returns file metadata and a download path.
Returns custom emoji stickers available as forum topic icons.
See: https://core.telegram.org/bots/api#getforumtopiciconstickers
Returns high scores for a game.
Returns access settings for a managed bot.
See: https://core.telegram.org/bots/api#getmanagedbotaccesssettings
Returns a token for a managed bot.
Returns the bot's command list.
Returns the bot's default administrator rights.
See: https://core.telegram.org/bots/api#getmydefaultadministratorrights
Returns the bot's description.
Returns the bot's name.
Returns the bot's short description.
See: https://core.telegram.org/bots/api#getmyshortdescription
Returns the bot's Telegram Star transactions.
Returns profile photos for a user.
See: https://core.telegram.org/bots/api#getuserprofilephotos
handle message reaction count updates
handle business connection updates
handle deleted business messages
handle bot chat member status updates
Hides the general forum topic.
See: https://core.telegram.org/bots/api#hidegeneralforumtopic
Leaves a chat.
Pins a message in a chat.
Promotes or demotes a user in a supergroup or channel.
Marks a business message as read.
Refunds a Telegram Star payment.
Removes a business account profile photo.
See: https://core.telegram.org/bots/api#removebusinessaccountprofilephoto
Reopens a forum topic.
Reopens the general forum topic.
See: https://core.telegram.org/bots/api#reopengeneralforumtopic
Replaces the token for a managed bot.
See: https://core.telegram.org/bots/api#replacemanagedbottoken
Replies to a message with text using sendMessage.
Restricts a user in a supergroup.
Revokes an invite link created by the bot.
See: https://core.telegram.org/bots/api#revokechatinvitelink
Stores an inline message for later use.
See: https://core.telegram.org/bots/api#savepreparedinlinemessage
Stores a keyboard button for later use.
See: https://core.telegram.org/bots/api#savepreparedkeyboardbutton
Sends animation files.
Sends audio files.
Sends a chat action indicator.
Sends phone contacts.
Sends an animated dice message.
Sends general files.
Sends a game.
Sends a gift to a user or chat.
Sends invoices.
Sends point locations.
Sends a group of photos, videos, documents, or audios.
Sends text messages.
Sends a message draft.
Sends paid media messages.
Sends photos.
Sends native polls.
Sends stickers.
Sends venue information.
Sends video files.
Sends video notes.
Sends voice messages.
Sets the bio of a business account.
See: https://core.telegram.org/bots/api#setbusinessaccountbio
Sets gift settings for a business account.
See: https://core.telegram.org/bots/api#setbusinessaccountgiftsettings
Sets the name of a business account.
See: https://core.telegram.org/bots/api#setbusinessaccountname
Sets a business account profile photo.
See: https://core.telegram.org/bots/api#setbusinessaccountprofilephoto
Sets the username of a business account.
See: https://core.telegram.org/bots/api#setbusinessaccountusername
Sets a chat description.
Sets a chat photo.
Sets a group sticker set for a supergroup.
Sets a chat title.
Sets a user's score in a game.
Sets access settings for a managed bot.
See: https://core.telegram.org/bots/api#setmanagedbotaccesssettings
Sets reactions on a message.
Sets the bot's command list.
Sets the bot's default administrator rights.
See: https://core.telegram.org/bots/api#setmydefaultadministratorrights
Sets the bot's description.
Sets the bot's name.
Sets the bot's short description.
See: https://core.telegram.org/bots/api#setmyshortdescription
Moves a sticker in a sticker set.
See: https://core.telegram.org/bots/api#setstickerpositioninset
Sets a webhook for receiving incoming updates.
Stops updating a live location message.
See: https://core.telegram.org/bots/api#stopmessagelivelocation
Unbans a previously banned user in a chat.
Unhides the general forum topic.
See: https://core.telegram.org/bots/api#unhidegeneralforumtopic
Unpins all messages in a forum topic.
See: https://core.telegram.org/bots/api#unpinallforumtopicmessages
Unpins all messages in the general forum topic.
See: https://core.telegram.org/bots/api#unpinallgeneralforumtopicmessages
Unpins a message in a chat.
Uploads a sticker file for later use.