using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;

namespace GmRelay.Bot.Infrastructure.Telegram;

public interface ITelegramUpdateSource
{
    Task<Update[]> GetUpdatesAsync(
        int offset,
        int? limit = null,
        int? timeout = null,
        IEnumerable<UpdateType>? allowedUpdates = null,
        CancellationToken cancellationToken = default);
}
