Repository navigation
v0.2.0-alpha.2
Pre-release
Pre-release
·
1 commit
to main
since this release
A photo, an animation or a document can be sent to one member of a group
and changed in place while only they see it.
Added
- Ephemeral media.
CaptionOptionsgainedEphemeral, anEphemeral
with the receiver, the button press that authorizes the send and
ReplaceCallbackQueryMessage, andReplyToEphemeral, the incoming
ephemeral message being answered.SendPhoto,SendAnimation,
SendVideo,SendAudioandSendDocumenttake them, uploads included. A
bot that is not an admin of the chat needs the press or the ephemeral
message, within 15 seconds; an admin needs neither. EditEphemeralMessageMedia,EditEphemeralMessageCaptionand
EditEphemeralMessageReplyMarkup. The media edit uploads a new file as
EditMessageMediadoes. Telegram answers these with true, not a message,
so the file_id of an upload is not reported. "Message is not modified" is
success, as for the other edits.- The three edits are in
probeSafe: on an empty body Telegram's server
asks for the media or the receiver before it does anything, so Preflight
can require them.