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 IMentionable
formatTo, getAsMentionMethods inherited from interface ISnowflake
getId, getIdLong, getTimeCreated
-
Method Details
-
getJDA
-
getGuild
- Returns:
- The
Guildcontaining thisThreadMembersand itsThreadChannel.
-
getThread
TheThreadChannelthis thread member is subscribed to.- Returns:
- The
ThreadChannelthis thread member is subscribed to.
-
getUser
-
getMember
-
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.
-