Method: Discordrb::InviteChannel#type

Defined in:
lib/discordrb/data/invite.rb

#typeInteger (readonly)

Returns this channel's type (0: text, 1: private, 2: voice, 3: group).

Returns:

  • (Integer)

    this channel's type (0: text, 1: private, 2: voice, 3: group).



12
13
14
# File 'lib/discordrb/data/invite.rb', line 12

def type
  @type
end