Class ThreadMemberImpl
java.lang.Object
net.dv8tion.jda.internal.entities.ThreadMemberImpl
- All Implemented Interfaces:
Formattable
,IMentionable
,ISnowflake
,ThreadMember
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve a Mention for this Entity.getGuild()
long
The Snowflake id of this entity.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()
setJoinedTimestamp
(long joinedTimestamp) toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.entities.IMentionable
formatTo
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getTimeCreated
Methods inherited from interface net.dv8tion.jda.api.entities.ThreadMember
isThreadOwner
-
Constructor Details
-
ThreadMemberImpl
-
-
Method Details
-
getJDA
Description copied from interface:ThreadMember
Returns theJDA
instance of this thread member.- Specified by:
getJDA
in interfaceThreadMember
- Returns:
- the corresponding JDA instance
-
getGuild
Description copied from interface:ThreadMember
- Specified by:
getGuild
in interfaceThreadMember
- Returns:
- The
Guild
containing thisThreadMembers
and itsThreadChannel
.
-
getThread
Description copied from interface:ThreadMember
TheThreadChannel
this thread member is subscribed to.- Specified by:
getThread
in interfaceThreadMember
- Returns:
- The
ThreadChannel
this thread member is subscribed to.
-
getUser
Description copied from interface:ThreadMember
- Specified by:
getUser
in interfaceThreadMember
- Returns:
- The User instance
-
getMember
Description copied from interface:ThreadMember
The corresponding guildMember
to this thread member.- Specified by:
getMember
in interfaceThreadMember
- Returns:
- The corresponding guild
Member
to this thread member.
-
getTimeJoined
Description copied from interface:ThreadMember
The time thisThreadMember
joined the subscribedThreadChannel
.- Specified by:
getTimeJoined
in interfaceThreadMember
- Returns:
- The time this
ThreadMember
joined the subscribedThreadChannel
.
-
getAsMention
Description copied from interface:IMentionable
Retrieve a Mention for this Entity. For the publicRole
(@everyone), this will return the literal string"@everyone"
.- Specified by:
getAsMention
in interfaceIMentionable
- Returns:
- A resolvable mention.
-
getIdLong
public long getIdLong()Description copied from interface:ISnowflake
The Snowflake id of this entity. This is unique to every entity and will never change.- Specified by:
getIdLong
in interfaceISnowflake
- Returns:
- Long containing the Id.
-
setJoinedTimestamp
-
toString
-