# July 14, 2026

Source: https://core.telegram.org/bots/api#july-14-2026

[Documentation index](../llms.txt)

**Bot API 10.2**

**Rich Messages**

- Added the class [InputRichMessageMedia](inputrichmessagemedia.md) and the field *media* to the class [InputRichMessage](inputrichmessage.md), allowing bots to explicitly specify media used in *markdown* or *html* formatting when sending a rich message.
- Added the class [InputMediaVoiceNote](inputmediavoicenote.md), representing a voice message to be sent.
- Added the class [InputRichBlockListItem](inputrichblocklistitem.md), which represents an item in a list to be sent.
- Added the classes [InputRichBlockParagraph](inputrichblockparagraph.md), [InputRichBlockSectionHeading](inputrichblocksectionheading.md), [InputRichBlockPreformatted](inputrichblockpreformatted.md), [InputRichBlockFooter](inputrichblockfooter.md), [InputRichBlockDivider](inputrichblockdivider.md), [InputRichBlockMathematicalExpression](inputrichblockmathematicalexpression.md), [InputRichBlockAnchor](inputrichblockanchor.md), [InputRichBlockList](inputrichblocklist.md), [InputRichBlockBlockQuotation](inputrichblockblockquotation.md), [InputRichBlockPullQuotation](inputrichblockpullquotation.md), [InputRichBlockCollage](inputrichblockcollage.md), [InputRichBlockSlideshow](inputrichblockslideshow.md), [InputRichBlockTable](inputrichblocktable.md), [InputRichBlockDetails](inputrichblockdetails.md), [InputRichBlockMap](inputrichblockmap.md), [InputRichBlockAnimation](inputrichblockanimation.md), [InputRichBlockAudio](inputrichblockaudio.md), [InputRichBlockPhoto](inputrichblockphoto.md), [InputRichBlockVideo](inputrichblockvideo.md), [InputRichBlockVoiceNote](inputrichblockvoicenote.md) and [InputRichBlockThinking](inputrichblockthinking.md), which represent different types of blocks available to format an outgoing rich message.
- Added the field *blocks* to the class [InputRichMessage](inputrichmessage.md), allowing bots to specify rich message formatting via block entities.

**Ephemeral Messages**

- Introduced support for [Ephemeral Messages](../external/bots/features.md#ephemeral-messages), allowing bots to send group messages and receive commands that are visible only to a specific user and the bot.
- Added the field *is\_ephemeral* to the class [BotCommand](botcommand.md).
- Added the field *receiver\_user* to the class [Message](message.md).
- Added the field *ephemeral\_message\_id* to the class [Message](message.md).
- Added the parameters *receiver\_user\_id* and *callback\_query\_id* to the methods [sendMessage](sendmessage.md), [sendAnimation](sendanimation.md), [sendAudio](sendaudio.md), [sendDocument](senddocument.md), [sendLivePhoto](sendlivephoto.md), [sendPhoto](sendphoto.md), [sendSticker](sendsticker.md), [sendVideo](sendvideo.md), [sendVideoNote](sendvideonote.md), [sendVoice](sendvoice.md), [sendContact](sendcontact.md), [sendLocation](sendlocation.md), [sendVenue](sendvenue.md).
- Added the field *ephemeral\_message\_id* to the class [ReplyParameters](replyparameters.md), allowing bots to reply to ephemeral messages.
- Marked the field *message\_id* in the class [ReplyParameters](replyparameters.md) as optional if the field *ephemeral\_message\_id* is present.
- Added the methods [editEphemeralMessageText](editephemeralmessagetext.md), [editEphemeralMessageMedia](editephemeralmessagemedia.md), [editEphemeralMessageCaption](editephemeralmessagecaption.md), and [editEphemeralMessageReplyMarkup](editephemeralmessagereplymarkup.md) allowing bots to edit ephemeral messages.
- Added the method [deleteEphemeralMessage](deleteephemeralmessage.md) allowing bots to delete ephemeral messages.

**Communities**

- Introduced initial support for **Communities** - several supergroups, channels, and bots linked together around a shared topic or audience.
- Added the class [Community](community.md) which represents a community.
- Added the class [CommunityChatAdded](communitychatadded.md) and the field *community\_chat\_added* to the class [Message](message.md).
- Added the class [CommunityChatRemoved](communitychatremoved.md) and the field *community\_chat\_removed* to the class [Message](message.md).
- Added the field *community* to the class [ChatFullInfo](chatfullinfo.md).

**General**

- Added updates about changes to a user payment subscription, represented by the class [BotSubscriptionUpdated](botsubscriptionupdated.md) and the field *subscription* in the class [Update](update.md).
- Hardened the security of Mini Apps by disallowing the usage of Mini App methods from origins different from the original Mini App domain. The protection will be automatically enabled for all Mini Apps on July 20, 2026. You can opt-out from the protection through the [@BotFather](https://t.me/BotFather) Mini App. If you do so, you acknowledge that it is the responsibility of the bot to ensure that the Mini App has no links to untrusted sites.

**[See earlier changes »](../external/bots/api-changelog.md)**
