Properties
Private _context
_context: default
Constructors
constructor
Parameters
apiContext: default
logger: ILogger
Methods
getList
Parameters
options: { count?: number; startTime?: number; order?: 0 | 1 }
Optional count?: number
Optional startTime?: number
Optional order?: 0 | 1
get
Parameters
remove
Parameters
Returns Promise<void>
getTotalUnreadCount
- getTotalUnreadCount(includeMuted?: boolean, conversationTypes?: ConversationType[]): Promise<number>
Parameters
Optional includeMuted: boolean
Returns Promise<number>
readAll
merge
Parameters
Returns any[]
获取会话列表