VideoNote
public struct VideoNote : Codable, Equatable, FunctionResult
Describes a video note. The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format
-
Duration of the video, in seconds; as defined by the sender
Declaration
Swift
public let duration: Int32
-
Video width and height; as defined by the sender
Declaration
Swift
public let length: Int32
-
Video minithumbnail; may be null
Declaration
Swift
public let minithumbnail: Minithumbnail?
-
Video thumbnail; as defined by the sender; may be null
Declaration
Swift
public let thumbnail: PhotoSize?
-
File containing the video
Declaration
Swift
public let video: File
-
Describes a video note. The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format
Declaration
Swift
public init(duration: Int32, length: Int32, minithumbnail: Minithumbnail?, thumbnail: PhotoSize?, video: File)
Parameters
duration
Duration of the video, in seconds; as defined by the sender
length
Video width and height; as defined by the sender
minithumbnail
Video minithumbnail; may be null
thumbnail
Video thumbnail; as defined by the sender; may be null
video
File containing the video