struct Discord::Channel

Defined in:

discordcr/mappings/channel.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(__temp_76 : JSON::PullParser) #

Instance Method Detail

def application_id : ::Union(Snowflake, Nil) #

def application_id=(_application_id : ::Union(Snowflake, Nil)) #

def bitrate : ::Union(UInt32, Nil) #

def bitrate=(_bitrate : ::Union(UInt32, Nil)) #

def guild_id : ::Union(Snowflake, Nil) #

def guild_id=(_guild_id : ::Union(Snowflake, Nil)) #

def icon : ::Union(Bool, Nil) #

def icon=(_icon : ::Union(Bool, Nil)) #

def id : Snowflake #

def id=(_id : Snowflake) #

def last_message_id : ::Union(Snowflake, Nil) #

def last_message_id=(_last_message_id : ::Union(Snowflake, Nil)) #

def name : ::Union(String, Nil) #

def name=(_name : ::Union(String, Nil)) #

def nsfw : ::Union(Bool, Nil) #

def nsfw=(_nsfw : ::Union(Bool, Nil)) #

def owner_id : ::Union(Snowflake, Nil) #

def owner_id=(_owner_id : ::Union(Snowflake, Nil)) #

def parent_id : ::Union(Snowflake, Nil) #

def parent_id=(_parent_id : ::Union(Snowflake, Nil)) #

def permission_overwrites : ::Union(Array(Overwrite), Nil) #

def permission_overwrites=(_permission_overwrites : ::Union(Array(Overwrite), Nil)) #

def position : ::Union(Int32, Nil) #

def position=(_position : ::Union(Int32, Nil)) #

def recipients : ::Union(Array(User), Nil) #

def recipients=(_recipients : ::Union(Array(User), Nil)) #

def to_json(json : JSON::Builder) #

def topic : ::Union(String, Nil) #

def topic=(_topic : ::Union(String, Nil)) #

def type : ChannelType #

def type=(_type : ChannelType) #

def user_limit : ::Union(UInt32, Nil) #

def user_limit=(_user_limit : ::Union(UInt32, Nil)) #