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
Modifier and TypeMethodDescriptiondefault Tuple2<String,
InputStream> name()
static MessageCreateFields.File
of
(String name, InputStream inputStream)
-
Method Details
-
of
-
name
String name() -
inputStream
InputStream inputStream() -
asRequest
- Specified by:
asRequest
in interfaceSpec<Tuple2<String,
InputStream>>
-