
using CSharpFunctionalExtensions;

namespace TelegramSender;

internal class NotificationBroker(
	MessageHub messageHub
) : INotificationBroker
{
	public Task<Result> Enqueue(string message)
	{
		messageHub.Enqueue(message);

		return Task.FromResult(Result.Success());
	}

	public Task<Result> RegisterSenders()
	{
		throw new NotImplementedException();
	}
}