mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Added method to block/unblock user (close #233)
This commit is contained in:
@@ -428,6 +428,10 @@ export interface PresenceUpdate {
|
||||
type?: Presence
|
||||
deny?: boolean
|
||||
}
|
||||
export interface BlocklistUpdate {
|
||||
added: string[]
|
||||
removed: string[]
|
||||
}
|
||||
// path to upload the media
|
||||
export const MediaPathMap = {
|
||||
imageMessage: '/mms/image',
|
||||
@@ -467,4 +471,5 @@ export type BaileysEvent =
|
||||
'group-update' |
|
||||
'received-pong' |
|
||||
'credentials-updated' |
|
||||
'connection-validated'
|
||||
'connection-validated' |
|
||||
'blocklist-update'
|
||||
Reference in New Issue
Block a user