Class ThreadChannelImpl
- All Implemented Interfaces:
Comparable<GuildChannel>
,Formattable
,IMemberContainer
,ISlowmodeChannel
,Channel
,ThreadChannel
,GuildChannel
,GuildMessageChannel
,MessageChannel
,ChannelUnion
,GuildChannelUnion
,GuildMessageChannelUnion
,MessageChannelUnion
,IDetachableEntity
,IMentionable
,ISnowflake
,ISlowmodeChannelMixin<ThreadChannelImpl>
,ChannelMixin<ThreadChannelImpl>
,ThreadChannelMixin<ThreadChannelImpl>
,GuildChannelMixin<ThreadChannelImpl>
,GuildMessageChannelMixin<ThreadChannelImpl>
,MessageChannelMixin<ThreadChannelImpl>
,IDetachableEntityMixin
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
ThreadChannel.AutoArchiveDuration
-
Field Summary
Fields inherited from interface net.dv8tion.jda.api.entities.channel.Channel
MAX_NAME_LENGTH
Fields inherited from interface net.dv8tion.jda.api.entities.channel.middleman.GuildChannel
JUMP_URL
Fields inherited from interface net.dv8tion.jda.api.entities.channel.attribute.ISlowmodeChannel
MAX_SLOWMODE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddThreadMemberById
(long id) Adds a member to this thread.boolean
Whether the specifiedMember
can send messages in this channel.void
Theforum tags
applied to this thread.gnu.trove.set.TLongSet
long
The inactivity timeout of this thread.getFlags()
The flags configured for this channel.getGuild()
Returns theGuild
that this GuildChannel is part of.long
The id for the most recent message sent in this current MessageChannel.Returns theChannelManager
for this GuildChannel.int
Gets the current number of members that have joined this thread.A List of allMembers
that are in this GuildChannel
ForTextChannels
, this returns all Members with thePermission.VIEW_CHANNEL
Permission.int
Gets the current number of messages present in this thread.long
Gets the ID of the owner of this thread as a long.Gets theparent channel
of this thread.The channel containing the permissions relevant to this channel.int
int
The slowmode set for this channel.getThreadMemberById
(long id) Gets aThreadMember
of this thread by theirMember
.Gets a List of all cachedmembers
of this thread.The last time the archive info of this thread was updated.The timestamp when this thread was created.int
The total number of messages sent in this thread, including all deleted messages.getType()
TheChannelType
for this channelboolean
Whether this thread has been archived.boolean
Whether this entity is detached.boolean
Whether this thread is invitable.boolean
isLocked()
Whether this thread is locked or not.join()
Joins this thread, adding the current account to the member list of this thread.leave()
Leaves this thread, removing the current account from the member list of this thread.removeThreadMemberById
(long id) Removes a member from this thread.Attempts to get theMessage
that this thread was started from.Attempts to get theMessage
that was posted when this thread was created.retrieveThreadMemberById
(long id) Load the thread-member for the user with the specified id.Retrieves theThreadMembers
of this thread.setAppliedTags
(LongStream tags) setArchived
(boolean archived) setArchiveTimestamp
(long archiveTimestamp) setAutoArchiveDuration
(ThreadChannel.AutoArchiveDuration autoArchiveDuration) setCreationTimestamp
(long creationTimestamp) setFlags
(int flags) setInvitable
(boolean invitable) setLatestMessageIdLong
(long latestMessageId) setLocked
(boolean locked) setMemberCount
(int memberCount) setMessageCount
(int messageCount) setOwnerId
(long ownerId) setParentChannel
(IThreadContainer channel) setSlowmode
(int slowmode) setTotalMessageCount
(int messageCount) Methods inherited from class net.dv8tion.jda.internal.entities.channel.middleman.AbstractGuildChannelImpl
compareTo
Methods inherited from class net.dv8tion.jda.internal.entities.channel.AbstractChannelImpl
asAudioChannel, asCategory, asForumChannel, asGroupChannel, asGuildChannel, asGuildMessageChannel, asMediaChannel, asMessageChannel, asNewsChannel, asPrivateChannel, asStageChannel, asStandardGuildChannel, asStandardGuildMessageChannel, asTextChannel, asThreadChannel, asThreadContainer, asVoiceChannel, getIdLong, getJDA, getName, setName, 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.channel.Channel
getAsMention, getJDA, getName
Methods inherited from interface net.dv8tion.jda.internal.entities.channel.mixin.ChannelMixin
delete, setName
Methods inherited from interface net.dv8tion.jda.api.entities.channel.unions.ChannelUnion
asAudioChannel, asCategory, asForumChannel, asGroupChannel, asGuildChannel, asGuildMessageChannel, asMediaChannel, asMessageChannel, asNewsChannel, asPrivateChannel, asStageChannel, asStandardGuildChannel, asStandardGuildMessageChannel, asTextChannel, asThreadChannel, asThreadContainer, asVoiceChannel
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface net.dv8tion.jda.api.entities.channel.middleman.GuildChannel
getJumpUrl
Methods inherited from interface net.dv8tion.jda.internal.entities.channel.mixin.middleman.GuildChannelMixin
checkCanAccess, checkPermission, checkPermission, delete, hasPermission
Methods inherited from interface net.dv8tion.jda.api.entities.channel.unions.GuildChannelUnion
asAudioChannel, asCategory, asForumChannel, asGuildMessageChannel, asMediaChannel, asNewsChannel, asStageChannel, asStandardGuildChannel, asStandardGuildMessageChannel, asTextChannel, asThreadChannel, asThreadContainer, asVoiceChannel
Methods inherited from interface net.dv8tion.jda.api.entities.channel.middleman.GuildMessageChannel
canTalk, clearReactionsById, clearReactionsById, deleteMessages, removeReactionById, sendStickers
Methods inherited from interface net.dv8tion.jda.internal.entities.channel.mixin.middleman.GuildMessageChannelMixin
canDeleteOtherUsersMessages, checkCanAddReactions, checkCanControlMessagePins, checkCanRemoveReactions, checkCanSendFiles, checkCanSendMessage, checkCanSendMessageEmbeds, checkCanViewHistory, clearReactionsById, clearReactionsById, deleteMessagesByIds, removeReactionById, sendStickers
Methods inherited from interface net.dv8tion.jda.api.entities.channel.unions.GuildMessageChannelUnion
asAudioChannel, asNewsChannel, asStageChannel, asStandardGuildChannel, asStandardGuildMessageChannel, asTextChannel, asThreadChannel, asThreadContainer, asVoiceChannel
Methods inherited from interface net.dv8tion.jda.internal.entities.detached.mixin.IDetachableEntityMixin
checkAttached, detachedException, detachedRequiresChannelException
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong
Methods inherited from interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
addReactionById, deleteMessageById, editMessageAttachmentsById, editMessageAttachmentsById, editMessageAttachmentsById, editMessageById, editMessageById, editMessageComponentsById, editMessageComponentsById, editMessageComponentsById, editMessageComponentsById, editMessageComponentsById, editMessageEmbedsById, editMessageEmbedsById, editMessageEmbedsById, editMessageFormatById, editMessageFormatById, endPollById, endPollById, getHistoryAfter, getHistoryAfter, getHistoryAround, getHistoryAround, getHistoryBefore, getHistoryBefore, getLatestMessageId, pinMessageById, purgeMessages, purgeMessagesById, purgeMessagesById, removeReactionById, retrieveMessageById, retrievePollVotersById, retrievePollVotersById, retrieveReactionUsersById, retrieveReactionUsersById, retrieveReactionUsersById, sendFiles, sendMessageComponents, sendMessageComponents, sendMessageFormat, unpinMessageById
Methods inherited from interface net.dv8tion.jda.internal.entities.channel.mixin.middleman.MessageChannelMixin
addReactionById, bulkDeleteMessages, deleteMessageById, editMessageAttachmentsById, editMessageById, editMessageById, editMessageComponentsById, editMessageEmbedsById, getHistory, getHistoryAfter, getHistoryAround, getHistoryBefore, getHistoryFromBeginning, getIterableHistory, pinMessageById, purgeMessages, purgeMessagesById, removeReactionById, retrieveMessageById, retrievePinnedMessages, retrieveReactionUsersById, sendFiles, sendMessage, sendMessage, sendMessageComponents, sendMessageEmbeds, sendMessageEmbeds, sendMessagePoll, sendTyping, unpinMessageById
Methods inherited from interface net.dv8tion.jda.api.entities.channel.unions.MessageChannelUnion
asAudioChannel, asGroupChannel, asGuildMessageChannel, asNewsChannel, asPrivateChannel, asStageChannel, asTextChannel, asThreadChannel, asThreadContainer, asVoiceChannel
Methods inherited from interface net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel
addThreadMember, addThreadMember, addThreadMemberById, formatTo, getOwner, getOwnerId, getOwnerThreadMember, getParentMessageChannel, getSelfThreadMember, getThreadMember, getThreadMember, getThreadMemberById, isJoined, isOwner, isPinned, isPublic, removeThreadMember, removeThreadMember, removeThreadMemberById, retrieveThreadMember, retrieveThreadMember, retrieveThreadMemberById
-
Constructor Details
-
ThreadChannelImpl
-
-
Method Details
-
isDetached
public boolean isDetached()Description copied from interface:IDetachableEntity
Whether this entity is detached.If this returns
true
, this entity cannot be retrieved, will never be updated, and most methods that would otherwise return aRestAction
will throw aDetachedEntityException
instead.- Specified by:
isDetached
in interfaceIDetachableEntity
- Returns:
True
, if the entity is detached
-
getGuild
Description copied from interface:GuildChannel
Returns theGuild
that this GuildChannel is part of.- Specified by:
getGuild
in interfaceGuildChannel
- Overrides:
getGuild
in classAbstractGuildChannelImpl<ThreadChannelImpl>
- Returns:
- Never-null
Guild
that this GuildChannel is part of.
-
getFlags
Description copied from interface:Channel
The flags configured for this channel.
This feature is currently primarily used forForumChannels
.- Specified by:
getFlags
in interfaceChannel
- Returns:
EnumSet
of the configuredChannelFlags
, changes to this enum set are not reflected in the API.
-
getType
Description copied from interface:Channel
TheChannelType
for this channel -
getLatestMessageIdLong
public long getLatestMessageIdLong()Description copied from interface:MessageChannel
The id for the most recent message sent in this current MessageChannel.This value is updated on each
MessageReceivedEvent
and the value might point to an already deleted message since the value is not cleared when the message is deleted, so callingMessageChannel.retrieveMessageById(long)
with this id can result in anUNKNOWN_MESSAGE
error- Specified by:
getLatestMessageIdLong
in interfaceMessageChannel
- Returns:
- The most recent message's id or 0 if no messages are present
-
getMessageCount
public int getMessageCount()Description copied from interface:ThreadChannel
Gets the current number of messages present in this thread.
Threads started from seed messages in theparent channel
will not count that seed message.
This will be capped at 50 for threads created before July 1, 2022.- Specified by:
getMessageCount
in interfaceThreadChannel
- Returns:
- The number of messages sent in this thread
-
getTotalMessageCount
public int getTotalMessageCount()Description copied from interface:ThreadChannel
The total number of messages sent in this thread, including all deleted messages.
This might be inaccurate for threads created before July 1, 2022.- Specified by:
getTotalMessageCount
in interfaceThreadChannel
- Returns:
- The total number of messages ever sent in this thread
-
getMemberCount
public int getMemberCount()Description copied from interface:ThreadChannel
Gets the current number of members that have joined this thread.
This is capped at 50, meaning any additional members will not affect this count.- Specified by:
getMemberCount
in interfaceThreadChannel
- Returns:
- The number of members that have joined this thread, capping at 50.
-
isLocked
public boolean isLocked()Description copied from interface:ThreadChannel
Whether this thread is locked or not.Locked threads cannot have new messages posted to them, or members join or leave them. Threads can only be locked and unlocked by moderators.
- Specified by:
isLocked
in interfaceThreadChannel
- Returns:
- true if this thread is locked, false otherwise.
- See Also:
-
canTalk
Description copied from interface:GuildMessageChannel
Whether the specifiedMember
can send messages in this channel.
Checks for bothPermission.VIEW_CHANNEL
andPermission.MESSAGE_SEND
.- Specified by:
canTalk
in interfaceGuildMessageChannel
- Parameters:
member
- The Member to check- Returns:
- True, if the specified member is able to read and send messages in this channel
-
getMembers
Description copied from interface:IMemberContainer
A List of allMembers
that are in this GuildChannel
ForTextChannels
, this returns all Members with thePermission.VIEW_CHANNEL
Permission.
ForVoiceChannels
, this returns all Members that joined that VoiceChannel.
ForCategories
, this returns all Members who are in its child channels.- Specified by:
getMembers
in interfaceIMemberContainer
- Returns:
- An immutable List of
Members
that are in this GuildChannel.
-
getParentChannel
Description copied from interface:ThreadChannel
Gets theparent channel
of this thread.- Specified by:
getParentChannel
in interfaceThreadChannel
- Returns:
- The parent channel of this thread.
- See Also:
-
getAppliedTags
Description copied from interface:ThreadChannel
Theforum tags
applied to this thread.
This will be an empty list if the thread was not created in aForumChannel
.- Specified by:
getAppliedTags
in interfaceThreadChannel
- Returns:
- Immutable
List
ofForumTags
applied to this post
-
retrieveParentMessage
Description copied from interface:ThreadChannel
Attempts to get theMessage
that this thread was started from.
The parent message was posted in theparent channel
and a thread was started on it.The
Message.getMember()
method will always return null for the resulting message. To retrieve the member you can usegetGuild().retrieveMember(message.getAuthor())
.The following
ErrorResponses
are possible:MISSING_ACCESS
The request was attempted after the account lost access to theGuild
typically due to being kicked or removed, or afterPermission.VIEW_CHANNEL
was revoked in theGuildMessageChannel
MISSING_PERMISSIONS
The request was attempted after the account lostPermission.MESSAGE_HISTORY
in theGuildMessageChannel
.UNKNOWN_MESSAGE
The message has already been deleted.UNKNOWN_CHANNEL
The request was attempted after the parent channel was deleted.
- Specified by:
retrieveParentMessage
in interfaceThreadChannel
- Returns:
RestAction
- Type: Message
The Message that started this thread
-
retrieveStartMessage
Description copied from interface:ThreadChannel
Attempts to get theMessage
that was posted when this thread was created.
UnlikeThreadChannel.retrieveParentMessage()
, the message was posted only inside the thread channel. This is common forForumChannel
posts.The
Message.getMember()
method will always return null for the resulting message. To retrieve the member you can usegetGuild().retrieveMember(message.getAuthor())
.This is equivalent to
channel.retrieveMessageById(channel.getId())
.The following
ErrorResponses
are possible:MISSING_ACCESS
The request was attempted after the account lost access to theGuild
typically due to being kicked or removed, or afterPermission.VIEW_CHANNEL
was revoked in theGuildMessageChannel
MISSING_PERMISSIONS
The request was attempted after the account lostPermission.MESSAGE_HISTORY
in theGuildMessageChannel
.UNKNOWN_MESSAGE
The message has already been deleted or there was no starting message.UNKNOWN_CHANNEL
The request was attempted after the parent channel was deleted.
- Specified by:
retrieveStartMessage
in interfaceThreadChannel
- Returns:
RestAction
- Type: Message
-
getPermissionContainer
Description copied from interface:GuildChannel
The channel containing the permissions relevant to this channel.This is usually the same channel, but for threads the parent channel is used instead.
- Specified by:
getPermissionContainer
in interfaceGuildChannel
- Returns:
- The permission container
-
getThreadMembers
Description copied from interface:ThreadChannel
Gets a List of all cachedmembers
of this thread.The thread owner is not included in this list, unless the current account is the owner. Any updates to this cache are lost when JDA is shutdown, and this list is not sent to JDA on startup. For this reason,
ThreadChannel.retrieveThreadMembers()
should be used instead in most cases.The cache this method relies on is empty until JDA sees a member join via a
ThreadMemberJoinEvent
.
If the current account is a member of this ThreadChannel, this cache will contain the current account, even after a restart.
In order for this cache to be updated, the following requirements must be met:- the
GatewayIntent.GUILD_MEMBERS
intent must be enabled. - the bot must be able to join the thread (either via the
MANAGE_THREADS
permission, or a public thread) - the bot must have be online to receive the update
- Specified by:
getThreadMembers
in interfaceThreadChannel
- Returns:
- List of all
members
of this thread. This list may be empty, but not null. - See Also:
- the
-
getThreadMemberById
Description copied from interface:ThreadChannel
Gets aThreadMember
of this thread by theirMember
.Note that this operation relies on the
ThreadMember cache
for this ThreadChannel. As the cache is likely to be unpopulated, this method is likely to return null.Use of
ThreadChannel.retrieveThreadMember(Member)
is preferred instead, once it is released.- Specified by:
getThreadMemberById
in interfaceThreadChannel
- Parameters:
id
- The member to get theThreadMember
for.- Returns:
- The
ThreadMember
of this thread for the given member. - See Also:
-
retrieveThreadMemberById
Description copied from interface:ThreadChannel
Load the thread-member for the user with the specified id.
If the thread-member is already loaded, it will be retrieved fromThreadChannel.getThreadMemberById(long)
and immediately provided if the thread-member information is consistent. If the bot hasn't joined the thread,GatewayIntent.GUILD_MEMBERS
is required to keep the cache updated.- Specified by:
retrieveThreadMemberById
in interfaceThreadChannel
- Parameters:
id
- The user id to load the thread-member from- Returns:
CacheRestAction
- Type:ThreadMember
-
retrieveThreadMembers
Description copied from interface:ThreadChannel
Retrieves theThreadMembers
of this thread.This requires the
GatewayIntent.GUILD_MEMBERS
intent to be enabled in the Application Dashboard.- Specified by:
retrieveThreadMembers
in interfaceThreadChannel
- Returns:
ThreadMemberPaginationAction
-
getOwnerIdLong
public long getOwnerIdLong()Description copied from interface:ThreadChannel
Gets the ID of the owner of this thread as a long.- Specified by:
getOwnerIdLong
in interfaceThreadChannel
- Returns:
- the ID of the member who created this thread as a long.
-
isArchived
public boolean isArchived()Description copied from interface:ThreadChannel
Whether this thread has been archived.This method will consider locked channels to also be archived.
Archived threads are not deleted threads, but are considered inactive. They are not shown to clients in the channels list, but can still be navigated to and read. ThreadChannels may be unarchived as long as there is space for a new active thread.
- Specified by:
isArchived
in interfaceThreadChannel
- Returns:
- true if this thread has been archived, false otherwise.
- See Also:
-
isInvitable
public boolean isInvitable()Description copied from interface:ThreadChannel
Whether this thread is invitable.
A thread that is invitable can have non-moderators invite other non-moderators to it. A thread that is not invitable can only have moderators invite others to it.This property is exclusive to private threads.
- Specified by:
isInvitable
in interfaceThreadChannel
- Returns:
- true if this thread is invitable, false otherwise.
- See Also:
-
getTimeArchiveInfoLastModified
Description copied from interface:ThreadChannel
The last time the archive info of this thread was updated.This timestamp will be updated when any of the following happen:
- The channel is archived
- The channel is unarchived
- The AUTO_ARCHIVE_DURATION is changed.
- Specified by:
getTimeArchiveInfoLastModified
in interfaceThreadChannel
- Returns:
- the time of the last archive info update.
- See Also:
-
getAutoArchiveDuration
Description copied from interface:ThreadChannel
The inactivity timeout of this thread.If a message is not sent within this amount of time, the thread will be automatically hidden.
A thread archived this way can be unarchived by any member.
- Specified by:
getAutoArchiveDuration
in interfaceThreadChannel
- Returns:
- The inactivity timeframe until a thread is automatically hidden.
- See Also:
-
getTimeCreated
Description copied from interface:ThreadChannel
The timestamp when this thread was created.
This will only be valid for threads created after 2022-01-09. Otherwise, this will return the timestamp of creation based on thethread's id.
- Specified by:
getTimeCreated
in interfaceISnowflake
- Specified by:
getTimeCreated
in interfaceThreadChannel
- Returns:
- The timestamp when this thread was created
- See Also:
-
getSlowmode
public int getSlowmode()Description copied from interface:ISlowmodeChannel
The slowmode set for this channel.
If slowmode is set, this returns anint
between 1 and 21600.
Otherwise, if no slowmode is set, this returns0
.Note bots are unaffected by this.
HavingMESSAGE_MANAGE
orMANAGE_CHANNEL
permission also grants immunity to slowmode.Special case
ForumChannels
use this to limit how many posts a user can create. The client refers to this as the post slowmode.- Specified by:
getSlowmode
in interfaceISlowmodeChannel
- Returns:
- The slowmode for this channel, between 1 and 21600, or
0
if no slowmode is set.
-
join
Description copied from interface:ThreadChannel
Joins this thread, adding the current account to the member list of this thread.Note that joining threads is not a requirement of getting events about the thread.
This will have no effect if the current account is already a member of this thread.The following
ErrorResponses
are possible:MISSING_ACCESS
The request was attempted after the account lost access to theGuild
typically due to being kicked or removed, or after access was lost to this ThreadChannel (either by losing access to the parent of a public ThreadChannel, or losingMANAGE_THREADS
to a private channel).UNKNOWN_CHANNEL
The request was attempted after the channel was deleted.
- Specified by:
join
in interfaceThreadChannel
- Returns:
RestAction
-
leave
Description copied from interface:ThreadChannel
Leaves this thread, removing the current account from the member list of this thread.
This will have no effect if the current account is not a member of this thread.The following
ErrorResponses
are possible:MISSING_ACCESS
The request was attempted after the account lost access to theGuild
typically due to being kicked or removed.UNKNOWN_CHANNEL
The request was attempted after the channel was deleted.
- Specified by:
leave
in interfaceThreadChannel
- Returns:
RestAction
-
addThreadMemberById
Description copied from interface:ThreadChannel
Adds a member to this thread.
This will have no effect if the member is already a member of this thread.The following
ErrorResponses
are possible:MISSING_ACCESS
This can be caused by any of the following:- The request was attempted after the account lost access to the
Guild
, typically due to being kicked or removed. - The user supplied is not a member of this ThreadChannel's
Guild
- The thread is not
invitable
, and the current account does not have theMANAGE_THREADS
permission.
- The request was attempted after the account lost access to the
UNKNOWN_CHANNEL
The request was attempted after the channel was deleted.UNKNOWN_USER
The provided User ID does not belong to a user.INVALID_FORM_BODY
The provided User ID is not a valid snowflake.
- Specified by:
addThreadMemberById
in interfaceThreadChannel
- Parameters:
id
- The id of the member to add.- Returns:
RestAction
-
removeThreadMemberById
Description copied from interface:ThreadChannel
Removes a member from this thread.Removing members from threads requires the
Permission.MANAGE_THREADS
permission unless the thread is private and owned by the current account.The following
ErrorResponses
are possible:MISSING_ACCESS
The request was attempted after the account lost access to theGuild
typically due to being kicked or removed, or the bot losing permissions to perform this action.
This can also be caused if the user supplied is not a member of this ThreadChannel'sGuild
UNKNOWN_CHANNEL
The request was attempted after the channel was deleted.UNKNOWN_USER
The provided User ID does not belong to a user.INVALID_FORM_BODY
The provided User ID is not a valid snowflake.
- Specified by:
removeThreadMemberById
in interfaceThreadChannel
- Parameters:
id
- The id of the member to remove from this thread.- Returns:
RestAction
-
getManager
Description copied from interface:GuildChannel
Returns theChannelManager
for this GuildChannel.
In the ChannelManager, you can modify the name, topic and position of this GuildChannel. You modify multiple fields in one request by chaining setters before callingRestAction.queue()
.- Specified by:
getManager
in interfaceGuildChannel
- Specified by:
getManager
in interfaceISlowmodeChannel
- Specified by:
getManager
in interfaceThreadChannel
- Returns:
- The ChannelManager of this GuildChannel
- See Also:
-
checkCanManage
public void checkCanManage()- Specified by:
checkCanManage
in interfaceGuildChannelMixin<ThreadChannelImpl>
-
getThreadMemberView
-
setLatestMessageIdLong
- Specified by:
setLatestMessageIdLong
in interfaceMessageChannelMixin<ThreadChannelImpl>
-
setAutoArchiveDuration
public ThreadChannelImpl setAutoArchiveDuration(ThreadChannel.AutoArchiveDuration autoArchiveDuration) - Specified by:
setAutoArchiveDuration
in interfaceThreadChannelMixin<ThreadChannelImpl>
-
setParentChannel
-
setLocked
- Specified by:
setLocked
in interfaceThreadChannelMixin<ThreadChannelImpl>
-
setArchived
- Specified by:
setArchived
in interfaceThreadChannelMixin<ThreadChannelImpl>
-
setInvitable
- Specified by:
setInvitable
in interfaceThreadChannelMixin<ThreadChannelImpl>
-
setArchiveTimestamp
- Specified by:
setArchiveTimestamp
in interfaceThreadChannelMixin<ThreadChannelImpl>
-
setCreationTimestamp
- Specified by:
setCreationTimestamp
in interfaceThreadChannelMixin<ThreadChannelImpl>
-
setOwnerId
- Specified by:
setOwnerId
in interfaceThreadChannelMixin<ThreadChannelImpl>
-
setMessageCount
- Specified by:
setMessageCount
in interfaceThreadChannelMixin<ThreadChannelImpl>
-
setTotalMessageCount
- Specified by:
setTotalMessageCount
in interfaceThreadChannelMixin<ThreadChannelImpl>
-
setMemberCount
- Specified by:
setMemberCount
in interfaceThreadChannelMixin<ThreadChannelImpl>
-
setSlowmode
- Specified by:
setSlowmode
in interfaceISlowmodeChannelMixin<ThreadChannelImpl>
-
setAppliedTags
-
setFlags
- Specified by:
setFlags
in interfaceThreadChannelMixin<ThreadChannelImpl>
-
getArchiveTimestamp
public long getArchiveTimestamp() -
getAppliedTagsSet
public gnu.trove.set.TLongSet getAppliedTagsSet() -
getRawFlags
public int getRawFlags()
-