Contact
If your application is using the core implementation type, you can use these methods to manage your user's contacts.
Note: Please add #import <TapTalk/TapCoreContactManager.h>
before using these methods.
TapTalk Contact Method
Description
Get all of the user's contact data from TapTalk.io.
Fetch the user's latest contact data from TapTalk.io server
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.
Save or update existing user data to local cache.
Search the active user's contacts from the device's local storage with a keyword.
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.
Retrieve the list of groups in common with another user.
Get Contact List
Create a new group Get all of the user's contact data from TapTalk.io.
Fetch All User Contacts from Server
Calling fetchAllUserContactsFromServer
will fetch the user's latest contact data from TapTalk.io server and syncs it to the device's local storage.
Get Contact Detail Info with TapTalk User ID
Get a detailed contact info with selected TapTalk.io user ID.
Get Contact Detail Info with Client User ID
Get a detailed contact info with selected Client user ID (xcUserID).
Add User to Contacts with User ID
Add a user with selected TapTalk.io user ID to the active user's contacts.
Add User to Contacts with Phone Number
Add a user with selected phone number to the active user's contacts.
Remove User from Contacts
Remove a user with selected TapTalk.io user ID from the active user's contacts.
Save User Data
Save or update existing user data to local cache.
Search Local Contact
Call this method to search the active user's contacts from the device's local storage with a keyword. Provided keyword will be used to filter the contacts' full name in the search result.
Report User
You may call this method to submit a report for a selected user. Submitted reports can then be viewed through the dashboard.
Report Message
You may call this method to submit a report for a selected message. Submitted reports can then be viewed through the dashboard.
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.
Unblock User
You may unblock a blocked user to let them send and receive message from the active user.
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.
Get Groups in Common
You may use getGroupsInCommon
method to retrieve the list of groups in common with another user.
Last updated
Was this helpful?