using System; using System.Threading.Tasks; namespace FinlyticBot.Services.Mqtt; public interface IBotRpcClient { Task SendRpcRequestAsync( string channel, TRequest requestData, TimeSpan? timeout = null) where TResponse : class where TRequest : class; Task PublishAsync(string topic, T data, bool retain = false); }