mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Update chats.ts
This commit is contained in:
@@ -780,7 +780,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
|
||||
/**
|
||||
* Star or Unstar a message
|
||||
*/
|
||||
const star = (jid: string, messages: { id: string; fromMe?: boolean }[], star: boolean) => {
|
||||
const star = (jid: string, messages: { id: string, fromMe?: boolean }[], star: boolean) => {
|
||||
return chatModify({
|
||||
star: {
|
||||
messages,
|
||||
@@ -788,7 +788,7 @@ export const makeChatsSocket = (config: SocketConfig) => {
|
||||
}
|
||||
}, jid)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Adds label for the chats
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user