InputMediaAnimation
Properties
fileName?: string
The file name to assign if applicable.
mimeType?: string
The mime type to assign if applicable.
chunkSize?: number
Size of each upload chunk in bytes.
signal?: AbortSignal
Upload abort signal.
The caption of the media.
The entities of media’s caption.
Override the parse mode used for the media’s caption.
DISCRIMINATOR
The animation.
A thumbnail to assign. Cannot be a URL.
duration?: number
The duration of the animation in seconds.
width?: number
The width of the animation file.
height?: number
The height of the animation file.
hasSpoiler?: boolean
Whether to mark the media as a spoiler.