// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Framework.Allocation; namespace osu.Game.Online.Chat { [Cached(typeof(IChannelPostTarget))] public interface IChannelPostTarget { /// /// Posts a message to the currently opened channel. /// /// The message text that is going to be posted /// Is true if the message is an action, e.g.: user is currently eating /// An optional target channel. If null, will be used. void PostMessage(string text, bool isAction = false, Channel target = null); } }