mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-08-17 14:46:46 +00:00
Add Bot API 10.2 Ephemeral Messages support
New ephemeral messaging surface: EphemeralMessageId, Message.receiverUser/ ephemeralMessageId (PossiblyEphemeralMessage on group message impls), BotCommand.isEphemeral, receiverUserId/callbackQueryId parameters across the 13 covered send methods (core requests, per-type api extensions and the Sends/Replies/RepliesWithChatsAndMessages aggregators), editEphemeralMessageText/ Media/Caption/ReplyMarkup and deleteEphemeralMessage, plus replyToEphemeral helpers and smart-branch ephemeral replies. BREAKING: ReplyParameters.messageId and chatIdentifier are now nullable and the WithMessageId supertype was dropped so ephemeral_message_id-only replies can be expressed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in: