@andrey4emk/npm-app-back-b24 3.0.1 → 3.0.2
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.
- package/package.json +1 -1
- package/sendMessage/wappi.ts +0 -5
package/package.json
CHANGED
package/sendMessage/wappi.ts
CHANGED
|
@@ -170,11 +170,6 @@ export class Wappi {
|
|
|
170
170
|
url = `https://wappi.pro/maxapi/async/message/file/url/send?${sendOpenLine}profile_id=${profile_id}`;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
// Max при отправке pdf не прикрепляет сообщение caption, поэтому отправляем его отдельно
|
|
174
|
-
if (fileName.includes(".pdf") && messangerType === "max") {
|
|
175
|
-
await this.sendMessageWappi(messangerType, { phone, message });
|
|
176
|
-
}
|
|
177
|
-
|
|
178
173
|
const res = await fetch(url!, {
|
|
179
174
|
method: "POST",
|
|
180
175
|
headers: {
|