Class: Discorb::Webhook::FollowerWebhook::Channel
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- Discorb::Webhook::FollowerWebhook::Channel
- Defined in:
- lib/discorb/webhook.rb
Overview
Represents a channel of follower webhook.
Instance Attribute Summary collapse
-
#id -> Discorb::Snowflake
readonly
The ID of the channel.
-
#name -> String
readonly
The name of the channel.
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#id -> Discorb::Snowflake (readonly)
Returns The ID of the channel.
261 262 263 |
# File 'lib/discorb/webhook.rb', line 261 def id @id end |
#name -> String (readonly)
Returns The name of the channel.
263 264 265 |
# File 'lib/discorb/webhook.rb', line 263 def name @name end |