You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added the method setUserEmojiStatus. The user must allow the bot to manage their emoji status.
Added the method requestEmojiStatusAccess to the class WebApp for obtaining permission to later update a user's emoji status via the Bot API method setUserEmojiStatus.
Added the class AffiliateInfo and the field affiliate to the class TransactionPartnerUser, allowing bots to identify the relevant affiliate in transactions with an affiliate commission.
Added the method setBusinessAccountGiftSettings, allowing bots to change the privacy settings pertaining to incoming gifts in a managed business account.
Added the methods setMyProfilePhoto and removeMyProfilePhoto, allowing bots to manage their profile picture. --> rework to be compatible with BOT API types
Added the method transferBusinessAccountStars, allowing bots to transfer Telegram Stars from the balance of a managed business account to their own balance for withdrawal.
Added the class UniqueGift describing a gift that was upgraded to a unique one.
Added the class AcceptedGiftTypes describing the types of gifts that are accepted by a user or a chat.
Replaced the field can_send_gift with the field accepted_gift_types of the type AcceptedGiftTypes in the class ChatFullInfo.
Added the class GiftInfo and the field gift to the class Message, describing a service message about a regular gift that was sent or received.
Added the class UniqueGiftInfo and the field unique_gift to the class Message, describing a service message about a unique gift that was sent or received.
Added the method giftPremiumSubscription, allowing bots to gift a user a Telegram Premium subscription paid in Telegram Stars.
Added the field premium_subscription_duration to the class TransactionPartnerUser for transactions involving a Telegram Premium subscription purchased by the bot.
Added the field transaction_type to the class TransactionPartnerUser, simplifying the differentiation and processing of all transaction types.
Replaced the field last_resale_star_count with the fields last_resale_currency and last_resale_amount in the class UniqueGiftInfo.
Replaced the parameter exclude_limited with the parameters exclude_limited_upgradable and exclude_limited_non_upgradable in the method getBusinessAccountGifts.
Added the value “gifted_upgrade” as a possible value of UniqueGiftInfo.origin for messages about the upgrade of a gift that was purchased after it was sent.
Added the value “offer” as a possible value of UniqueGiftInfo.origin for messages about the purchase of a gift through a purchase offer.
Added the field gift_upgrade_sent to the class Message.
Added the method approveSuggestedPost, allowing bots to approve incoming suggested posts.
Added the method declineSuggestedPost, allowing bots to decline incoming suggested posts.
Added the field is_paid_post to the class Message, which can be used to identify paid posts. Such posts must not be deleted for 24 hours to receive the payment.
Added the class SuggestedPostPrice, describing the price of a suggested post.
Added the class SuggestedPostInfo and the field suggested_post_info to the class Message, describing a suggested post.
Added the class SuggestedPostApproved and the field suggested_post_approved to the class Message, describing a service message about the approval of a suggested post.
Added the class SuggestedPostApprovalFailed and the field suggested_post_approval_failed to the class Message, describing a service message about the failed approval of a suggested post.
Added the class SuggestedPostDeclined and the field suggested_post_declined to the class Message, describing a service message about the rejection of a suggested post.
Added the class SuggestedPostPaid and the field suggested_post_paid to the class Message, describing a service message about a successful payment for a suggested post.
Added the class SuggestedPostRefunded and the field suggested_post_refunded to the class Message, describing a service message about a payment refund for a suggested post.
Added the method repostStory, allowing bots to repost stories across different business accounts they manage.
Added the ability to send messages to other bots via username if both bots enabled bot-to-bot communication.
Added the ability to reply to other bots from a business bot if the business bot enabled bot-to-bot communication.
Added support for [Rich Messages](https://core.telegram.org/bots/features#rich-messages), allowing bots to send highly structured text and stream AI-generated replies with seamless rich formatting.
Added the classes [RichTextBold](https://core.telegram.org/bots/api#richtextbold), [RichTextItalic](https://core.telegram.org/bots/api#richtextitalic), [RichTextUnderline](https://core.telegram.org/bots/api#richtextunderline), [RichTextStrikethrough](https://core.telegram.org/bots/api#richtextstrikethrough), [RichTextSpoiler](https://core.telegram.org/bots/api#richtextspoiler), [RichTextDateTime](https://core.telegram.org/bots/api#richtextdatetime), [RichTextTextMention](https://core.telegram.org/bots/api#richtexttextmention), [RichTextSubscript](https://core.telegram.org/bots/api#richtextsubscript), [RichTextSuperscript](https://core.telegram.org/bots/api#richtextsuperscript), [RichTextMarked](https://core.telegram.org/bots/api#richtextmarked), [RichTextCode](https://core.telegram.org/bots/api#richtextcode), [RichTextCustomEmoji](https://core.telegram.org/bots/api#richtextcustomemoji), [RichTextMathematicalExpression](https://core.telegram.org/bots/api#richtextmathematicalexpression), [RichTextUrl](https://core.telegram.org/bots/api#richtexturl), [RichTextEmailAddress](https://core.telegram.org/bots/api#richtextemailaddress), [RichTextPhoneNumber](https://core.telegram.org/bots/api#richtextphonenumber), [RichTextBankCardNumber](https://core.telegram.org/bots/api#richtextbankcardnumber), [RichTextMention](https://core.telegram.org/bots/api#richtextmention), [RichTextHashtag](https://core.telegram.org/bots/api#richtexthashtag), [RichTextCashtag](https://core.telegram.org/bots/api#richtextcashtag), [RichTextBotCommand](https://core.telegram.org/bots/api#richtextbotcommand), [RichTextAnchor](https://core.telegram.org/bots/api#richtextanchor), [RichTextAnchorLink](https://core.telegram.org/bots/api#richtextanchorlink), [RichTextReference](https://core.telegram.org/bots/api#richtextreference) and [RichTextReferenceLink](https://core.telegram.org/bots/api#richtextreferencelink), which represent different types of rich formatted text.
Added the class [RichText](https://core.telegram.org/bots/api#richtext), which represents rich formatted text.
Added the class [RichBlockCaption](https://core.telegram.org/bots/api#richblockcaption), which represents the caption of a rich formatted text.
Added the class [RichBlockTableCell](https://core.telegram.org/bots/api#richblocktablecell), which represents a cell in a table.
Added the class [RichBlockListItem](https://core.telegram.org/bots/api#richblocklistitem), which represents an item in a list.
Added the classes [RichBlockParagraph](https://core.telegram.org/bots/api#richblockparagraph), [RichBlockSectionHeading](https://core.telegram.org/bots/api#richblocksectionheading), [RichBlockPreformatted](https://core.telegram.org/bots/api#richblockpreformatted), [RichBlockFooter](https://core.telegram.org/bots/api#richblockfooter), [RichBlockDivider](https://core.telegram.org/bots/api#richblockdivider), [RichBlockMathematicalExpression](https://core.telegram.org/bots/api#richblockmathematicalexpression), [RichBlockAnchor](https://core.telegram.org/bots/api#richblockanchor), [RichBlockList](https://core.telegram.org/bots/api#richblocklist), [RichBlockBlockQuotation](https://core.telegram.org/bots/api#richblockblockquotation), [RichBlockPullQuotation](https://core.telegram.org/bots/api#richblockpullquotation), [RichBlockCollage](https://core.telegram.org/bots/api#richblockcollage), [RichBlockSlideshow](https://core.telegram.org/bots/api#richblockslideshow), [RichBlockTable](https://core.telegram.org/bots/api#richblocktable), [RichBlockDetails](https://core.telegram.org/bots/api#richblockdetails), [RichBlockMap](https://core.telegram.org/bots/api#richblockmap), [RichBlockAnimation](https://core.telegram.org/bots/api#richblockanimation), [RichBlockAudio](https://core.telegram.org/bots/api#richblockaudio), [RichBlockPhoto](https://core.telegram.org/bots/api#richblockphoto), [RichBlockVideo](https://core.telegram.org/bots/api#richblockvideo), [RichBlockVoiceNote](https://core.telegram.org/bots/api#richblockvoicenote) and [RichBlockThinking](https://core.telegram.org/bots/api#richblockthinking), which represent different types of blocks in a rich formatted message.
Added the class [RichBlock](https://core.telegram.org/bots/api#richblock), which represents a block in a rich formatted message.
Added the class [RichMessage](https://core.telegram.org/bots/api#richmessage), which represents a rich formatted message.
Added the field rich_message to the class [Message](https://core.telegram.org/bots/api#message).
Added the class [InputRichMessage](https://core.telegram.org/bots/api#inputrichmessage), describing a rich message to send.
Added the class [InputRichMessageContent](https://core.telegram.org/bots/api#inputrichmessagecontent) and allowed it to be used as [InputMessageContent](https://core.telegram.org/bots/api#inputmessagecontent) in results of inline, guest, and Web App queries.
Added the method [sendRichMessage](https://core.telegram.org/bots/api#sendrichmessage), allowing bots to send rich messages.
Added the method [sendRichMessageDraft](https://core.telegram.org/bots/api#sendrichmessagedraft), allowing bots to stream partial rich messages.
Added the parameter rich_message to the method [editMessageText](https://core.telegram.org/bots/api#editmessagetext), allowing bots to edit rich messages.
Join Request Queries
Added the field supports_join_request_queries to the class [User](https://core.telegram.org/bots/api#user).
Added the field guard_bot to the class [ChatFullInfo](https://core.telegram.org/bots/api#chatfullinfo).
Added the field query_id to the class [ChatJoinRequest](https://core.telegram.org/bots/api#chatjoinrequest).
Added the method [answerChatJoinRequestQuery](https://core.telegram.org/bots/api#answerchatjoinrequestquery).
Added the method [sendChatJoinRequestWebApp](https://core.telegram.org/bots/api#sendchatjoinrequestwebapp).
Polls
Added the class [Link](https://core.telegram.org/bots/api#link) and the field link to the class [PollMedia](https://core.telegram.org/bots/api#pollmedia).
Added the class [InputMediaLink](https://core.telegram.org/bots/api#inputmedialink) and allowed it to be used as [InputPollOptionMedia](https://core.telegram.org/bots/api#inputpolloptionmedia).
High Level
Filters
Reactions
f10f3c0
0551550
Split out the class ChatFullInfo from the class Chat and changed the return type of the method getChat to ChatFullInfo.
Added the parameter business_connection_id to the methods editMessageLiveLocation, stopMessageLiveLocation allowing the bot to edit business messages.
getStarsRevenueAdsAccountUrl
getStarsTransactionsByID
improved web app support with compact
improved login flow with FCM
Added the class TransactionPartnerTelegramAds, containing information about Telegram Star transactions involving the Telegram Ads Platform.
Added the field invoice_payload to the class TransactionPartnerUser, containing the bot-specified invoice payload.
Added the classes StarTransactions, StarTransaction, TransactionPartner and RevenueWithdrawalState, containing information about Telegram Star transactions involving the bot.
Added the method getStarTransactions that can be used to get the list of all Telegram Star transactions for the bot.
Added the field paid_media to the class TransactionPartnerUser for transactions involving paid media.
Added the method createChatSubscriptionInviteLink, allowing bots to create subscription invite links.
Added the method editChatSubscriptionInviteLink, allowing bots to edit the name of subscription invite links.
Split out the ChatMember class based on STATUS to be consistent with BOT API.
Added the ability to specify a payload in sendPaidMedia that
is received back by the bot in TransactionPartnerUser
and purchased_paid_media updates.
Added the field prize_star_count to the class ChatBoostSourceGiveaway.
Added the class TransactionPartnerTelegramApi for transactions related to paid broadcasted messages.
Added the parameter business_connection_id to the method createInvoiceLink to support the creation of invoice links on behalf of business accounts.
Added the method editUserStarSubscription.
Added the field subscription_period to the class TransactionPartnerUser.
Added the method setUserEmojiStatus. The user must allow the bot to manage their emoji status.
Added the method requestEmojiStatusAccess to the class WebApp for obtaining permission to later update a user's emoji status via the Bot API method setUserEmojiStatus.
Added the class PreparedInlineMessage and the method savePreparedInlineMessage, allowing bots to suggest users to send a specific message from a Mini App via the method shareMessage.
Added the field gift to the class TransactionPartnerUser.
Loading Screen Customization (maybe a new type BotInfo ?)
Privacy Settings
userFull
Added the field nanostar_amount to the class StarTransaction.
Added the class TransactionPartnerAffiliateProgram for transactions pertaining to incoming affiliate commissions.
Added the class AffiliateInfo and the field affiliate to the class TransactionPartnerUser, allowing bots to identify the relevant affiliate in transactions with an affiliate commission.
Added the methods verifyUser, verifyChat, removeUserVerification and removeChatVerification, allowing bots to manage verifications on behalf of an organization.
Added the class TransactionPartnerChat describing transactions with chats.
Added the method readBusinessMessage, allowing bots to mark incoming messages as read on behalf of a business account.
Added the method deleteBusinessMessages, allowing bots to delete messages on behalf of a business account.
Added the method setBusinessAccountName, allowing bots to change the first and last name of a managed business account.
Added the method setBusinessAccountUsername, allowing bots to change the username of a managed business account.
Added the method setBusinessAccountBio, allowing bots to change the bio of a managed business account.
Added the class InputProfilePhoto, describing a profile photo to be set.
Added the methods setBusinessAccountProfilePhoto and removeBusinessAccountProfilePhoto, allowing bots to change the profile photo of a managed business account.
Added the method setBusinessAccountGiftSettings, allowing bots to change the privacy settings pertaining to incoming gifts in a managed business account.
Added the methods setMyProfilePhoto and removeMyProfilePhoto, allowing bots to manage their profile picture. --> rework to be compatible with BOT API types
Added the method transferBusinessAccountStars, allowing bots to transfer Telegram Stars from the balance of a managed business account to their own balance for withdrawal.
Added the classes OwnedGiftRegular, OwnedGiftUnique, OwnedGifts and the method getBusinessAccountGifts, allowing bots to fetch the list of gifts owned by a managed business account.
Added the method convertGiftToStars, allowing bots to convert gifts received by a managed business account to Telegram Stars.
Added the method upgradeGift, allowing bots to upgrade regular gifts received by a managed business account to unique gifts.
Added the method transferGift, allowing bots to transfer unique gifts owned by a managed business account.
Added the classes UniqueGiftModel, UniqueGiftSymbol, UniqueGiftBackdropColors, and UniqueGiftBackdrop to describe the properties of a unique gift.
Added the class UniqueGift describing a gift that was upgraded to a unique one.
Added the class AcceptedGiftTypes describing the types of gifts that are accepted by a user or a chat.
Replaced the field can_send_gift with the field accepted_gift_types of the type AcceptedGiftTypes in the class ChatFullInfo.
Added the class GiftInfo and the field gift to the class Message, describing a service message about a regular gift that was sent or received.
Added the class UniqueGiftInfo and the field unique_gift to the class Message, describing a service message about a unique gift that was sent or received.
Added the method giftPremiumSubscription, allowing bots to gift a user a Telegram Premium subscription paid in Telegram Stars.
Added the field premium_subscription_duration to the class TransactionPartnerUser for transactions involving a Telegram Premium subscription purchased by the bot.
Added the field transaction_type to the class TransactionPartnerUser, simplifying the differentiation and processing of all transaction types.
Added the field next_transfer_date to the classes OwnedGiftUnique and UniqueGiftInfo.
Added the field last_resale_star_count to the class UniqueGiftInfo.
Added “resale” as the possible value of the field origin in the class UniqueGiftInfo.
Added the method getMyStarBalance, allowing bots to get their current balance of Telegram Stars.
Added the field publisher_chat to the classes Gift and UniqueGift which can be used to get information about the chat that published a gift.
Added the methods getUserGifts and getChatGifts.
Replaced the field last_resale_star_count with the fields last_resale_currency and last_resale_amount in the class UniqueGiftInfo.
Replaced the parameter exclude_limited with the parameters exclude_limited_upgradable and exclude_limited_non_upgradable in the method getBusinessAccountGifts.
Added the value “gifted_upgrade” as a possible value of UniqueGiftInfo.origin for messages about the upgrade of a gift that was purchased after it was sent.
Added the value “offer” as a possible value of UniqueGiftInfo.origin for messages about the purchase of a gift through a purchase offer.
Added the field gift_upgrade_sent to the class Message.
Added the field gift_id to the class UniqueGift.
Added the field is_from_blockchain to the class UniqueGift.
Added the parameter exclude_from_blockchain in the method getBusinessAccountGifts, to filter out gifts that were assigned from the TON blockchain.
Added the fields personal_total_count and personal_remaining_count to the class Gift.
Added the field is_premium to the classes Gift and UniqueGift.
Added the field is_upgrade_separate to the classes GiftInfo and OwnedGiftRegular.
Added the class UniqueGiftColors that describes the color scheme for a user's name, replies to messages and link previews based on a unique gift.
Added the field has_colors to the class Gift.
Added the field colors to the class UniqueGift.
Added the class GiftBackground and the field background to the class Gift.
Added the field unique_gift_variant_count to the class Gift.
Added the field unique_gift_number to the classes GiftInfo and OwnedGiftRegular.
Added the field gifts_from_channels to the class AcceptedGiftTypes.
Added the class SuggestedPostParameters and the parameter suggested_post_parameters to the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendPaidMedia, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendDice, sendInvoice, copyMessage, forwardMessage. This parameter can be used to send a suggested post to a direct messages chat topic.
Added the method approveSuggestedPost, allowing bots to approve incoming suggested posts.
Added the method declineSuggestedPost, allowing bots to decline incoming suggested posts.
Added the field is_paid_post to the class Message, which can be used to identify paid posts. Such posts must not be deleted for 24 hours to receive the payment.
Added the class SuggestedPostPrice, describing the price of a suggested post.
Added the class SuggestedPostInfo and the field suggested_post_info to the class Message, describing a suggested post.
Added the class SuggestedPostApproved and the field suggested_post_approved to the class Message, describing a service message about the approval of a suggested post.
Added the class SuggestedPostApprovalFailed and the field suggested_post_approval_failed to the class Message, describing a service message about the failed approval of a suggested post.
Added the class SuggestedPostDeclined and the field suggested_post_declined to the class Message, describing a service message about the rejection of a suggested post.
Added the class SuggestedPostPaid and the field suggested_post_paid to the class Message, describing a service message about a successful payment for a suggested post.
Added the class SuggestedPostRefunded and the field suggested_post_refunded to the class Message, describing a service message about a payment refund for a suggested post.
Added the method repostStory, allowing bots to repost stories across different business accounts they manage.
Added the class UserRating and the field rating to the class ChatFullInfo.
Added the field unique_gift_colors to the class ChatFullInfo.
Added the field rarity to the class UniqueGiftModel.
Added the field is_burned to the class UniqueGift.
Added the methods getManagedBotToken and replaceManagedBotToken.
Added the fields description and description_entities to the class Poll.
Added the classes InputMediaSticker, InputMediaLocation, and InputMediaVenue.
Added the class PollMedia, representing a media in a poll.
Added the field media to the class Poll, allowing bots to see media in polls.
Added the field explanation_media to the class Poll, allowing bots to see media in quiz explanations.
Added the field media to the class PollOption, allowing bots to see media in poll options.
Added the class InputPollMedia and the parameters media and explanation_media to the method sendPoll, allowing bots to add media to polls.
Added the class InputPollOptionMedia and the field media to the class InputPollOption, allowing bots to add media to poll options.
Added the class LivePhoto, which represents a photo with a short video.
Added the class InputMediaLivePhoto.
Added the field live_photo to the classes Message and ExternalReplyInfo.
Added the method sendLivePhoto, allowing bots to send live photos.
Added the class PaidMediaLivePhoto, which describes a paid media with a live photo.
Added the class InputPaidMediaLivePhoto, allowing bots to send live photos as paid media.
Allowed to use live photos in sendMediaGroup and editMessageMedia,
Added the ability to send messages to other bots via username if both bots enabled bot-to-bot communication.
Added the ability to reply to other bots from a business bot if the business bot enabled bot-to-bot communication.
Added the method getManagedBotAccessSettings.
Added the method setManagedBotAccessSettings.
Rich Messages
Join Request Queries
Polls