Merge branch 'WhiskeySockets:master' into master

This commit is contained in:
Rajeh Taher
2023-05-08 22:38:25 +03:00
committed by GitHub
3 changed files with 138 additions and 2 deletions

View File

@@ -3,6 +3,13 @@ import type { AccountSettings } from './Auth'
import type { BufferedEventData } from './Events'
import type { MinimalMessage } from './Message'
/** privacy settings in WhatsApp Web */
export type WAPrivacyValue = 'all' | 'contacts' | 'contact_blacklist' | 'none'
export type WAPrivacyOnlineValue = 'all' | 'match_last_seen'
export type WAReadReceiptsValue = 'all' | 'none'
/** set of statuses visible to other people; see updatePresence() in WhatsAppWeb.Send */
export type WAPresence = 'unavailable' | 'available' | 'composing' | 'recording' | 'paused'