Class AudioInputMedia.AudioInputMediaBuilder
- java.lang.Object
-
- com.jtelegram.api.message.input.media.AudioInputMedia.AudioInputMediaBuilder
-
- Enclosing class:
- AudioInputMedia
public static class AudioInputMedia.AudioInputMediaBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AudioInputMedia
build()
AudioInputMedia.AudioInputMediaBuilder
caption(java.lang.String caption)
AudioInputMedia.AudioInputMediaBuilder
duration(long duration)
AudioInputMedia.AudioInputMediaBuilder
media(InputFile media)
AudioInputMedia.AudioInputMediaBuilder
parseMode(ParseMode parseMode)
AudioInputMedia.AudioInputMediaBuilder
performer(java.lang.String performer)
AudioInputMedia.AudioInputMediaBuilder
thumbnail(LocalInputFile thumbnail)
AudioInputMedia.AudioInputMediaBuilder
title(java.lang.String title)
java.lang.String
toString()
-
-
-
Method Detail
-
media
public AudioInputMedia.AudioInputMediaBuilder media(InputFile media)
-
caption
public AudioInputMedia.AudioInputMediaBuilder caption(java.lang.String caption)
-
parseMode
public AudioInputMedia.AudioInputMediaBuilder parseMode(ParseMode parseMode)
-
thumbnail
public AudioInputMedia.AudioInputMediaBuilder thumbnail(LocalInputFile thumbnail)
-
duration
public AudioInputMedia.AudioInputMediaBuilder duration(long duration)
-
performer
public AudioInputMedia.AudioInputMediaBuilder performer(java.lang.String performer)
-
title
public AudioInputMedia.AudioInputMediaBuilder title(java.lang.String title)
-
build
public AudioInputMedia build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-