|
MessengerYouLike
|
|
This Property shows total number of friends that this user has in its Contacts list
public ReadOnly int TotalFriends;
Public ReadOnly Property TotalFriends() As Integer
This property is Updated automatically as soon as any friend is added or removed the total friends count is updated
when this event IMSDK.IMClient.OnFriendsListUpdated is fired this property is updated if needed
[Visual Basic] 'Create a new MCUser Public MCUser As New IMSDK.User Private Sub MC_OnLoggedin(ByVal UserObject As IMSDK.User) Handles MC.OnLoggedin MCUser = New IMSDK.User MCUser = UserObject Msgbox("Total Friends " & MCUser.TotalFriends.ToString) End Sub