Setting the Contact Info for the Business Messaging SDK

Setting the Contact Info for the Business Messaging SDK (Android)

When a logged-in user opens a BusinessMessaging Chat, a ticket will be created based on their preferences.

If a user opens BusinessMessaging, chats anonymously and wants to create a ticket. We have introduced the ContactInfo.

ContactInfo

It contains the name, phone number, and email ID used when creating a ticket. Based on the contact info given, a ticket will be made.
Info
Setting ContactInfo is entirely optional.

Set Contact Info

We are providing custom contact support for business messaging.

Prop Name
Type

Description
ContactInfo
object
Provides the details of the contact.

The following method is used for setting the Contact Info:
  1. BusinessMessaging.setContactInfo(name="Name",phone="phoneNumber", email = "example@example.com")
Info
What will happen if the logged-in user sets ContactInfo?
-> We will omit the contact info for the logged-in users.
-> The contact info will only work for anonymous users.