Class: Discorb::GuildTemplate::TemplateGuild::Channel
- Inherits:
 - 
      DiscordModel
      
        
- Object
 - DiscordModel
 - Discorb::GuildTemplate::TemplateGuild::Channel
 
 
- Defined in:
 - lib/discorb/guild_template.rb
 
Overview
Represents a channel in guild template.
Instance Attribute Summary collapse
- 
  
    
      #bitrate -> Integer 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The bitrate of the channel.
 - 
  
    
      #name -> String 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The name of the channel.
 - 
  
    
      #nsfw -> Boolean 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Whether the channel is nsfw.
 - 
  
    
      #position -> Integer 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The position of the channel.
 - 
  
    
      #rate_limit_per_user -> Integer 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The rate limit of the channel.
 - 
  
    
      #topic -> String 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The type of the channel.
 - 
  
    
      #type -> Class 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The class of the channel.
 - 
  
    
      #user_limit -> Integer 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The user limit of the channel.
 
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#bitrate -> Integer (readonly)
Returns The bitrate of the channel.
      224 225 226  | 
    
      # File 'lib/discorb/guild_template.rb', line 224 def bitrate @bitrate end  | 
  
#name -> String (readonly)
Returns The name of the channel.
      218 219 220  | 
    
      # File 'lib/discorb/guild_template.rb', line 218 def name @name end  | 
  
#nsfw -> Boolean (readonly)
Returns Whether the channel is nsfw.
      228 229 230  | 
    
      # File 'lib/discorb/guild_template.rb', line 228 def nsfw @nsfw end  | 
  
#position -> Integer (readonly)
Returns The position of the channel.
      220 221 222  | 
    
      # File 'lib/discorb/guild_template.rb', line 220 def position @position end  | 
  
#rate_limit_per_user -> Integer (readonly)
Returns The rate limit of the channel.
      230 231 232  | 
    
      # File 'lib/discorb/guild_template.rb', line 230 def rate_limit_per_user @rate_limit_per_user end  | 
  
#topic -> String (readonly)
Returns The type of the channel.
      222 223 224  | 
    
      # File 'lib/discorb/guild_template.rb', line 222 def topic @topic end  | 
  
#type -> Class (readonly)
Returns The class of the channel.
      232 233 234  | 
    
      # File 'lib/discorb/guild_template.rb', line 232 def type @type end  | 
  
#user_limit -> Integer (readonly)
Returns The user limit of the channel.
      226 227 228  | 
    
      # File 'lib/discorb/guild_template.rb', line 226 def user_limit @user_limit end  |