-
Duration of the video, in seconds; as defined by the sender
Declaration
Swift
public let duration: Int32 -
Video width; as defined by the sender
Declaration
Swift
public let width: Int32 -
Video height; as defined by the sender
Declaration
Swift
public let height: Int32 -
Original name of the file; as defined by the sender
Declaration
Swift
public let fileName: String -
MIME type of the file; as defined by the sender
Declaration
Swift
public let mimeType: String -
True, if stickers were added to the video
Declaration
Swift
public let hasStickers: Bool -
True, if the video should be tried to be streamed
Declaration
Swift
public let supportsStreaming: Bool -
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 -
init(duration:width:height:fileName:mimeType:hasStickers:supportsStreaming:minithumbnail:thumbnail:video:)Describes a video file
Declaration
Swift
public init(duration: Int32, width: Int32, height: Int32, fileName: String, mimeType: String, hasStickers: Bool, supportsStreaming: Bool, minithumbnail: Minithumbnail?, thumbnail: PhotoSize?, video: File)Parameters
durationDuration of the video, in seconds; as defined by the sender
widthVideo width; as defined by the sender
heightVideo height; as defined by the sender
fileNameOriginal name of the file; as defined by the sender
mimeTypeMIME type of the file; as defined by the sender
hasStickersTrue, if stickers were added to the video
supportsStreamingTrue, if the video should be tried to be streamed
minithumbnailVideo minithumbnail; may be null
thumbnailVideo thumbnail; as defined by the sender; may be null
videoFile containing the video
View on GitHub
Install in Dash
Video Structure Reference