class

Circed::Services::NotificationService

Inherits Reference / Object

Constructors

new(user_repository : Repositories::UserRepository, channel_repository : Repositories::ChannelRepository)
Source

Instance methods

notify_channel(channel : Domain::Channel, message : String, exclude_nickname : String | Nil = nil)
Source
notify_channel(channel_name : String, message : String, exclude_nickname : String | Nil = nil)
Source
notify_channels(nickname : String, channels : Enumerable(Domain::Channel), message : String)
Source
notify_shared_channels(nickname : String, message : String)
Source
notify_user(nickname : String, message : String)
Source