TIMConvUnSubscribeUnreadMessageCountByFilter
Introduction
Unsubscribe unread message count by filter
Do not fill in next_seq and count in TIMConversationListFilter
Parameter details
Parameter name | Parameter type | Required | Description |
---|---|---|---|
TIMConversationListFilter | TIMConversationListFilter | yes | Unsubscribe unread message count by filter param |
Returned template
Promise<number>
data:number //'Request result: [Error codes](https://www.tencentcloud.com/document/product/1047/34348). 0 means success.'
Return value details
name | type | description |
---|---|---|
data | number | Request result: Error codes. 0 means success. |
Code example
import TimRender from "im_electron_sdk/dist/renderer";
const timRenderInstance = new TimRender();
let param:TIMConversationListFilter = {
params: {
conversation_list_filter_conv_type: 1,
conversation_list_filter_mark_type: 0x1,
conversation_list_filter_conversation_group: "c2c_test"
}
}
timRenderInstance.TIMConvUnsubscribeUnreadMessageCountByFilter(param)