Implement get-folders
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
api_hash: { value: "", required: true },
|
||||
phoneNumber: { value: "", required: true },
|
||||
password: { value: "" },
|
||||
sessionLocation: { value: "" },
|
||||
},
|
||||
inputs: 1,
|
||||
outputs: 1,
|
||||
@@ -20,6 +21,7 @@
|
||||
$("#node-input-api_hash").val(this.api_hash || "");
|
||||
$("#node-input-phoneNumber").val(this.phoneNumber || "");
|
||||
$("#node-input-password").val(this.password || "");
|
||||
$("#node-input-sessionLocation").val(this.sessionLocation || "");
|
||||
},
|
||||
oneditsave: function () {
|
||||
// Saving values
|
||||
@@ -27,6 +29,7 @@
|
||||
this.api_hash = $("#node-input-api_hash").val();
|
||||
this.phoneNumber = $("#node-input-phoneNumber").val();
|
||||
this.password = $("#node-input-password").val();
|
||||
this.sessionLocation = $("#node-input-sessionLocation").val();
|
||||
},
|
||||
});
|
||||
</script>
|
||||
@@ -70,6 +73,17 @@
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<label for="node-input-sessionLocation">
|
||||
<i class="fa fa-folder"></i> Session Location
|
||||
</label>
|
||||
<input
|
||||
type="text"
|
||||
id="node-input-sessionLocation"
|
||||
placeholder="Enter the session location"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<strong>Note:</strong> This configuration is required for connecting to the
|
||||
Telegram API and starting a session.
|
||||
@@ -111,6 +125,14 @@
|
||||
The password for two-factor authentication (if enabled on the Telegram
|
||||
account).
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
payload.sessionLocation
|
||||
<span class="property-type">string</span>
|
||||
</dt>
|
||||
<dd>
|
||||
The location to store the session string. Uses stringSession by default.
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h3>Outputs</h3>
|
||||
|
||||
Reference in New Issue
Block a user