Partager via


OnFetchChatProfileCallback type

Fonction de rappel utilisée pour fournir des données personnalisées afin de créer le profil d’un utilisateur ou d’un bot.

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