Class: Discorb::Webhook::FollowerWebhook::Channel

Inherits:
DiscordModel
  • Object
show all
Defined in:
lib/discorb/webhook.rb

Overview

Represents a channel of follower webhook.

Instance Attribute Summary collapse

Method Summary

Methods inherited from DiscordModel

#==, #eql?, #hash

Instance Attribute Details

#id -> Discorb::Snowflake (readonly)

Returns The ID of the channel.

Returns:



275
276
277
# File 'lib/discorb/webhook.rb', line 275

def id
  @id
end

#name -> String (readonly)

Returns The name of the channel.

Returns:

  • (String)

    The name of the channel.



277
278
279
# File 'lib/discorb/webhook.rb', line 277

def name
  @name
end