共用方式為


OnFetchChatProfileCallback type

回調函數,用於提供自定義數據以為使用者或機器人構建配置檔。

type OnFetchChatProfileCallback = (
  userId: string,
  defaultProfile?: ChatProfile
) => Promise<ChatProfile | undefined>