refactor(client): move sendReaction method to the Client (#201695)
`Message.react` moved to `Client.sendReaction`
This commit is contained in:
parent
a0ff21e67c
commit
11594b2887
3 changed files with 34 additions and 18 deletions
6
index.d.ts
vendored
6
index.d.ts
vendored
|
|
@ -210,6 +210,12 @@ declare namespace WAWebJS {
|
|||
options?: MessageSendOptions,
|
||||
): Promise<Message>;
|
||||
|
||||
/** Send a reaction to a specific messageId */
|
||||
sendReaction(
|
||||
messageId: string,
|
||||
reaction: string,
|
||||
): Promise<void>;
|
||||
|
||||
/** Sends a channel admin invitation to a user, allowing them to become an admin of the channel */
|
||||
sendChannelAdminInvite(
|
||||
chatId: string,
|
||||
|
|
|
|||
Loading…
Reference in a new issue