Class: Discordrb::InviteChannel
- Inherits:
-
Object
- Object
- Discordrb::InviteChannel
- Includes:
- IDObject
- Defined in:
- lib/discordrb/data.rb
Overview
A channel referenced by an invite. It has less data than regular channels, so it's a separate class
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
This channel's name.
-
#type ⇒ Integer
readonly
This channel's type (0: text, 1: private, 2: voice, 3: group).
Attributes included from IDObject
Method Summary
Methods included from IDObject
#==, #creation_time, synthesise
Instance Attribute Details
#name ⇒ String (readonly)
Returns this channel's name.
1083 1084 1085 |
# File 'lib/discordrb/data.rb', line 1083 def name @name end |
#type ⇒ Integer (readonly)
Returns this channel's type (0: text, 1: private, 2: voice, 3: group).
1086 1087 1088 |
# File 'lib/discordrb/data.rb', line 1086 def type @type end |