final case class Animation(fileId: String, fileUniqueId: String, width: Int, height: Int, duration: Int, thumb: Option[PhotoSize], fileName: Option[String], mimeType: Option[String], fileSize: Option[Int]) extends Product with Serializable
Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).
- fileId
Unique identifier for this file
- fileUniqueId
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
- width
Video width as defined by sender
- height
Video height as defined by sender
- duration
Duration of the video in seconds as defined by sender
- thumb
Animation thumbnail as defined by s ender
- fileName
Original animation filename as defined by sender
- mimeType
Mime type of a file as defined by sender
- fileSize
File size
- Alphabetic
- By Inheritance
- Animation
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Animation(fileId: String, fileUniqueId: String, width: Int, height: Int, duration: Int, thumb: Option[PhotoSize], fileName: Option[String], mimeType: Option[String], fileSize: Option[Int])
- fileId
Unique identifier for this file
- fileUniqueId
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
- width
Video width as defined by sender
- height
Video height as defined by sender
- duration
Duration of the video in seconds as defined by sender
- thumb
Animation thumbnail as defined by s ender
- fileName
Original animation filename as defined by sender
- mimeType
Mime type of a file as defined by sender
- fileSize
File size
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val duration: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fileId: String
- val fileName: Option[String]
- val fileSize: Option[Int]
- val fileUniqueId: String
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val height: Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val mimeType: Option[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thumb: Option[PhotoSize]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val width: Int