Interface ThreadListSyncEvent
-
- All Superinterfaces:
Event,ServerEvent
public interface ThreadListSyncEvent extends ServerEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<java.lang.Long>getChannelIds()The parent channel ids whose threads are being synced.java.util.Set<ThreadMember>getMembers()All thread member objects from the synced threads for the current user, indicating which threads the current user has been added to.java.util.List<ServerThreadChannel>getServerThreadChannels()All active threads in the given channels that the current user can access.-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
-
-
-
Method Detail
-
getChannelIds
java.util.Set<java.lang.Long> getChannelIds()
The parent channel ids whose threads are being synced.- Returns:
- The parent channel ids whose threads are being synced. If omitted, then threads were synced for the entire guild. This array may contain channel_ids that have no active threads as well, so you know to clear that data.
-
getServerThreadChannels
java.util.List<ServerThreadChannel> getServerThreadChannels()
All active threads in the given channels that the current user can access.- Returns:
- The active threads.
-
getMembers
java.util.Set<ThreadMember> getMembers()
All thread member objects from the synced threads for the current user, indicating which threads the current user has been added to.- Returns:
- All thread member objects from the synced threads for the current user.
-
-