Class InputMediaAudio
Represents an audio 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 InputMediaAudio : InputMedia
Properties
| Improve this Doc View SourceDuration
Optional. Audio duration
Declaration
[JsonProperty(PropertyName = "duration")]
public int Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Performer
Optional. Performer of the audio
Declaration
[JsonProperty(PropertyName = "performer")]
public string Performer { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Thumb
Optional. Audio thumbnail
Declaration
[JsonProperty(PropertyName = "thumb")]
public SendFile Thumb { get; set; }
Property Value
Type | Description |
---|---|
SendFile |
Title
Optional. Title of the audio
Declaration
[JsonProperty(PropertyName = "title")]
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
This is an audio.
Declaration
[JsonProperty(PropertyName = "type")]
public override string Type { get; }
Property Value
Type | Description |
---|---|
System.String |