Class TextChannelUpdatePermissionsEvent
- java.lang.Object
- 
- net.dv8tion.jda.api.events.Event
- 
- net.dv8tion.jda.api.events.channel.text.GenericTextChannelEvent
- 
- net.dv8tion.jda.api.events.channel.text.update.TextChannelUpdatePermissionsEvent
 
 
 
- 
- All Implemented Interfaces:
- GenericEvent
 
 @Deprecated @ForRemoval(deadline="4.4.0") @DeprecatedSince("4.2.0") public class TextChannelUpdatePermissionsEvent extends GenericTextChannelEvent Deprecated.This event is no longer feasible due to members not being cached by default. We replaced this event withGenericPermissionOverrideEventand derivatives.Indicates that aTextChannel's permission overrides changed.Can be use to detect when a TextChannel's permission overrides change and get affected Roles/Users.
- 
- 
Constructor SummaryConstructors Constructor Description TextChannelUpdatePermissionsEvent(JDA api, long responseNumber, TextChannel channel, java.util.List<IPermissionHolder> permHolders)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<Member>getChangedMembers()Deprecated.List of affectedMembersjava.util.List<IPermissionHolder>getChangedPermissionHolders()Deprecated.The affectedIPermissionHoldersjava.util.List<Role>getChangedRoles()Deprecated.List of affectedRoles- 
Methods inherited from class net.dv8tion.jda.api.events.channel.text.GenericTextChannelEventgetChannel, getGuild
 - 
Methods inherited from class net.dv8tion.jda.api.events.EventgetJDA, getResponseNumber
 
- 
 
- 
- 
- 
Constructor Detail- 
TextChannelUpdatePermissionsEventpublic TextChannelUpdatePermissionsEvent(@Nonnull JDA api, long responseNumber, @Nonnull TextChannel channel, @Nonnull java.util.List<IPermissionHolder> permHolders)Deprecated.
 
- 
 - 
Method Detail- 
getChangedPermissionHolders@Nonnull public java.util.List<IPermissionHolder> getChangedPermissionHolders() Deprecated.The affectedIPermissionHolders- Returns:
- The affected permission holders
- See Also:
- getChangedRoles(),- getChangedMembers()
 
 - 
getChangedRoles@Nonnull public java.util.List<Role> getChangedRoles() Deprecated.List of affectedRoles- Returns:
- List of affected roles
 
 
- 
 
-