OnFetchChatProfileCallback type
Callback function used to provide custom data to build profile for a user or bot.
type OnFetchChatProfileCallback = (
userId: string,
defaultProfile?: ChatProfile
) => Promise<ChatProfile | undefined>