public interface GuildMessageChannel extends CategorizableChannel, MessageChannel
Channel.Type
Modifier and Type | Method and Description |
---|---|
Flux<Snowflake> |
bulkDelete(Publisher<Snowflake> messageIds)
Requests to bulk delete the supplied message IDs.
|
Mono<Webhook> |
createWebhook(Consumer<? super WebhookCreateSpec> spec)
Requests to create a webhook.
|
Flux<Member> |
getMembers()
Returns all members in the guild which have access to view this channel.
|
Optional<String> |
getTopic()
Gets the channel topic, if present.
|
Flux<Webhook> |
getWebhooks()
Requests to retrieve the webhooks of the channel.
|
createInvite, getCategory, getCategory, getCategoryId, getInvites
addMemberOverwrite, addMemberOverwrite, addRoleOverwrite, addRoleOverwrite, getEffectivePermissions, getGuild, getGuild, getGuildId, getName, getOverwriteForMember, getOverwriteForRole, getPermissionOverwrites, getPosition, getRawPosition
delete, delete, getMention, getRestChannel, getType
getClient
createEmbed, createMessage, createMessage, getLastMessage, getLastMessage, getLastMessageId, getLastPinTimestamp, getMessageById, getMessageById, getMessagesAfter, getMessagesBefore, getPinnedMessages, type, typeUntil
Optional<String> getTopic()
Flux<Snowflake> bulkDelete(Publisher<Snowflake> messageIds)
messageIds
- A Publisher
to supply the message IDs to bulk delete.Flux
that continually emits message IDs
that were not bulk deleted
(typically if the ID was older than 2 weeks). If an error is received, it is emitted through the Flux
.Mono<Webhook> createWebhook(Consumer<? super WebhookCreateSpec> spec)
spec
- A Consumer
that provides a "blank" WebhookCreateSpec
to be operated on.Mono
where, upon successful completion, emits the created Webhook
. If an error
is received, it is emitted through the Mono
.Flux<Member> getMembers()
Flux
that continually emits all members from Guild.getMembers()
which have access to
view this channel Permission.VIEW_CHANNEL