package com.wecom.robot.adapter; import com.wecom.robot.dto.SyncMsgResponse; /** * 消息同步能力接口(可选) *

* 提供从渠道同步历史消息的能力。 * 渠道适配器可选择性实现此接口。 * [AC-MCA-01] 渠道适配层可选能力接口 */ public interface MessageSyncCapable { /** * 同步消息 * * @param kfId 客服账号ID * @param cursor 游标(用于分页获取) * @return 同步消息响应 */ SyncMsgResponse syncMessages(String kfId, String cursor); }