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

Detailed Description

Definition of V2TIMFriendAddApplication.

Public Member Functions

 V2TIMFriendAddApplication ()
 
 V2TIMFriendAddApplication (const V2TIMFriendAddApplication &friendAddApplication)
 
 ~V2TIMFriendAddApplication ()
 

Data Fields

V2TIMString userID
 
V2TIMString friendRemark
 
V2TIMString friendGroup
 
V2TIMString addWording
 
V2TIMString addSource
 
V2TIMFriendType addType
 

Constructor & Destructor Documentation

◆ V2TIMFriendAddApplication() [1/2]

◆ V2TIMFriendAddApplication() [2/2]

V2TIMFriendAddApplication ( const V2TIMFriendAddApplication friendAddApplication)

◆ ~V2TIMFriendAddApplication()

Field Documentation

◆ userID

V2TIMString userID

UserID of a friend to be added.

◆ friendRemark

V2TIMString friendRemark

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

◆ friendGroup

V2TIMString friendGroup

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

◆ addWording

V2TIMString addWording

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

◆ addSource

V2TIMString addSource

Friend request source.

◆ addType

V2TIMFriendType addType

Friend request type (two-way by default)