Package discord4j.core.spec
Interface MessageCreateFields.File
-
- All Superinterfaces:
Spec<Tuple2<String,InputStream>>
- All Known Subinterfaces:
MessageCreateFields.FileSpoiler
- Enclosing class:
- MessageCreateFields
@Immutable public static interface MessageCreateFields.File extends Spec<Tuple2<String,InputStream>>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Tuple2<String,InputStream>
asRequest()
InputStream
inputStream()
String
name()
static MessageCreateFields.File
of(String name, InputStream inputStream)
-
-
-
Method Detail
-
of
static MessageCreateFields.File of(String name, InputStream inputStream)
-
name
String name()
-
inputStream
InputStream inputStream()
-
asRequest
default Tuple2<String,InputStream> asRequest()
- Specified by:
asRequest
in interfaceSpec<Tuple2<String,InputStream>>
-
-