Package com.mewna.catnip.entity.channel
Interface ThreadChannel
- All Superinterfaces:
Channel
,Entity
,GuildChannel
,GuildEntity
,HasGuild
,HasName
,HasOwner
,HasParentChannel
,Mentionable
,MessageChannel
,RequiresCatnip
,Snowflake
,TextChannel
,Timestamped
- All Known Implementing Classes:
ThreadChannelImpl
- Since:
- 5/1/21.
- Author:
- amy
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static interface
static interface
Nested classes/interfaces inherited from interface com.mewna.catnip.entity.channel.Channel
Channel.ChannelType
Nested classes/interfaces inherited from interface com.mewna.catnip.entity.channel.GuildChannel
GuildChannel.ChannelEditFields
Nested classes/interfaces inherited from interface com.mewna.catnip.entity.partials.Timestamped
Timestamped.TimestampStyle
-
Method Summary
Methods inherited from interface com.mewna.catnip.entity.channel.Channel
asCategory, asDMChannel, asGroupDMChannel, asGuildChannel, asMessageChannel, asTextChannel, asUserDMChannel, asVoiceChannel, delete, isGuildMessageChannel, isStore, type
Methods inherited from interface com.mewna.catnip.entity.channel.GuildChannel
createInvite, createInvite, createInvite, delete, edit, fetchInvites, isDM, isGroupDM, isGuild, isUserDM, overrides, position
Methods inherited from interface com.mewna.catnip.entity.partials.GuildEntity
guild
Methods inherited from interface com.mewna.catnip.entity.partials.HasGuild
guildId, guildIdAsLong
Methods inherited from interface com.mewna.catnip.entity.partials.HasOwner
owner, ownerIdAsLong
Methods inherited from interface com.mewna.catnip.entity.partials.HasParentChannel
parentIdAsLong
Methods inherited from interface com.mewna.catnip.entity.channel.MessageChannel
addReaction, addReaction, bulkRemoveReaction, deleteMessage, deleteMessage, deleteOwnReaction, deleteOwnReaction, deleteUserReaction, deleteUserReaction, editMessage, editMessage, editMessage, fetchMessage, fetchMessages, sendMessage, sendMessage, sendMessage, sendMessage, triggerTypingIndicator
Methods inherited from interface com.mewna.catnip.entity.RequiresCatnip
catnip
Methods inherited from interface com.mewna.catnip.entity.partials.Snowflake
creationTime, creationTimestamp, id, idAsLong
Methods inherited from interface com.mewna.catnip.entity.channel.TextChannel
asMention, fetchWebhooks, isCategory, isNews, isText, isVoice, nsfw, rateLimitPerUser, topic
Methods inherited from interface com.mewna.catnip.entity.partials.Timestamped
asDiscordTimestamp, parseTimestamp
-
Method Details
-
messageCount
int messageCount() -
memberCount
int memberCount() -
member
ThreadChannel.ThreadMember member() -
metadata
ThreadChannel.ThreadMetadata metadata() -
ownerId
-
parentId
- Specified by:
parentId
in interfaceHasParentChannel
- Returns:
- The ID of the
TextChannel
that contains this thread.
-