Telegex.edit_message_media
You're seeing just the function
edit_message_media
, go back to Telegex module for more information.
Specs
edit_message_media(Telegex.Model.InputMedia.t(), chat_id: integer() | String.t(), message_id: integer(), inline_message_id: String.t(), reply_markup: Telegex.Model.InlineKeyboardMarkup.t() ) :: {:ok, Telegex.Model.Message.t()} | {:error, Telegex.Model.errors()}
Use this method to edit animation, audio, document, photo, or video messages.
If a message is a part of a message album, then it can be edited only to a photo or a video.
Otherwise, message type can be changed arbitrarily. When inline message is edited, new file can't be uploaded.
Use previously uploaded file via its file_id or specify a URL.
On success, if the edited message was sent by the bot, the edited Telegex.Model.Message
is returned, otherwise True is returned.