public class RestMember extends Object
| Modifier and Type | Method and Description |
|---|---|
static RestMember |
create(RestClient restClient,
Snowflake guildId,
Snowflake id)
Create a
RestMember with the given parameters. |
Mono<discord4j.discordjson.json.MemberData> |
getData() |
RestGuild |
guild() |
RestUser |
user() |
public static RestMember create(RestClient restClient, Snowflake guildId, Snowflake id)
RestMember with the given parameters. This method does not perform any API request.restClient - REST API resourcesguildId - the ID of the guild this member belongs toid - the ID of this memberRestMember represented by the given parameters.public RestGuild guild()
public RestUser user()
public Mono<discord4j.discordjson.json.MemberData> getData()