Show / Hide Table of Contents

Class Video

Represents a video file

Inheritance
System.Object
Video
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TelegramBotApi.Types
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class Video

Properties

| Improve this Doc View Source

Duration

Duration of the video in seconds as defined by sender

Declaration
[JsonProperty(PropertyName = "duration")]
public int Duration { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

FileId

Unique identifier for this file

Declaration
[JsonProperty(PropertyName = "file_id")]
public string FileId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FileSize

Optional. File size

Declaration
[JsonProperty(PropertyName = "file_size")]
public int FileSize { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Height

Video height as defined by sender

Declaration
[JsonProperty(PropertyName = "height")]
public int Height { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MimeType

Optional. Mime type of a file as defined by sender

Declaration
[JsonProperty(PropertyName = "mime_type")]
public string MimeType { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Thumb

Video thumbnail, if any

Declaration
[JsonProperty(PropertyName = "thumb")]
public PhotoSize Thumb { get; set; }
Property Value
Type Description
PhotoSize
| Improve this Doc View Source

Width

Video width as defined by sender

Declaration
[JsonProperty(PropertyName = "width")]
public int Width { get; set; }
Property Value
Type Description
System.Int32
  • Improve this Doc
  • View Source
Back to top Generated by DocFX