/FileExtraction/Java_unseen/InsightIM_Tok-Android/ChatCore/src/main/java/im/tox/tox4j/core/callbacks/FriendRequestCallback.java
package im.tox.tox4j.core.callbacks;

import im.tox.tox4j.core.data.ToxFriendRequestMessage;
import im.tox.tox4j.core.data.ToxPublicKey;

/**
 * This event is triggered when a friend request is received.
 */
public interface FriendRequestCallback {
    /**
     * @param publicKey The Public Key of the user who sent the friend request.
     * @param timeDelta A delta in seconds between when the message was composed
     * and when it is being transmitted.
     * @param message The message they sent along with the request.
     */
    void friendRequest(ToxPublicKey publicKey, int timeDelta, ToxFriendRequestMessage message);
}
