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 theJDAinstance of this thread member.The corresponding guildMemberto this thread member.TheThreadChannelthis thread member is subscribed to.The time thisThreadMemberjoined the subscribedThreadChannel.getUser()default booleanTrue, if thisThreadMemberowns the subscribedThreadChannel.Methods inherited from interface net.dv8tion.jda.api.entities.IMentionable
formatTo, getAsMentionMethods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
-
Method Details
-
getJDA
Returns theJDAinstance of this thread member.- Returns:
- the corresponding JDA instance
-
getGuild
- Returns:
- The
Guildcontaining thisThreadMembersand itsThreadChannel.
-
getThread
TheThreadChannelthis thread member is subscribed to.- Returns:
- The
ThreadChannelthis thread member is subscribed to.
-
getUser
- Returns:
- The User instance
-
getMember
The corresponding guildMemberto this thread member.- Returns:
- The corresponding guild
Memberto this thread member.
-
getTimeJoined
The time thisThreadMemberjoined the subscribedThreadChannel.- Returns:
- The time this
ThreadMemberjoined the subscribedThreadChannel.
-
isThreadOwner
default boolean isThreadOwner()True, if thisThreadMemberowns the subscribedThreadChannel.- Returns:
- True, if this
ThreadMemberowns the subscribedThreadChannel.
-