UNPKG

@22g/netease-im-web-sdk

Version:

typescript netease-im-web-sdk

19 lines (18 loc) 611 B
export interface NIMMsgEvent { /** 发布对应事件的账号 */ account: string; /** 事件类型 */ type: string; /** 客户端类型,即该事件对应的账号所在的客户端类型。 */ clientType: string; /** 用户发布事件的自定义消息。对于内置的在线状态事件,此字段为空。 */ custom: string; /** 消息本地客户端id */ idClient: string; /** 消息服务器id */ idServer: string; /** 服务器下推的配置消息(客户端不可发布)。 */ serverConfig: string; /** 事件发布的时间 */ time: number; }