Class: Discordrb::InviteChannel

Inherits:
Object
  • Object
show all
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

Attributes included from IDObject

#id

Method Summary

Methods included from IDObject

#==, #creation_time, synthesise

Instance Attribute Details

#nameString (readonly)


1043
1044
1045
# File 'lib/discordrb/data.rb', line 1043

def name
  @name
end

#typeInteger (readonly)


1046
1047
1048
# File 'lib/discordrb/data.rb', line 1046

def type
  @type
end