31 lines
725 B
C#
31 lines
725 B
C#
using xExceptions.Attributes;
|
|
|
|
namespace xBotService.Constants
|
|
{
|
|
public enum XBotEndpoints
|
|
{
|
|
[StringValue("/bot{xBotToken}/getMe")]
|
|
GetMe,
|
|
|
|
[StringValue("/bot{xBotToken}/getChat")]
|
|
GetChat,
|
|
|
|
[StringValue("/bot{xBotToken}/sendMessage")]
|
|
SendMessage,
|
|
|
|
[StringValue("/bot{xBotToken}/getUpdates")]
|
|
GetUpdates,
|
|
|
|
[StringValue("/bot{xBotToken}/setWebhook")]
|
|
SetWebhook,
|
|
|
|
[StringValue("/bot{xBotToken}/deleteWebhook")]
|
|
DeleteWebhook,
|
|
|
|
[StringValue("/bot{xBotToken}/answerCallbackQuery")]
|
|
AnswerCallbackQuery,
|
|
|
|
[StringValue("/bot{xBotToken}/editMessageReplyMarkup")]
|
|
EditMessageReplyMarkup,
|
|
}
|
|
} |