mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
refactor: specify pin mutation with boolean
This commit is contained in:
@@ -30,9 +30,8 @@ export type Chat = Omit<proto.IConversation, 'messages'> & {
|
|||||||
|
|
||||||
export type ChatModification =
|
export type ChatModification =
|
||||||
{ archive: boolean } |
|
{ archive: boolean } |
|
||||||
{
|
{
|
||||||
/** pin at current timestamp, or provide timestamp of pin to remove */
|
pin: boolean
|
||||||
pin: number | null
|
|
||||||
} |
|
} |
|
||||||
{
|
{
|
||||||
/** mute for duration, or provide timestamp of mute to remove*/
|
/** mute for duration, or provide timestamp of mute to remove*/
|
||||||
|
|||||||
Reference in New Issue
Block a user