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 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.
Create Personal Chat Room with User Model
#import <TapTalk/TapUI.h>
[TapUI sharedInstance] createRoomWithOtherUser:OTHER_USER success:^[(TapUIChatViewController * _Nonnull chatViewController) {
//You can choose to present or push view controller using this code
//Present room list view
[self presentViewController:chatViewController animated:YES completion:^{
//completion
}];
//Push room list view
[self.navigationController pushViewController:chatViewController animated:YES];
}];Create Personal Chat Room with TapTalk.io User ID
Create Personal Chat Room with Client User ID
Create Room with Room Model
Create Room with Room Model & Scroll to Selected Message
Create Saved Messages Chat Room
Last updated
Was this helpful?