Package net.dv8tion.jda.api.entities
Interface ThreadMember
- All Superinterfaces:
Formattable
,IMentionable
,ISnowflake
A
ThreadMembers are subscribed to
ThreadMember
represents a Member's
participation in a Thread.
ThreadMembers are subscribed to
Threads
and receive updates for them, like new message and thread changes.
Only subscribed members are shown in a thread's sidebar.-
Method Summary
Modifier and TypeMethodDescriptiongetGuild()
getJDA()
Returns theJDA
instance of this thread member.The corresponding guildMember
to this thread member.TheThreadChannel
this thread member is subscribed to.The time thisThreadMember
joined the subscribedThreadChannel
.getUser()
default boolean
True, if thisThreadMember
owns the subscribedThreadChannel
.Methods inherited from interface net.dv8tion.jda.api.entities.IMentionable
formatTo, getAsMention
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
-
Method Details
-
getJDA
Returns theJDA
instance of this thread member.- Returns:
- the corresponding JDA instance
-
getGuild
- Returns:
- The
Guild
containing thisThreadMembers
and itsThreadChannel
.
-
getThread
TheThreadChannel
this thread member is subscribed to.- Returns:
- The
ThreadChannel
this thread member is subscribed to.
-
getUser
- Returns:
- The User instance
-
getMember
The corresponding guildMember
to this thread member.- Returns:
- The corresponding guild
Member
to this thread member.
-
getTimeJoined
The time thisThreadMember
joined the subscribedThreadChannel
.- Returns:
- The time this
ThreadMember
joined the subscribedThreadChannel
.
-
isThreadOwner
default boolean isThreadOwner()True, if thisThreadMember
owns the subscribedThreadChannel
.- Returns:
- True, if this
ThreadMember
owns the subscribedThreadChannel
.
-