-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathStringeeChatManager.h
More file actions
47 lines (27 loc) · 1.26 KB
/
StringeeChatManager.h
File metadata and controls
47 lines (27 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
// StringeeChatManager.h
// stringee_flutter_plugin
//
// Created by HoangDuoc on 9/1/21.
//
#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>
#import <Stringee/Stringee.h>
NS_ASSUME_NONNULL_BEGIN
@interface StringeeChatManager : NSObject
- (instancetype)initWithIdentifier:(NSString *)identifier;
- (void)setClient:(StringeeClient *)client;
- (void)setEventSink:(FlutterEventSink)eventSink;
- (void)getChatProfile:(NSDictionary *)data result:(FlutterResult)result;
- (void)getLiveChatToken:(NSDictionary *)data result:(FlutterResult)result;
- (void)updateUserInfo:(NSDictionary *)data result:(FlutterResult)result;
- (void)createLiveChatConversation:(NSDictionary *)data result:(FlutterResult)result;
- (void)createLiveChatTicket:(NSDictionary *)data result:(FlutterResult)result;
- (void)sendChatTranscript:(NSDictionary *)data result:(FlutterResult)result;
- (void)endChat:(NSDictionary *)data result:(FlutterResult)result;
- (void)beginTyping:(NSDictionary *)data result:(FlutterResult)result;
- (void)endTyping:(NSDictionary *)data result:(FlutterResult)result;
- (void)acceptChatRequest:(NSDictionary *)data result:(FlutterResult)result;
- (void)rejectChatRequest:(NSDictionary *)data result:(FlutterResult)result;
@end
NS_ASSUME_NONNULL_END