last works ...

This commit is contained in:
2026-11-12 20:19:19 +03:30
parent abc9e05852
commit 45f2815247
48 changed files with 2833 additions and 196594 deletions
+474 -5
View File
@@ -12943,6 +12943,240 @@
}
}
}
},
"/api/v{version}/XBotProvider/Me": {
"get": {
"tags": [
"XBotProvider"
],
"parameters": [
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XBotResUser"
}
}
}
}
}
}
},
"/api/v{version}/XBotProvider/Updates": {
"get": {
"tags": [
"XBotProvider"
],
"parameters": [
{
"name": "Limit",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "Offset",
"in": "query",
"schema": {
"type": "integer",
"format": "int64"
}
},
{
"name": "Timeout",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XBotUpdateResponse"
}
}
}
}
}
}
}
},
"/api/v{version}/XBotProvider/Message": {
"post": {
"tags": [
"XBotProvider"
],
"parameters": [
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/XBotSendMessageRequest"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/XBotSendMessageRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/XBotSendMessageRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/XBotSendMessageRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/XBotMessage"
}
}
}
}
}
}
},
"/api/v{version}/XBotProvider/Test/Hi": {
"get": {
"tags": [
"XBotProvider"
],
"summary": "Check the Controller Up and Running",
"parameters": [
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
}
},
"/api/v{version}/XBotProvider/Test/PassRequireXPowered": {
"get": {
"tags": [
"XBotProvider"
],
"summary": "Check Controller ByPass XPowered Filter",
"parameters": [
{
"name": "version",
"in": "path",
"required": true,
"schema": {
"type": "string",
"default": "1.0"
}
},
{
"name": "X-PoweredBy",
"in": "header",
"description": "a Basic Authorization Filter",
"schema": {
"type": "String",
"default": "SaherElmITCenter"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
}
}
},
"components": {
@@ -14049,17 +14283,17 @@
"memberType": {
"$ref": "#/components/schemas/MemberTypes"
},
"name": {
"type": "string",
"nullable": true,
"readOnly": true
},
"declaringType": {
"$ref": "#/components/schemas/Type"
},
"reflectedType": {
"$ref": "#/components/schemas/Type"
},
"name": {
"type": "string",
"nullable": true,
"readOnly": true
},
"module": {
"$ref": "#/components/schemas/Module"
},
@@ -16020,6 +16254,241 @@
"type": "integer",
"format": "int32"
},
"XBotCallbackQuery": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"data": {
"type": "string",
"nullable": true
},
"user": {
"$ref": "#/components/schemas/XBotResUser"
},
"message": {
"$ref": "#/components/schemas/XBotMessage"
}
},
"additionalProperties": false,
"description": "a Callbacked From a Inline Keyboard ..."
},
"XBotMessage": {
"type": "object",
"properties": {
"messageId": {
"type": "integer",
"format": "int64"
},
"messageThreadId": {
"type": "integer",
"format": "int64"
},
"from": {
"$ref": "#/components/schemas/XBotResUser"
},
"date": {
"type": "integer",
"format": "int64"
},
"chat": {
"nullable": true
},
"senderChat": {
"nullable": true
},
"forwardFrom": {
"$ref": "#/components/schemas/XBotResUser"
},
"forwardFromChat": {
"nullable": true
},
"forwardFromMessageId": {
"type": "integer",
"format": "int64"
},
"forwardDate": {
"type": "integer",
"format": "int64"
},
"replyToMessage": {
"$ref": "#/components/schemas/XBotMessage"
},
"editDate": {
"type": "integer",
"format": "int64"
},
"mediaGroupId": {
"type": "string",
"nullable": true
},
"text": {
"type": "string",
"nullable": true
},
"entities": {
"type": "array",
"items": { },
"nullable": true
},
"animation": {
"nullable": true
},
"audio": {
"nullable": true
},
"document": {
"nullable": true
},
"photo": {
"type": "array",
"items": { },
"nullable": true
},
"sticker": {
"nullable": true
},
"video": {
"nullable": true
},
"voice": {
"nullable": true
},
"caption": {
"type": "string",
"nullable": true
},
"captionEntities": {
"type": "array",
"items": { },
"nullable": true
},
"contact": {
"nullable": true
},
"location": {
"nullable": true
},
"newChatMembers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/XBotResUser"
},
"nullable": true
},
"leftChatMember": {
"$ref": "#/components/schemas/XBotResUser"
},
"invoice": {
"nullable": true
},
"successfulPayment": {
"nullable": true
},
"webAppData": {
"nullable": true
},
"replyMarkup": {
"nullable": true
},
"forumTopicCreated": {
"nullable": true
}
},
"additionalProperties": false,
"description": "Represent a Bot MEssage ..."
},
"XBotResUser": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"isBot": {
"type": "boolean"
},
"lastName": {
"type": "string",
"nullable": true
},
"username": {
"type": "string",
"nullable": true
},
"firstName": {
"type": "string",
"nullable": true
},
"languageCode": {
"type": "string",
"nullable": true
},
"hasMainWebApp": {
"type": "string",
"nullable": true
},
"hasTopicsEnabled": {
"type": "boolean"
},
"allowsUsersToCreateTopics": {
"type": "boolean"
}
},
"additionalProperties": false,
"description": "Represent XBot Response User ..."
},
"XBotSendMessageRequest": {
"type": "object",
"properties": {
"chatId": {
"type": "integer",
"format": "int64"
},
"text": {
"type": "string",
"nullable": true
},
"replyMarkup": {
"nullable": true
},
"messageThreadId": {
"type": "integer",
"format": "int64"
},
"replyToMessageId": {
"type": "integer",
"format": "int64"
}
},
"additionalProperties": false,
"description": "Bot Message Send Request ..."
},
"XBotUpdateResponse": {
"type": "object",
"properties": {
"updateId": {
"type": "integer",
"format": "int64"
},
"message": {
"$ref": "#/components/schemas/XBotMessage"
},
"editedMessage": {
"$ref": "#/components/schemas/XBotMessage"
},
"callbackQuery": {
"$ref": "#/components/schemas/XBotCallbackQuery"
},
"preCheckoutQuery": {
"nullable": true
}
},
"additionalProperties": false,
"description": "Represent an Event in Bot ..."
},
"XCategoryDto": {
"type": "object",
"properties": {