ChannelAction

Inherits: DiscordRESTAction < Reference < Object

Inherited By: ChannelCategoryCreateAction, ChannelCategoryEditAction, TextChannelAction, VoiceChannelAction

Description

Abstract channel action.

Methods

return type signature
ChannelAction set_name ( String name )
ChannelAction set_position ( int position )
ChannelAction set_permission_overwrites ( Array overwrites )
ChannelAction reason ( String why )

Constants

  • int MAX_NAME_LENGTH = 100

    Maximum channel name length.

Method Descriptions