// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; namespace osu.Game.Online.Chat { /// /// Interface for consuming online chat. /// public interface IChatClient : IDisposable { /// /// Fired when a has been joined. /// event Action? ChannelJoined; /// /// Fired when a has been parted. /// event Action? ChannelParted; /// /// Fired when new s have arrived from the server. /// event Action>? NewMessages; /// /// Requests presence information from the server. /// void RequestPresence(); /// /// Fired when the initial user presence information has been received. /// event Action? PresenceReceived; } }