summaryrefslogtreecommitdiff
path: root/dist/classes/GroupStickerMessage.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/classes/GroupStickerMessage.js')
-rw-r--r--dist/classes/GroupStickerMessage.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/dist/classes/GroupStickerMessage.js b/dist/classes/GroupStickerMessage.js
index 45f4fc2..3d48191 100644
--- a/dist/classes/GroupStickerMessage.js
+++ b/dist/classes/GroupStickerMessage.js
@@ -6,9 +6,17 @@ const Group_1 = require("./Group");
const Sticker_1 = require("./Sticker");
const StickerSource_1 = require("../enums/StickerSource");
/**
- * A sticker message as sent by Signal
+ * A sticker message sent in a {@link Group}
*/
class GroupStickerMessage extends GroupMessage_1.GroupMessage {
+ /**
+ * @param user - The author of the message
+ * @param data - Data associated with the sticker
+ * @param time - The timestamp the message was sent at
+ * @param groupId - The group the message was sent in
+ * @param client
+ * @internal
+ */
constructor(user, data, time, groupId, client) {
super(user, time, new Group_1.Group(groupId, client), client, data.expiresInSeconds);
this.sticker = new Sticker_1.Sticker(StickerSource_1.StickerSource.Received, data.sticker, client);