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 AnimationInputMediabuild()AnimationInputMedia.AnimationInputMediaBuildercaption(java.lang.String caption)AnimationInputMedia.AnimationInputMediaBuilderduration(long duration)AnimationInputMedia.AnimationInputMediaBuilderheight(int height)AnimationInputMedia.AnimationInputMediaBuildermedia(InputFile media)AnimationInputMedia.AnimationInputMediaBuilderparseMode(ParseMode parseMode)AnimationInputMedia.AnimationInputMediaBuilderthumbnail(LocalInputFile thumbnail)java.lang.StringtoString()AnimationInputMedia.AnimationInputMediaBuilderwidth(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:
toStringin classjava.lang.Object
-
-