Telegex.send_animation

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

send_animation(chat_id, animation, thumb, optionals \\ [])

View Source

Specs

send_animation(
  integer() | String.t(),
  Telegex.Model.InputFile.t() | String.t(),
  Telegex.Model.InputFile.t() | String.t(),
  duration: integer(),
  width: integer(),
  height: 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.Message.t()} | {:error, Telegex.Model.errors()}

Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent Telegex.Model.Message is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future.