Functions
clearRemindTypeForConversation
- clearRemindTypeForConversation(params: { conversationId: string; type: CONVERSATIONTYPE; error?: any; success?: any }): Promise<AsyncResult<SilentModeType.SilentModeConversationType>>
Parameters
params: { conversationId: string; type: CONVERSATIONTYPE; error?: any; success?: any }
conversationId: string
type: CONVERSATIONTYPE
error?:function
- error(error: ErrorEvent): void
success?:function
- success(res: AsyncResult<SilentModeConversationType>): void
Returns Promise<AsyncResult<SilentModeType.SilentModeConversationType>>
getPushPerformLanguage
- getPushPerformLanguage(params?: { error?: any; success?: any }): Promise<AsyncResult<SilentModeType.TranslationLanguageType>>
Parameters
Optional params: { error?: any; success?: any }
error?:function
- error(error: ErrorEvent): void
success?:function
- success(res: AsyncResult<TranslationLanguageType>): void
Returns Promise<AsyncResult<SilentModeType.TranslationLanguageType>>
getSilentModeForAll
- getSilentModeForAll(params?: { error?: any; success?: any }): Promise<AsyncResult<SilentModeType.SilentModeConversationType>>
Parameters
Optional params: { error?: any; success?: any }
error?:function
- error(error: ErrorEvent): void
success?:function
- success(res: AsyncResult<SilentModeConversationType>): void
Returns Promise<AsyncResult<SilentModeType.SilentModeConversationType>>
getSilentModeForConversation
- getSilentModeForConversation(params: { conversationId: string; type: CONVERSATIONTYPE; error?: any; success?: any }): Promise<AsyncResult<SilentModeType.SilentModeConversationType>>
Parameters
params: { conversationId: string; type: CONVERSATIONTYPE; error?: any; success?: any }
conversationId: string
type: CONVERSATIONTYPE
error?:function
- error(error: ErrorEvent): void
success?:function
- success(res: AsyncResult<SilentModeConversationType>): void
Returns Promise<AsyncResult<SilentModeType.SilentModeConversationType>>
getSilentModeForConversations
- getSilentModeForConversations(params: { conversationList: ConversationListType[]; error?: any; success?: any }): Promise<AsyncResult<SilentModeType.ConversationSilentModeType>>
Parameters
params: { conversationList: ConversationListType[]; error?: any; success?: any }
conversationList: ConversationListType[]
error?:function
- error(error: ErrorEvent): void
success?:function
- success(res: AsyncResult<ConversationSilentModeType>): void
Returns Promise<AsyncResult<SilentModeType.ConversationSilentModeType>>
setPushPerformLanguage
- setPushPerformLanguage(params: { language: string; error?: any; success?: any }): Promise<AsyncResult<SilentModeType.TranslationLanguageType>>
Parameters
params: { language: string; error?: any; success?: any }
language: string
error?:function
- error(error: ErrorEvent): void
success?:function
- success(res: AsyncResult<TranslationLanguageType>): void
Returns Promise<AsyncResult<SilentModeType.TranslationLanguageType>>
setSilentModeForAll
- setSilentModeForAll(params: { options: SilentModeParamType; error?: any; success?: any }): Promise<AsyncResult<SilentModeType.SilentModeConversationType>>
Parameters
params: { options: SilentModeParamType; error?: any; success?: any }
options: SilentModeParamType
error?:function
- error(error: ErrorEvent): void
success?:function
- success(res: AsyncResult<SilentModeConversationType>): void
Returns Promise<AsyncResult<SilentModeType.SilentModeConversationType>>
setSilentModeForConversation
- setSilentModeForConversation(params: { conversationId: string; options: SilentModeParamType; type: CONVERSATIONTYPE; error?: any; success?: any }): Promise<AsyncResult<SilentModeType.SilentModeConversationType>>
Parameters
params: { conversationId: string; options: SilentModeParamType; type: CONVERSATIONTYPE; error?: any; success?: any }
conversationId: string
options: SilentModeParamType
type: CONVERSATIONTYPE
error?:function
- error(error: ErrorEvent): void
success?:function
- success(res: AsyncResult<SilentModeConversationType>): void
Returns Promise<AsyncResult<SilentModeType.SilentModeConversationType>>
清除会话的离线推送提醒类型设置。