mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-19 23:54:22 +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": {
|
||||
|
||||
Reference in New Issue
Block a user