Show / Hide Table of Contents

Class InputMediaVideo

Represents a video to be sent

Inheritance
System.Object
InputMedia
InputMediaVideo
Inherited Members
InputMedia.Media
InputMedia.Caption
InputMedia.ParseMode
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.Upload
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class InputMediaVideo : InputMedia

Properties

| Improve this Doc View Source

Duration

Optional. Video duration

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

Height

Optional. Video height

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

SupportsStreaming

Optional. Pass true, if the video is suitable for streaming

Declaration
[JsonProperty(PropertyName = "supports_streaming")]
public bool SupportsStreaming { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Thumb

Optional. Video thumbnail

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

Type

This is a video.

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

Width

Optional. Video width

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