Class InputMediaAnimation
Represents an animation 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 InputMediaAnimation : InputMedia
Properties
| Improve this Doc View SourceDuration
Optional. Animation duration
Declaration
[JsonProperty(PropertyName = "duration")]
public int Duration { get; set; }
Property Value
Type | Description |
---|---|
System. |
Height
Optional. Animation height
Declaration
[JsonProperty(PropertyName = "height")]
public int Height { get; set; }
Property Value
Type | Description |
---|---|
System. |
Thumb
Optional. Animation thumbnail
Declaration
[JsonProperty(PropertyName = "thumb")]
public SendFile Thumb { get; set; }
Property Value
Type | Description |
---|---|
Send |
Type
This is an animation.
Declaration
[JsonProperty(PropertyName = "type")]
public override string Type { get; }
Property Value
Type | Description |
---|---|
System. |
Overrides
| Improve this Doc View SourceWidth
Optional. Animation width
Declaration
[JsonProperty(PropertyName = "width")]
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System. |