Share via


OnFetchProfileCallback type

Callback function used to provide custom data to build profile for a user or bot.

type OnFetchProfileCallback = (
  userId: string,
  defaultProfile?: Profile
) => Promise<Profile | undefined>