Reviewed-on: #3 Co-authored-by: Sergey Nazarov <insight.appdev@gmail.com> Co-committed-by: Sergey Nazarov <insight.appdev@gmail.com>
10 lines
245 B
C#
10 lines
245 B
C#
using Insight.TelegramBot.Models;
|
|
|
|
namespace Nocr.TelegramClient.AppServices.Bots.MessageDispatcher;
|
|
|
|
public interface IMessageDispatcherQueue
|
|
{
|
|
public void Enqueue(BotMessage message);
|
|
|
|
public bool TryDequeue(out BotMessage? message);
|
|
} |