refactor uncompleted works exists in Bot Service ...
This commit is contained in:
@@ -2,30 +2,30 @@ using xExceptions.Attributes;
|
||||
|
||||
namespace xBotService.Constants
|
||||
{
|
||||
public enum XBaleBotEndpoints
|
||||
public enum XBotEndpoints
|
||||
{
|
||||
[StringValue("getMe")]
|
||||
[StringValue("/bot{xBotToken}/getMe")]
|
||||
GetMe,
|
||||
|
||||
[StringValue("getChat")]
|
||||
[StringValue("/bot{xBotToken}/getChat")]
|
||||
GetChat,
|
||||
|
||||
[StringValue("sendMessage")]
|
||||
[StringValue("/bot{xBotToken}/sendMessage")]
|
||||
SendMessage,
|
||||
|
||||
[StringValue("getUpdates")]
|
||||
[StringValue("/bot{xBotToken}/getUpdates")]
|
||||
GetUpdates,
|
||||
|
||||
[StringValue("setWebhook")]
|
||||
[StringValue("/bot{xBotToken}/setWebhook")]
|
||||
SetWebhook,
|
||||
|
||||
[StringValue("deleteWebhook")]
|
||||
[StringValue("/bot{xBotToken}/deleteWebhook")]
|
||||
DeleteWebhook,
|
||||
|
||||
[StringValue("answerCallbackQuery")]
|
||||
[StringValue("/bot{xBotToken}/answerCallbackQuery")]
|
||||
AnswerCallbackQuery,
|
||||
|
||||
[StringValue("editMessageReplyMarkup")]
|
||||
[StringValue("/bot{xBotToken}/editMessageReplyMarkup")]
|
||||
EditMessageReplyMarkup,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using xExceptions.Attributes;
|
||||
|
||||
namespace xBotService.Constants
|
||||
{
|
||||
public enum XBotMessageParseMode
|
||||
{
|
||||
[StringValue("HTML")]
|
||||
Html,
|
||||
|
||||
[StringValue("Markdown")]
|
||||
Markdown
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace xBotService.Constants
|
||||
{
|
||||
public struct XBotParams
|
||||
{
|
||||
public const string XLimit = "limit";
|
||||
public const string XOffest = "offset";
|
||||
public const string XTimeout = "timeout";
|
||||
public const string XTokenParam = "{xBotToken}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user