IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMFriendAddApplication

Properties

NSString * userID
 
NSString * friendRemark
 
NSString * friendGroup
 
NSString * addWording
 
NSString * addSource
 
V2TIMFriendType addType
 

Property Documentation

◆ userID

- (NSString*) userID
readwritenonatomicstrong

UserID of a friend to be added.

◆ friendRemark

- (NSString*) friendRemark
readwritenonatomicstrong

Preset remarks for a friend. Its length cannot exceed 96 bytes.

◆ friendGroup

- (NSString*) friendGroup
readwritenonatomicstrong

Preset a friend group. Its length cannot exceed 96 bytes.

◆ addWording

- (NSString*) addWording
readwritenonatomicstrong

Extra information for a friend request. Its length cannot exceed 120 bytes.

◆ addSource

- (NSString*) addSource
readwritenonatomicstrong

Friend request source.

◆ addType

- (V2TIMFriendType) addType
readwritenonatomicassign

Friend request type (two-way by default)