Telegex.copy_message

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

copy_message(chat_id, from_chat_id, message_id, optionals \\ [])

View Source

Specs

copy_message(integer() | String.t(), integer() | String.t(), integer(),
  caption: String.t(),
  parse_mode: String.t(),
  caption_entities: [Telegex.Model.MessageEntity.t()],
  disable_notification: boolean(),
  reply_to_message_id: integer(),
  allow_sending_without_reply: boolean(),
  reply_markup:
    Telegex.Model.InlineKeyboardMarkup.t()
    | Telegex.Model.ReplyKeyboardMarkup.t()
    | Telegex.Model.ReplyKeyboardRemove.t()
    | Telegex.Model.ForceReply.t()
) :: {:ok, Telegex.Model.MessageId.t()} | {:error, Telegex.Model.errors()}

Use this method to copy messages of any kind. Service messages and invoice messages can't be copied. The method is analogous to the method forwardMessage, but the copied message doesn't have a link to the original message. Returns the MessageId of the sent message on success.