Class FriendRequestReceivedEvent
- java.lang.Object
-
- net.dv8tion.jda.core.events.Event
-
- net.dv8tion.jda.client.events.relationship.GenericRelationshipEvent
-
- net.dv8tion.jda.client.events.relationship.GenericRelationshipAddEvent
-
- net.dv8tion.jda.client.events.relationship.FriendRequestReceivedEvent
-
public class FriendRequestReceivedEvent extends GenericRelationshipAddEvent
-
-
Constructor Summary
Constructors Constructor Description FriendRequestReceivedEvent(JDA api, long responseNumber, Relationship relationship)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IncomingFriendRequest
getFriendRequest()
-
Methods inherited from class net.dv8tion.jda.client.events.relationship.GenericRelationshipEvent
getRelationship, getRelationshipType, getUser
-
Methods inherited from class net.dv8tion.jda.core.events.Event
getJDA, getResponseNumber
-
-
-
-
Constructor Detail
-
FriendRequestReceivedEvent
public FriendRequestReceivedEvent(JDA api, long responseNumber, Relationship relationship)
-
-
Method Detail
-
getFriendRequest
public IncomingFriendRequest getFriendRequest()
-
-