fromApiTypeAndTeamAndDomain

open override fun fromApiTypeAndTeamAndDomain(apiUserTypeDTO: <Error class: unknown class>?, otherUserDomain: String, selfUserTeamId: String?, otherUserTeamId: String?, selfUserDomain: String, isLegacyBot: Boolean): <Error class: unknown class>

Maps API user type combined with inference logic to determine the specific user type.

The API provides a high-level type hint (REGULAR, APP, BOT), and we combine it with team and domain information to determine the specific domain user type.

Return

The specific domain user type

Parameters

apiUserTypeDTO

The user type from the API (nullable for backward compatibility)

otherUserDomain

The domain of the other user

selfUserTeamId

The team ID of the self user

otherUserTeamId

The team ID of the other user

selfUserDomain

The domain of the self user