Chat Room and Messages - TapUI
Last updated
Last updated
You can use these methods when implementing your app with TapUI to open a chat room when UI implementation type is used.
Note: You can get TapTalk.io current view controller or navigation controller to integrate to your current view controller by using getCurrentTapTalkActiveViewController method.
Parameters
OTHER_USER
: (TAPUserModel) recipient user model that will be shown
Parameters
USER_ID
: (String) TapTalk.io user ID
PREFILLED_TEXT
: (String) prefilled text of message
CUSTOM_QUOTE_TITLE
: (String) title of custom quote data
CUSTOM_QUOTE_CONTENT
: (String) content / subtitle of custom quote data
CUSTOM_QUOTE_IMAGE_URL_STRING
: (String) image url string of custom quote image
USER_INFO
: (String) client-specified data or details of the custom quote
Parameters
XC_USER_ID
: (String) client user ID
PREFILLED_TEXT
: (String) prefilled text of message
CUSTOM_QUOTE_TITLE
: (String) title of custom quote data
CUSTOM_QUOTE_CONTENT
: (String) content / subtitle of custom quote data
CUSTOM_QUOTE_IMAGE_URL_STRING
: (String) image url string of custom quote image
USER_INFO
: (String) client-specified data or details of the custom quote
Parameters
ROOM
: (TAPRoomModel) recipient room data model
Parameters
ROOM
: (TAPRoomModel) recipient room data model
CUSTOM_QUOTE_TITLE
: (String) title of custom quote data
CUSTOM_QUOTE_CONTENT
: (String) content / subtitle of custom quote data
CUSTOM_QUOTE_IMAGE_URL_STRING
: (String) image url string of custom quote image
USER_INFO
: (String) client-specified data or details of the custom quote
Parameters
ROOM
: (TAPRoomModel) recipient room data model
MESSAGE_LOCAL_ID
: (String) scrolls the view to the message with the specified local ID when the chat room is opened
TapTalk UI Chat Room Method
Description
Creates room with user model. This method will return TapUIChatViewController
on success.
Creates room with TapTalk.io user ID. This method will return TapUIChatViewController
on success.
Creates room with client user ID. This method will return TapUIChatViewController
on success.
Creates room with room model. This method will return TapUIChatViewController
on success.
Creates room with room model. This method will return TapUIChatViewController
on success and scroll the view to the selected message.
Creates the active user's Saved Messages chat room. This method will return TapUIChatViewController
on success.