Circed::Network::NetworkState::ChannelInfo
Inherits Struct / Value / Object
Channel information structure - using struct for performance
Constructors
new(name : String, created_at : Time = Time.unix(Time.utc.to_unix))
SourceInstance methods
add_member(nickname : String, modes : Set(Char)) : Nil
Sourceban_list
Sourceban_list=(ban_list : Set(String))
Sourcecreated_at
Sourcecreated_at=(created_at : Time)
Sourcehas_member?(nickname : String) : Bool
Sourcemembers
Sourcemembers=(members : Hash(String, Set(Char)))
Sourcemodes
Sourcemodes=(modes : Set(Char))
Sourcename
Sourcepassword
Sourcepassword=(password : String | Nil)
Sourceremove_member(nickname : String) : Set(Char) | Nil
Sourcerename_member(old_nickname : String, new_nickname : String) : Bool
Sourcereplace_members(members : Hash(String, Set(Char))) : Nil
Sourcetopic
Sourcetopic=(topic : String | Nil)
Sourcetopic_set_at
Sourcetopic_set_at=(topic_set_at : Time | Nil)
Sourcetopic_set_by
Sourcetopic_set_by=(topic_set_by : String | Nil)
Sourceuser_limit
Sourceuser_limit=(user_limit : Int32 | Nil)
Source