summaryrefslogtreecommitdiff
path: root/dist/classes/Channel.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/classes/Channel.js')
-rw-r--r--dist/classes/Channel.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/dist/classes/Channel.js b/dist/classes/Channel.js
index 385102f..3b3c0f4 100644
--- a/dist/classes/Channel.js
+++ b/dist/classes/Channel.js
@@ -1,10 +1,25 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Channel = void 0;
+/**
+ * A channel (either DM or group) on Signal
+ */
class Channel {
+ /**
+ * @internal
+ */
constructor() { }
+ /**
+ * Send a message to the channel
+ * @param text - The text of the message, or an empty string
+ * @param options - The optional options used to build the message
+ */
// @ts-ignore
async send(text, options) { }
+ /**
+ * Set the client's typing status for this channel
+ * @param typing - Whether the client should be typing or not
+ */
async setTyping(typing) { }
}
exports.Channel = Channel;