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