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