Video SDK for iOS API Reference
All Classes Files Functions Enumerations Enumerator Properties
ZoomVideoSDKChatHelper.h
Go to the documentation of this file.
1//
2// ZoomVideoSDKChatHelper.h
3// ZoomVideoSDK
4//
5// Created by Zoom Video Communications on 2019/1/9.
6// Copyright © Zoom Video Communications, Inc. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
16@class ZoomVideoSDKUser;
17@interface ZoomVideoSDKChatMessage : NSObject
18
22@property (nonatomic, strong) NSString * _Nullable messageID;
26@property (nonatomic, strong) ZoomVideoSDKUser * _Nullable senderUser;
27
31@property (nonatomic, strong) ZoomVideoSDKUser * _Nullable receiverUser;
32
36@property (nonatomic, strong) NSString * _Nullable content;
40@property (nonatomic, assign) long long timeStamp;
44@property (nonatomic, assign) BOOL isChatToAll;
48@property (nonatomic, assign) BOOL isSelfSend;
49
50@end
51
56@interface ZoomVideoSDKChatHelper : NSObject
57
58
65- (ZoomVideoSDKError)SendChatToUser:(ZoomVideoSDKUser * _Nullable)user Content:(NSString * _Nullable)content;
66
72- (ZoomVideoSDKError)SendChatToAll:(NSString * _Nullable)content;
73
79- (BOOL)canChatMessageBeDeleted:(NSString *__nonnull)msgID;
80
87- (ZoomVideoSDKError)deleteChatMessage:(NSString * __nonnull)msgID;
88
93- (BOOL)IsChatDisabled;
94
99- (BOOL)IsPrivateChatDisabled;
100
107- (ZoomVideoSDKError)changeChatPrivilege:(ZoomVideoSDKChatPrivilegeType)privilege;
108
113- (ZoomVideoSDKChatPrivilegeType)getChatPrivilege;
114
115
116@end
ZoomVideoSDKChatPrivilegeType
Enumerations of the type for chat Privilege type.
ZoomVideoSDKError
ZoomVideoSDKError An enumeration of error.
A class to operate the instant message in session.
A class that contains all the information for a message.
ZoomVideoSDKUser *_Nullable senderUser
The sender user.
BOOL isChatToAll
The message is send to all user or not.
NSString *_Nullable content
The message content.
BOOL isSelfSend
The message is send by me or not.
ZoomVideoSDKUser *_Nullable receiverUser
The receiver user.
NSString *_Nullable messageID
The message ID.
long long timeStamp
The message sent time in timestamp.
Zoom Video SDK user information.