NIMChatroomEnterRequest Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | NIMChatroomEnterRequest.h |
roomId
Chat room ID
@property (nonatomic, copy) NSString *roomIdDiscussion
Chat room ID
Declared In
NIMChatroomEnterRequest.h
roomNickname
Chat room nickname
@property (nullable, nonatomic, copy) NSString *roomNicknameDiscussion
Chat room nickname
The upper layer can set the nickname in the chat room. If unspecified, the user display name will be used
Declared In
NIMChatroomEnterRequest.h
roomAvatar
the avatar of a chat room
@property (nullable, nonatomic, copy) NSString *roomAvatarDiscussion
the avatar of a chat room
The upper layer can set an avatar for the chat room. If unspecified, the user info will be used
Declared In
NIMChatroomEnterRequest.h
roomExt
Extension field for the current user in the chat room. The field is valid only for the current entry.
@property (nullable, nonatomic, copy) NSString *roomExtDiscussion
Extension field for the current user in the chat room. The field is valid only for the current entry.
Declared In
NIMChatroomEnterRequest.h
roomNotifyExt
Extension field for event notifications
@property (nullable, nonatomic, copy) NSString *roomNotifyExtDiscussion
Extension field for event notifications
Declared In
NIMChatroomEnterRequest.h
tags
Login tags. Multiple tags in JsonArray are supported. For example, [“tag1”, “tag2”].
@property (nullable, nonatomic, copy) NSString *tagsDiscussion
Login tags. Multiple tags in JsonArray are supported. For example, [“tag1”, “tag2”].
Declared In
NIMChatroomEnterRequest.h
notifyTargetTags
Target tags for login and logout notifications. It is a tag expression. For more information, see TagCalculator and TagPattern
@property (nullable, nonatomic, copy) NSString *notifyTargetTagsDiscussion
Target tags for login and logout notifications. It is a tag expression. For more information, see TagCalculator and TagPattern
Declared In
NIMChatroomEnterRequest.h
retryCount
The number of chat room reconnections. The default setting is three times
@property (nonatomic, assign) NSInteger retryCountDiscussion
The number of chat room reconnections. The default setting is three times
If the value is set to 0 and a connection fails, the SDK will not retry. The setting of your application can be configured based on the business requirements
Declared In
NIMChatroomEnterRequest.h
mode
The independent login mode for chat rooms
@property (nullable, nonatomic, strong) NIMChatroomIndependentMode *modeDiscussion
The independent login mode for chat rooms
The default value is nil, chat room login is based on IM login. A user must log in IM first and join the chat room. If the independent mode is enabled, a user can log in to a chat room without relying on the IM channel
Declared In
NIMChatroomEnterRequest.h
loginAuthType
Authentication
@property (nonatomic, assign) NIMChatroomLoginAuthType loginAuthTypeDiscussion
Authentication
Declared In
NIMChatroomEnterRequest.h
dynamicTokenHandler
Dynamic token callback
@property (nonatomic, strong) NIMProvideChatroomDynamicTokenHandler dynamicTokenHandlerDiscussion
Dynamic token callback
Declared In
NIMChatroomEnterRequest.h
loginExt
Extension field
@property (nullable, nonatomic, strong) NSString *loginExtDiscussion
Extension field
Declared In
NIMChatroomEnterRequest.h
locationX
X coordinate @CJL/TODO: Use NSNumber * type
@property (nonatomic, strong) NSDecimalNumber *locationXDiscussion
X coordinate @CJL/TODO: Use NSNumber * type
Declared In
NIMChatroomEnterRequest.h
locationY
Y coordinate @CJL/TODO: Use NSNumber * type
@property (nonatomic, strong) NSDecimalNumber *locationYDiscussion
Y coordinate @CJL/TODO: Use NSNumber * type
Declared In
NIMChatroomEnterRequest.h
locationZ
Z coordinate @CJL/TODO: Use NSNumber * type
@property (nonatomic, strong) NSDecimalNumber *locationZDiscussion
Z coordinate @CJL/TODO: Use NSNumber * type
Declared In
NIMChatroomEnterRequest.h
distance
Distance of the subscribed message
@property (nonatomic, strong) NSDecimalNumber *distanceDiscussion
Distance of the subscribed message
Declared In
NIMChatroomEnterRequest.h
antispamBusinessId
Business for anti-spam
@property (nullable, nonatomic, copy) NSString *antispamBusinessIdDiscussion
Business for anti-spam
Declared In
NIMChatroomEnterRequest.h