Skip to content

Commit

Permalink
Release 4.75.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 22, 2024
1 parent c1d2e74 commit 6988529
Show file tree
Hide file tree
Showing 10 changed files with 78 additions and 7 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,19 @@ 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.74.2](https://github.com/open-wa/wa-automate-nodejs/compare/4.74.1...4.74.2)
## [4.75.0](https://github.com/open-wa/wa-automate-nodejs/compare/4.74.2...4.75.0)

### Commits

- ✨ feat: `pinMessage` #3256 [`d434a2a`](https://github.com/open-wa/wa-automate-nodejs/commit/d434a2ab7842b0e24f8eba1f513590f3ed23e62d)
- ✨ feat: `keepMessage` #3256 [`686a71e`](https://github.com/open-wa/wa-automate-nodejs/commit/686a71ec1f0d65464ff02f92eeaf6d4ab43cbba0)
- updated types-only package [`b6a9cd6`](https://github.com/open-wa/wa-automate-nodejs/commit/b6a9cd6095460f258e1bfd4d976e304bf8cc1114)

## [4.74.2](https://github.com/open-wa/wa-automate-nodejs/compare/4.74.1...4.74.2) - 2024-11-21

### Commits

- Release 4.74.2 [`22e89f1`](https://github.com/open-wa/wa-automate-nodejs/commit/22e89f109a6f9274723825705a80c8a5d67147eb)
- 🚑 fix missing isGroup #3253 [`c8e45b6`](https://github.com/open-wa/wa-automate-nodejs/commit/c8e45b6a94754406c67e8ec191dc882f382d6317)
- updated types-only package [`ec082b2`](https://github.com/open-wa/wa-automate-nodejs/commit/ec082b2133a8f0ab39ec0ed516e7e81e766ed2dc)

Expand Down
2 changes: 1 addition & 1 deletion bin/oas-type-schemas.json

Large diffs are not rendered by default.

52 changes: 52 additions & 0 deletions docs/docs/reference/api/Client/classes/Client.md
Original file line number Diff line number Diff line change
Expand Up @@ -2597,6 +2597,28 @@ true to join the beta, false to leave

***

### keepMessage()

> **keepMessage**(`id`, `keep`): `Promise`\<`boolean`\>
Keep a message inside an ephemeral chat

#### Parameters

**id**: [`MessageId`](/reference/api/model/aliases/type-aliases/MessageId.md)

The id of the message

**keep**: `boolean`

#### Returns

`Promise`\<`boolean`\>

boolean true: worked

***

### kill()

> **kill**(`reason`): `Promise`\<`boolean`\>
Expand Down Expand Up @@ -2987,6 +3009,36 @@ The id of the conversation

**pin**: `boolean`

boolean true => pin, false => unpin

#### Returns

`Promise`\<`boolean`\>

boolean true: worked

***

### pinMessage()

> **pinMessage**(`id`, `pin`, `pinDuration`): `Promise`\<`boolean`\>
Pin/Unpin message

#### Parameters

**id**: [`MessageId`](/reference/api/model/aliases/type-aliases/MessageId.md)

The id of the message

**pin**: `boolean`

boolean true => pin, false => unpin

**pinDuration**: [`MessagePinDuration`](/reference/api/model/message/type-aliases/MessagePinDuration.md) = `"ThirtyDays"`

The length of time to pin the message. Default `ThirtyDays`

#### Returns

`Promise`\<`boolean`\>
Expand Down
6 changes: 6 additions & 0 deletions docs/docs/reference/api/model/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,12 @@ Re-exports [MessageInfoInteraction](/reference/api/model/message/interfaces/Mess

***

### MessagePinDuration

Re-exports [MessagePinDuration](/reference/api/model/message/type-aliases/MessagePinDuration.md)

***

### MessageTypes

Re-exports [MessageTypes](/reference/api/model/message/enumerations/MessageTypes.md)
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/reference/api/model/message/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@
- [PollVote](/reference/api/model/message/interfaces/PollVote.md)
- [QuoteMap](/reference/api/model/message/interfaces/QuoteMap.md)
- [ReactionSender](/reference/api/model/message/interfaces/ReactionSender.md)

### Type Aliases

- [MessagePinDuration](/reference/api/model/message/type-aliases/MessagePinDuration.md)
2 changes: 1 addition & 1 deletion docs/docs/reference/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @open-wa/wa-automate v4.74.2
# @open-wa/wa-automate v4.75.0

## Modules

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/reference/typedoc-sidebar.cjs

Large diffs are not rendered by default.

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.74.2",
"version": "4.75.0",
"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 6988529

Please sign in to comment.