Class InputMediaVideo
Represents a video to be sent
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.Upload
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class InputMediaVideo : InputMedia
Properties
| Improve this Doc View SourceDuration
Optional. Video duration
Declaration
[JsonProperty(PropertyName = "duration")]
public int Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Height
Optional. Video height
Declaration
[JsonProperty(PropertyName = "height")]
public int Height { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 |
Thumb
Optional. Video thumbnail
Declaration
[JsonProperty(PropertyName = "thumb")]
public SendFile Thumb { get; set; }
Property Value
Type | Description |
---|---|
SendFile |
Type
This is a video.
Declaration
[JsonProperty(PropertyName = "type")]
public override string Type { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceWidth
Optional. Video width
Declaration
[JsonProperty(PropertyName = "width")]
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |