Contact
If your application is using the core implementation type, you can use the TapCoreContactManager class to manage your user's contacts.
TapTalk Contact Method
Description
Get all of the user's contact data from TapTalk.io
Get a detailed contact info with selected TapTalk.io user ID
Get a detailed contact info with selected Client user ID (xcUserID)
Add a user with selected TapTalk.io user ID to the active user's contacts
Add a user with selected phone number to the active user's contacts
Remove a user with selected TapTalk.io user ID from the active user's contacts
Get user's contact by username
Search user's contact list
Submit a report for a selected user
Submit a report for a selected message
Block a user from sending or receiving messages
Unblock a blocked user
Retrieve a list of blocked users
Retrieve a list of IDs from blocked users
Get All User Contact
Get all of the user's contact data from TapTalk.io.
Get Contact Detail Info with TapTalk User ID
Get a detailed contact info with selected TapTalk.io user ID.
Parameters
USER_ID
: (String) Taptalk.io User ID of the selected user
Get Contact Detail Info with Client User ID
Get a detailed contact info with selected Client user ID (xcUserID).
Parameters
XC_USER_ID
: (String) Client User ID of the selected user
Add User to Contact with User ID
Add a user with selected TapTalk.io user ID to the active user's contacts.
Parameters
USER_ID
: (String) Taptalk.io User ID of the contact to be added
Add User to Contact with Phone Number
Add a user with selected phone number to the active user's contacts.JavaKotlin
Parameters
PHONE_NUMBER
: (String) phone number of the contact to be added
Remove User from Contact
Remove a user with selected TapTalk.io user ID from the active user's contacts.
Parameters
USER_ID
: (String) Taptalk.io User ID of the contact to remove
Get User Contact by Username
Call this method to get User Contact by username.
Parameters
USERNAME
: (String) username
IGNORE_CASE
: (Boolean) ignore case username
Get Filtered User Contacts
Call this method to search user's contact list.
Parameters
CONTACT_STRING
: (String) keyword
Report User
You may call this method to submit a report for a selected user. Submitted reports can then be viewed through the dashboard.
Parameters
USER_ID
: (String) ID of the user to report
CATEGORY
: (String) Category of the violation. max length is 100 characters
IS_OTHER_CATEGORY
: (Boolean) If the category is other than the predefined categories
REASON
: (String) reason why the user is reported
Report Message
You may call this method to submit a report for a selected message. Submitted reports can then be viewed through the dashboard.
Parameters
MESSAGE_ID
: (String) unique server ID of the message to report
ROOM_ID
: (String) ID of the room where the message belongs to
CATEGORY
: (String) Category of the violation. max length is 100 characters
IS_OTHER_CATEGORY
: (Boolean) If the category is other than the predefined categories
REASON
: (String) reason why the message is reported
Block User
You may block a user to stop conversation flow with the blocked user. Blocked users will not be able to send and receive message, or retrieve profile info from the active user.
Parameters
USER_ID
: (String) ID of the user to block
Unblock User
You may unblock a blocked user to let them send and receive message from the active user.
Parameters
USER_ID
: (String) ID of the user to unblock
Get Blocked User List
You may call this method to retrieve a list of blocked users.
Get Blocked User IDs
You may call this method to retrieve a list of IDs from blocked users.
Last updated