Show / Hide Table of Contents

Class InputMediaAudio

Represents an audio to be sent

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

Properties

| Improve this Doc View Source

Duration

Optional. Audio duration

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

Performer

Optional. Performer of the audio

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

Thumb

Optional. Audio thumbnail

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

Title

Optional. Title of the audio

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

Type

This is an audio.

Declaration
[JsonProperty(PropertyName = "type")]
public override string Type { get; }
Property Value
Type Description
System.String
Overrides
InputMedia.Type
  • Improve this Doc
  • View Source
Back to top Generated by DocFX