public class RestInvite extends Object
| Modifier and Type | Method and Description |
|---|---|
static RestInvite |
create(RestClient restClient,
String code)
Create a
RestInvite with the given parameters. |
Mono<discord4j.discordjson.json.InviteData> |
delete(String reason) |
Mono<discord4j.discordjson.json.InviteData> |
getData() |
public static RestInvite create(RestClient restClient, String code)
RestInvite with the given parameters. This method does not perform any API request.restClient - REST API resourcescode - the ID of this entityRestInvite represented by the given parameters.public Mono<discord4j.discordjson.json.InviteData> getData()