mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-20 16:14:29 +01:00
added username support to /v2/send endpoint
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -2201,10 +2201,7 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"mentions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/client.MessageMention"
|
||||
}
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
@@ -2216,10 +2213,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"quote_mentions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/client.MessageMention"
|
||||
}
|
||||
"type": "string"
|
||||
},
|
||||
"quote_message": {
|
||||
"type": "string"
|
||||
@@ -2474,20 +2468,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"client.MessageMention": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"author": {
|
||||
"type": "string"
|
||||
},
|
||||
"length": {
|
||||
"type": "integer"
|
||||
},
|
||||
"start": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"client.SetUsernameResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
@@ -171,9 +171,7 @@ definitions:
|
||||
edit_timestamp:
|
||||
type: integer
|
||||
mentions:
|
||||
items:
|
||||
$ref: '#/definitions/client.MessageMention'
|
||||
type: array
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
number:
|
||||
@@ -181,9 +179,7 @@ definitions:
|
||||
quote_author:
|
||||
type: string
|
||||
quote_mentions:
|
||||
items:
|
||||
$ref: '#/definitions/client.MessageMention'
|
||||
type: array
|
||||
type: string
|
||||
quote_message:
|
||||
type: string
|
||||
quote_timestamp:
|
||||
@@ -349,15 +345,6 @@ definitions:
|
||||
url:
|
||||
type: string
|
||||
type: object
|
||||
client.MessageMention:
|
||||
properties:
|
||||
author:
|
||||
type: string
|
||||
length:
|
||||
type: integer
|
||||
start:
|
||||
type: integer
|
||||
type: object
|
||||
client.SetUsernameResponse:
|
||||
properties:
|
||||
username:
|
||||
|
||||
Reference in New Issue
Block a user