struct Cryscord::Channel
- Cryscord::Channel
- Struct
- Value
- Object
Defined in:
channel.crConstructors
Instance Method Summary
- #application_id : Snowflake | Nil
- #bitrate : UInt32 | Nil
- #clone
- #copy_with(id _id = @id, type _type = @type, guild_id _guild_id = @guild_id, position _position = @position, name _name = @name, topic _topic = @topic, nsfw _nsfw = @nsfw, last_message_id _last_message_id = @last_message_id, bitrate _bitrate = @bitrate, user_limit _user_limit = @user_limit, rate_limit_per_user _rate_limit_per_user = @rate_limit_per_user, recipients _recipients = @recipients, icon _icon = @icon, owner_id _owner_id = @owner_id, application_id _application_id = @application_id, managed _managed = @managed, parent_id _parent_id = @parent_id, last_pin_timestamp _last_pin_timestamp = @last_pin_timestamp)
- #guild_id : Snowflake | Nil
- #icon : String | Nil
- #id : Snowflake
- #last_message_id : Snowflake | Nil
- #last_pin_timestamp
- #managed : Bool
- #name : String | Nil
- #nsfw : Bool
- #owner_id : Snowflake | Nil
- #parent_id : Snowflake | Nil
- #position : UInt32 | Nil
- #rate_limit_per_user : UInt32 | Nil
- #recipients : UserArray
- #topic : String | Nil
- #type : Channel::Type
- #user_limit : UInt32 | Nil
Constructor Detail
def self.new(id : Snowflake, type : Channel::Type, guild_id : Snowflake | Nil = nil, position : UInt32 | Nil = nil, name : String | Nil = "", topic : String | Nil = "", nsfw : Bool = false, last_message_id : Snowflake | Nil = nil, bitrate : UInt32 | Nil = nil, user_limit : UInt32 | Nil = nil, rate_limit_per_user : UInt32 | Nil = nil, recipients : UserArray = UserArray.new, icon : String | Nil = "", owner_id : Snowflake | Nil = nil, application_id : Snowflake | Nil = nil, managed : Bool = false, parent_id : Snowflake | Nil = nil, last_pin_timestamp : String | Nil = "")
#
Instance Method Detail
def copy_with(id _id = @id, type _type = @type, guild_id _guild_id = @guild_id, position _position = @position, name _name = @name, topic _topic = @topic, nsfw _nsfw = @nsfw, last_message_id _last_message_id = @last_message_id, bitrate _bitrate = @bitrate, user_limit _user_limit = @user_limit, rate_limit_per_user _rate_limit_per_user = @rate_limit_per_user, recipients _recipients = @recipients, icon _icon = @icon, owner_id _owner_id = @owner_id, application_id _application_id = @application_id, managed _managed = @managed, parent_id _parent_id = @parent_id, last_pin_timestamp _last_pin_timestamp = @last_pin_timestamp)
#