Chat Room and Messages - TapUI
You can use these methods when implementing your app with TapUI to open a chat room when UI implementation type is used.
TapTalk UI Chat Room Method | Description |
Creates room with user model. This method will return | |
Creates room with TapTalk.io user ID. This method will return | |
Creates room with client user ID. This method will return | |
Creates room with room model. This method will return | |
Creates room with room model. This method will return | |
Creates the active user's Saved Messages chat room. This method will return |
Note: You can get TapTalk.io current view controller or navigation controller to integrate to your current view controller by using getCurrentTapTalkActiveViewController method.
Create Personal Chat Room with User Model
Parameters
OTHER_USER
: (TAPUserModel) recipient user model that will be shown
Create Personal Chat Room with TapTalk.io User ID
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
Create Personal Chat Room with Client User ID
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
Create Room with Room Model
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
Create Room with Room Model & Scroll to Selected Message
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
Create Saved Messages Chat Room
Last updated