Show / Hide Table of Contents

Class InputMediaAnimation

Represents an animation to be sent

Inheritance
System.Object
InputMedia
InputMediaAnimation
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 InputMediaAnimation : InputMedia

Properties

| Improve this Doc View Source

Duration

Optional. Animation duration

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

Height

Optional. Animation height

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

Thumb

Optional. Animation thumbnail

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

Type

This is an animation.

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. Animation width

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