-
public final class ChatAdapterBuilder
Builder for creating ChatAdapter.
Used to build a ChatAdapter which is then used to start a chat.
This class can be used to specify a locale to be used by the Chat Composite
-
-
Method Summary
Modifier and Type Method Description ChatAdapterBuilder
endpoint(String endpoint)
Sets Azure Communication Service endpoint. ChatAdapterBuilder
identity(CommunicationIdentifier identity)
Sets Azure Communication identity. ChatAdapterBuilder
credential(CommunicationTokenCredential credential)
Sets Azure Communication credential ChatAdapterBuilder
displayName(String displayName)
Sets chat participant display name ChatAdapterBuilder
threadId(String threadId)
Sets chat thread Id ChatAdapter
build()
Builds the ChatAdapter class. -
-
Method Detail
-
endpoint
ChatAdapterBuilder endpoint(String endpoint)
Sets Azure Communication Service endpoint.
-
identity
ChatAdapterBuilder identity(CommunicationIdentifier identity)
Sets Azure Communication identity.
-
credential
ChatAdapterBuilder credential(CommunicationTokenCredential credential)
Sets Azure Communication credential
-
displayName
ChatAdapterBuilder displayName(String displayName)
Sets chat participant display name
-
threadId
ChatAdapterBuilder threadId(String threadId)
Sets chat thread Id
-
build
ChatAdapter build()
Builds the ChatAdapter class.
-
-
-
-