AnimationFile

@Serializable
data class AnimationFile(val fileId: FileId, val fileUniqueId: TgFileUniqueId, val width: Int, val height: Int, val duration: Long? = null, val thumbnail: PhotoSize? = null, val fileName: String? = null, val mimeType: MimeType? = null, val fileSize: Long? = null) : TelegramMediaFile, MimedMediaFile, ThumbedMediaFile, PlayableMediaFile, CustomNamedMediaFile, SizedMediaFile, MediaContentVariant

Constructors

Link copied to clipboard
constructor(fileId: FileId, fileUniqueId: TgFileUniqueId, width: Int, height: Int, duration: Long? = null, thumbnail: PhotoSize? = null, fileName: String? = null, mimeType: MimeType? = null, fileSize: Long? = null)

Properties

Link copied to clipboard
open override val duration: Long? = null
Link copied to clipboard
@SerialName(value = "file_id")
open override val fileId: FileId
Link copied to clipboard
@SerialName(value = "file_name")
open override val fileName: String? = null
Link copied to clipboard
@SerialName(value = "file_size")
open override val fileSize: Long? = null
Link copied to clipboard
@SerialName(value = "file_unique_id")
open override val fileUniqueId: TgFileUniqueId
Link copied to clipboard
open override val height: Int
Link copied to clipboard
@SerialName(value = "mime_type")
open override val mimeType: MimeType? = null
Link copied to clipboard
open override val thumbnail: PhotoSize? = null
Link copied to clipboard
open override val width: Int

Functions

Link copied to clipboard