Telegex.edit_message_caption

You're seeing just the function edit_message_caption, go back to Telegex module for more information.
Link to this function

edit_message_caption(optionals \\ [])

View Source

Specs

edit_message_caption(
  chat_id: integer() | String.t(),
  message_id: integer(),
  inline_message_id: String.t(),
  caption: String.t(),
  parse_mode: String.t(),
  caption_entities: [Telegex.Model.MessageEntity.t()],
  reply_markup: Telegex.Model.InlineKeyboardMarkup.t()
) :: {:ok, Telegex.Model.Message.t()} | {:error, Telegex.Model.errors()}

Use this method to edit captions of messages. On success, if edited message is sent by the bot, the edited Telegex.Model.Message is returned, otherwise True is returned.