public interface CategorizableChannel extends GuildChannel
Category
. These channels can also have invites.Channel.Type
Modifier and Type | Method and Description |
---|---|
Mono<ExtendedInvite> |
createInvite(Consumer<? super InviteCreateSpec> spec)
Requests to create an invite.
|
Mono<Category> |
getCategory()
Requests to retrieve the category for this channel, if present.
|
Mono<Category> |
getCategory(EntityRetrievalStrategy retrievalStrategy)
Requests to retrieve the category for this channel, if present, using the given retrieval strategy.
|
Optional<Snowflake> |
getCategoryId()
Gets the ID of the category for this channel, if present.
|
Flux<ExtendedInvite> |
getInvites()
Requests to retrieve this channel's invites.
|
addMemberOverwrite, addMemberOverwrite, addRoleOverwrite, addRoleOverwrite, getEffectivePermissions, getGuild, getGuild, getGuildId, getName, getOverwriteForMember, getOverwriteForRole, getPermissionOverwrites, getPosition, getRawPosition
delete, delete, getMention, getRestChannel, getType
getClient
Optional<Snowflake> getCategoryId()
Mono<Category> getCategory()
Mono<Category> getCategory(EntityRetrievalStrategy retrievalStrategy)
Mono<ExtendedInvite> createInvite(Consumer<? super InviteCreateSpec> spec)
spec
- A Consumer
that provides a "blank" InviteCreateSpec
to be operated on.Mono
where, upon successful completion, emits the created ExtendedInvite
. If an error
is received, it is emitted through the Mono
.Flux<ExtendedInvite> getInvites()