added username support to /v2/send endpoint

This commit is contained in:
Bernhard B
2024-05-22 19:21:22 +02:00
parent 07a3beaa97
commit bbd088fc0b
7 changed files with 147 additions and 127 deletions

View File

@@ -2217,10 +2217,7 @@ var doc = `{
"type": "integer"
},
"mentions": {
"type": "array",
"items": {
"$ref": "#/definitions/client.MessageMention"
}
"type": "string"
},
"message": {
"type": "string"
@@ -2232,10 +2229,7 @@ var doc = `{
"type": "string"
},
"quote_mentions": {
"type": "array",
"items": {
"$ref": "#/definitions/client.MessageMention"
}
"type": "string"
},
"quote_message": {
"type": "string"
@@ -2490,20 +2484,6 @@ var doc = `{
}
}
},
"client.MessageMention": {
"type": "object",
"properties": {
"author": {
"type": "string"
},
"length": {
"type": "integer"
},
"start": {
"type": "integer"
}
}
},
"client.SetUsernameResponse": {
"type": "object",
"properties": {