friend_by_public_key


Description:

public uint32 friend_by_public_key (uint8[] public_key, out ErrFriendByPublicKey error = null)

Return the friend number associated with that Public Key.

Parameters:

public_key

A byte array containing the Public Key.

Returns:

the friend number on success, an unspecified value on failure.