mirror of
https://github.com/Skylar-Tech/node-red-contrib-matrix-chat.git
synced 2026-05-21 22:53:15 -06:00
#102 Added new node for file uploading
#102 File upload node automatically detects mime type from name #102 File upload node automatically fills in information for m.video, m.audio, and m.image (resolution, duration, etc) #102 File upload node can generate a thumbnail for videos #102 Send message node now accepts an object to override the message content
This commit is contained in:
@@ -43,6 +43,9 @@
|
||||
<label for="node-input-message"><i class="fa fa-comment"></i> Message</label>
|
||||
<textarea id="node-input-message" placeholder="msg.payload" style="width: 70%;"></textarea>
|
||||
</div>
|
||||
<div class="form-row form-tips">
|
||||
If message is an object it sets the full content of the message.
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<input
|
||||
@@ -104,9 +107,9 @@
|
||||
<dd> Room ID to send image to. Optional if configured on the node. If configured on the node this input will be overridden.</dd>
|
||||
|
||||
<dt>msg.payload
|
||||
<span class="property-type">string</span>
|
||||
<span class="property-type">string|object</span>
|
||||
</dt>
|
||||
<dd> the message text. If configured on the node this is ignored otherwise it required. </dd>
|
||||
<dd> the message text or an object to customize the full content. If configured on the node this is ignored otherwise it required. </dd>
|
||||
|
||||
<dt>msg.replace
|
||||
<span class="property-type">bool</span>
|
||||
|
||||
Reference in New Issue
Block a user