We are using Amity ui-kit in our product we trying to figure out a way, to add every user of our community to be part a member.
Is there any default setting or passing any flag to set as a member?
Versions:
“@amityco/ui-kit”: “2.15.3”,
“react”: “^18.2.0”,
“react-dom”: “^18.2.0”,
Code for Reference:
<AmityUiKitProvider
ref={ref}
apiKey={props.apiKey}
apiRegion={props.apiRegion}
apiEndpoint={props.apiEndpoint}
userId={props.userId}
displayName={props.displayName || props.userId}
onConnected={handleConnected}
onDisconnected={handleDisconnected}
authToken={props.token}
actionHandlers={{
onClickUser: userId => {onClick(userId)},
}}>
From the Amity console, I was able to add individual users as a member, but was looking if we can programmatically when the user gets created for the first time.