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