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?

Instance Attribute Details

#id -> Discorb::Snowflake (readonly)

Returns The ID of the channel.

Returns:



264
265
266
# File 'lib/discorb/webhook.rb', line 264

def id
  @id
end

#name -> String (readonly)

Returns The name of the channel.

Returns:

  • (String)

    The name of the channel.



266
267
268
# File 'lib/discorb/webhook.rb', line 266

def name
  @name
end