Skip to content

Commit

Permalink
Release 4.71.9
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 14, 2024
1 parent 402efbf commit 0a48477
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 8 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

## [4.71.8](https://github.com/open-wa/wa-automate-nodejs/compare/4.71.6...4.71.8)
## [4.71.9](https://github.com/open-wa/wa-automate-nodejs/compare/4.71.8...4.71.9)

### Commits

- ✨ [insiders] can now send custom size link previews as a quotedmsg #3196 [`402efbf`](https://github.com/open-wa/wa-automate-nodejs/commit/402efbf699f19765f1ffc9b29405e60c04f2fb75)
- updated types-only package [`60f7a09`](https://github.com/open-wa/wa-automate-nodejs/commit/60f7a0935e973e5ab6ea44e4d9057a1232531bb8)

## [4.71.8](https://github.com/open-wa/wa-automate-nodejs/compare/4.71.6...4.71.8) - 2024-04-12

### Fixed

Expand All @@ -16,6 +23,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
### Commits

- updated types-only package [`66d1ecd`](https://github.com/open-wa/wa-automate-nodejs/commit/66d1ecd15c4bac8535f59acd92aadb8bf91a279e)
- Release 4.71.8 [`e1f2d14`](https://github.com/open-wa/wa-automate-nodejs/commit/e1f2d141939af0d402623736df93aebdcdc5036e)
- 🔧 fix twemoji url AGAIN! [`9486c4f`](https://github.com/open-wa/wa-automate-nodejs/commit/9486c4fe2c655d2d930c3ddb6b23a355a4124c69)
- updated types-only package [`1d6adb2`](https://github.com/open-wa/wa-automate-nodejs/commit/1d6adb212573a05709aac38cd4c83e9b5dbe6ec5)

Expand Down
18 changes: 15 additions & 3 deletions docs-v3/docs/api/classes/api_Client.Client.md
Original file line number Diff line number Diff line change
Expand Up @@ -3608,7 +3608,7 @@ ___

### sendLinkWithAutoPreview

**sendLinkWithAutoPreview**(`to`, `url`, `text?`, `thumbnail?`): `Promise`<`boolean` \| [`MessageId`](/api/types/api_model_aliases.MessageId.md)\>
**sendLinkWithAutoPreview**(`to`, `url`, `text?`, `thumbnail?`, `quotedMsgId?`, `customSize?`): `Promise`<`boolean` \| [`MessageId`](/api/types/api_model_aliases.MessageId.md)\>

Automatically sends a link with the auto generated link preview. You can also add a custom message.

Expand All @@ -3620,6 +3620,10 @@ Automatically sends a link with the auto generated link preview. You can also ad
| `url` | `string` | string A link. |
| `text?` | [`Content`](/api/types/api_model_aliases.Content.md) | string Custom text as body of the message, this needs to include the link or it will be appended after the link. |
| `thumbnail?` | [`Base64`](/api/types/api_model_aliases.Base64.md) | Base64 of the jpeg/png which will be used to override the automatically generated thumbnail. |
| `quotedMsgId?` | [`MessageId`](/api/types/api_model_aliases.MessageId.md) | [INSIDERS] Send this link preview message in response to a given quoted message |
| `customSize?` | `Object` | [INSIDERS] Anchor the size of the thumbnail (e.g {height: 100, width: 100}) |
| `customSize.height` | `number` | - |
| `customSize.width` | `number` | - |

#### Returns

Expand Down Expand Up @@ -3687,7 +3691,7 @@ ___

### sendMessageWithThumb

**sendMessageWithThumb**(`thumb`, `url`, `title`, `description`, `text`, `chatId`): `Promise`<`boolean` \| [`MessageId`](/api/types/api_model_aliases.MessageId.md)\>
**sendMessageWithThumb**(`thumb`, `url`, `title`, `description`, `text`, `chatId`, `quotedMsgId?`, `customSize?`): `Promise`<`boolean` \| [`MessageId`](/api/types/api_model_aliases.MessageId.md)\>

Sends a link to a chat that includes a link preview.

Expand All @@ -3701,6 +3705,10 @@ Sends a link to a chat that includes a link preview.
| `description` | `string` | The long description of the link preview |
| `text` | [`Content`](/api/types/api_model_aliases.Content.md) | The text you want to inslude in the message section. THIS HAS TO INCLUDE THE URL otherwise the url will be prepended to the text automatically. |
| `chatId` | [`ChatId`](/api/types/api_model_aliases.ChatId.md) | The chat you want to send this message to. |
| `quotedMsgId?` | [`MessageId`](/api/types/api_model_aliases.MessageId.md) | [INSIDERS] Send this link preview message in response to a given quoted message |
| `customSize?` | `Object` | [INSIDERS] Anchor the size of the thumbnail (e.g {height: 100, width: 100}) |
| `customSize.height` | `number` | - |
| `customSize.width` | `number` | - |

#### Returns

Expand Down Expand Up @@ -4078,7 +4086,7 @@ ___

### sendYoutubeLink

**sendYoutubeLink**(`to`, `url`, `text?`, `thumbnail?`): `Promise`<`boolean` \| [`MessageId`](/api/types/api_model_aliases.MessageId.md)\>
**sendYoutubeLink**(`to`, `url`, `text?`, `thumbnail?`, `quotedMsgId?`, `customSize?`): `Promise`<`boolean` \| [`MessageId`](/api/types/api_model_aliases.MessageId.md)\>

Automatically sends a youtube link with the auto generated link preview. You can also add a custom message.

Expand All @@ -4090,6 +4098,10 @@ Automatically sends a youtube link with the auto generated link preview. You can
| `url` | `string` | `undefined` | string A youtube link. |
| `text` | [`Content`](/api/types/api_model_aliases.Content.md) | `''` | string Custom text as body of the message, this needs to include the link or it will be appended after the link. |
| `thumbnail?` | [`Base64`](/api/types/api_model_aliases.Base64.md) | `undefined` | string Base64 of the jpeg/png which will be used to override the automatically generated thumbnail. |
| `quotedMsgId?` | [`MessageId`](/api/types/api_model_aliases.MessageId.md) | `undefined` | [INSIDERS] Send this link preview message in response to a given quoted message |
| `customSize?` | `Object` | `undefined` | [INSIDERS] Anchor the size of the thumbnail (e.g {height: 100, width: 100}) |
| `customSize.height` | `number` | `undefined` | - |
| `customSize.width` | `number` | `undefined` | - |

#### Returns

Expand Down
2 changes: 1 addition & 1 deletion docs-v3/docs/api/reference
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: "reference"
title: "@open-wa/wa-automate - v4.71.8"
title: "@open-wa/wa-automate - v4.71.9"
sidebar_label: "Readme"
sidebar_position: 0
custom_edit_url: null
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@open-wa/wa-automate",
"version": "4.71.8",
"version": "4.71.9",
"licenseCheckUrl": "https://funcs.openwa.dev/license-check",
"brokenMethodReportUrl": "https://funcs.openwa.dev/report-bm",
"patches": "https://cdn.openwa.dev/patches.json",
Expand Down
Binary file modified release.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0a48477

Please sign in to comment.