Definition of V2TIMFriendInfo.
Public Member Functions | |
V2TIMFriendInfo () | |
V2TIMFriendInfo (const V2TIMFriendInfo &friendInfo) | |
~V2TIMFriendInfo () | |
Data Fields | |
V2TIMString | userID |
V2TIMString | friendRemark |
uint64_t | friendAddTime |
V2TIMCustomInfo | friendCustomInfo |
V2TIMStringVector | friendGroups |
V2TIMUserFullInfo | userFullInfo |
uint32_t | modifyFlag |
V2TIMFriendInfo | ( | ) |
V2TIMFriendInfo | ( | const V2TIMFriendInfo & | friendInfo | ) |
~V2TIMFriendInfo | ( | ) |
V2TIMString userID |
User's userID.
V2TIMString friendRemark |
Friend remarks The maximum length of friend remarks cannot exceed 96 bytes. For field descriptions, see Console。
uint64_t friendAddTime |
UTC timestamp of adding friend.
V2TIMCustomInfo friendCustomInfo |
Custom friend fields First, you need to set the custom friend field in the console (Feature Configuration -> Custom Friend Field). Then you need to call this API to set the custom friend field. The value of key does not need the Tag_SNS_Custom_ prefix.
V2TIMStringVector friendGroups |
Groups to which a friend belongs
V2TIMUserFullInfo userFullInfo |
User profile of a friend.
uint32_t modifyFlag |