struct Circed::Network::NetworkState::ChannelInfo

Overview

Channel information structure - using struct for performance

Defined in:

circed/network/network_state.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, created_at : Time = Time.unix(Time.utc.to_unix)) #

[View source]

Instance Method Detail

def add_member(nickname : String, modes : Set(Char)) : Nil #

[View source]
def ban_list : Set(String) #

[View source]
def ban_list=(ban_list : Set(String)) #

[View source]
def created_at : Time #

[View source]
def created_at=(created_at : Time) #

[View source]
def has_member?(nickname : String) : Bool #

[View source]
def members : Hash(String, Set(Char)) #

[View source]
def members=(members : Hash(String, Set(Char))) #

[View source]
def modes : Set(Char) #

[View source]
def modes=(modes : Set(Char)) #

[View source]
def name : String #

[View source]
def password : String | Nil #

[View source]
def password=(password : String | Nil) #

[View source]
def remove_member(nickname : String) : Set(Char) | Nil #

[View source]
def rename_member(old_nickname : String, new_nickname : String) : Bool #

[View source]
def replace_members(members : Hash(String, Set(Char))) : Nil #

[View source]
def topic : String | Nil #

[View source]
def topic=(topic : String | Nil) #

[View source]
def topic_set_at : Time | Nil #

[View source]
def topic_set_at=(topic_set_at : Time | Nil) #

[View source]
def topic_set_by : String | Nil #

[View source]
def topic_set_by=(topic_set_by : String | Nil) #

[View source]
def user_limit : Int32 | Nil #

[View source]
def user_limit=(user_limit : Int32 | Nil) #

[View source]