using System.Threading;
using xBotService.Models;
using xBotService.Constants;
using System.Threading.Tasks;
using System.Collections.Generic;
using xCommons.Extensions;
namespace xBotService.Interfaces
{
public interface IXBotProvider
{
///
/// Retrieve Bot Info ...
///
///
///
Task GetMe(
CancellationToken cancellationToken = default
);
///
/// Retrieve Messages ...
///
///
///
///
Task> GetUpdates(
XBotUpdatesRequest requestModel,
CancellationToken cancellationToken = default
);
///
/// Sending Simple String Message to Bot ...
///
///
///
///
Task SendMessage(
XBotSendMessageRequest requestModel,
CancellationToken cancellationToken = default
);
///
/// Show Verification Request Menu ...
///
///
///
///
///
Task ShowVerificationMenu(
long botUserId,
string label = XBotMessageIds.XBotRequestVerificationCodeLabel,
CancellationToken cancellationToken = default
);
///
/// Send Verification Code to Requests ...
///
///
///
///
///
///
// Task SendVerificationCode(
// long chatId,
// string code,
// int ttlSeconds,
// CancellationToken cancellationToken = default
// );
///
/// an Accept for Exit Loading on Bot ...
///
///
///
///
///
///
// Task AnswerCallbackQuery(
// string callbackQueryId,
// string text = null,
// bool showAlert = false,
// CancellationToken cancellationToken = default
// );
///
/// Remove Inline Keyboard After Click (Optional) ...
///
///
///
///
///
// Task RemoveInlineKeyboard(
// long chatId,
// long messageId,
// CancellationToken cancellationToken = default
// );
///
/// Set Webhook for Retrieve Messages on Recieved ...
///
///
///
///
///
// Task SetWebhook(
// string webhookUrl,
// string secretToken = null,
// CancellationToken cancellationToken = default
// );
}
}