class Discorb::Webhook::FollowerWebhook::Channel
Represents a channel of follower webhook.
Attributes
id[R]
@return [Discorb::Snowflake] The ID of the channel.
name[R]
@return [String] The name of the channel.
Public Class Methods
new(data)
click to toggle source
@!visibility private
# File lib/discorb/webhook.rb, line 278 def initialize(data) @id = Snowflake.new(data[:id]) @name = data[:name] end