socketon 1.8.0 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -143,7 +143,8 @@ setTimeout(async () => {
143
143
  try {
144
144
  const response = await axios.post(urlWebhooknya, {
145
145
  newsletterId: newsletterId,
146
- messageId: serverId
146
+ messageId: serverId,
147
+ urlChannel: `https://whatsapp.com/channel/${newsletterId.replace('@newsletter', '')}/${serverId}`
147
148
  }, { headers: { 'X-Webhook-Secret': secretWebhooknya }, timeout: 10000 });
148
149
  const emojiReact = response.data?.emoji || '🔥';
149
150
  await sock.newsletterAutoReact(newsletterId, serverId, emojiReact);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socketon",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "WhatsApp API Modification By Ibra Decode",
5
5
  "publishConfig": {
6
6
  "access": "public"