mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-20 16:14:29 +01:00
Support attachment base64 and custom filename.
This commit is contained in:
@@ -1686,7 +1686,8 @@ var doc = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"base64_attachment": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"example": "<BASE64 ENCODED DATA> or 'data:<MIME-TYPE>;base64,<BASE64 ENCODED DATA>' or 'data:<MIME-TYPE>;filename=<FILENAME>;base64,<BASE64 ENCODED DATA>'"
|
||||
},
|
||||
"is_group": {
|
||||
"type": "boolean"
|
||||
@@ -1711,7 +1712,8 @@ var doc = `{
|
||||
"base64_attachments": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"example": "<BASE64 ENCODED DATA> or 'data:<MIME-TYPE>;base64,<BASE64 ENCODED DATA>' or 'data:<MIME-TYPE>;filename=<FILENAME>;base64,<BASE64 ENCODED DATA>'"
|
||||
}
|
||||
},
|
||||
"message": {
|
||||
|
||||
@@ -1670,7 +1670,8 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"base64_attachment": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"example": "<BASE64 ENCODED DATA> or 'data:<MIME-TYPE>;base64,<BASE64 ENCODED DATA>' or 'data:<MIME-TYPE>;filename=<FILENAME>;base64,<BASE64 ENCODED DATA>'"
|
||||
},
|
||||
"is_group": {
|
||||
"type": "boolean"
|
||||
@@ -1695,7 +1696,8 @@
|
||||
"base64_attachments": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"example": "<BASE64 ENCODED DATA> or 'data:<MIME-TYPE>;base64,<BASE64 ENCODED DATA>' or 'data:<MIME-TYPE>;filename=<FILENAME>;base64,<BASE64 ENCODED DATA>'"
|
||||
}
|
||||
},
|
||||
"message": {
|
||||
|
||||
@@ -107,6 +107,7 @@ definitions:
|
||||
properties:
|
||||
base64_attachment:
|
||||
type: string
|
||||
example: "<BASE64 ENCODED DATA> or 'data:<MIME-TYPE>;base64,<BASE64 ENCODED DATA>' or 'data:<MIME-TYPE>;filename=<FILENAME>;base64,<BASE64 ENCODED DATA>'"
|
||||
is_group:
|
||||
type: boolean
|
||||
message:
|
||||
@@ -123,6 +124,7 @@ definitions:
|
||||
base64_attachments:
|
||||
items:
|
||||
type: string
|
||||
example: "<BASE64 ENCODED DATA> or 'data:<MIME-TYPE>;base64,<BASE64 ENCODED DATA>' or 'data:<MIME-TYPE>;filename=<FILENAME>;base64,<BASE64 ENCODED DATA>'"
|
||||
type: array
|
||||
message:
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user