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