Roblox API Reference

FriendService On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.

Tags: [NotCreatable, Service]

Inherits (1)

Member index (2)

Type Member History
Array GetPlatformFriends () 283 282 283
FriendsUpdated (Array friendData) 308
57 members inherited from Instance

Removed member index (10)

Type Member History
bool GetAreUsersFriends (int userId, int otherUserId, bool allowOfflineUsers = false) 310 315
void SetBreakFriendUrl (string url) 310
void SetCreateFriendRequestUrl (string url) 285 284 285
void SetDeleteFriendRequestUrl (string url) 285 284 285
void SetEnabled (bool enable) 285 284 285
void SetFriendsOnlineUrl (string url) 119 285 284 285
void SetGetFriendsUrl (string url) 310
void SetMakeFriendUrl (string url) 310
void StartReceivingPlatformFriendsEvents () 270 308
FriendsEvent (Dictionary eventInfo, Array friendData) 270 285 284 285 299 308

History

Members

FriendsUpdated On DevHub

Name Type Default
friendData Array none

History

GetPlatformFriends On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
No parameters.

History

Tags: [Yields]

Removed members

FriendsEvent

Name Type Default
eventInfo Dictionary none
friendData Array none

History

GetAreUsersFriends

This function yields. It will block the calling thread until completion.
Name Type Default
userId int none
otherUserId int none
allowOfflineUsers bool false

History

Tags: [Yields]

SetBreakFriendUrl

Name Type Default
url string none

History

SetCreateFriendRequestUrl

Name Type Default
url string none

History

SetDeleteFriendRequestUrl

Name Type Default
url string none

History

SetEnabled

Name Type Default
enable bool none

History

SetFriendsOnlineUrl

Name Type Default
url string none

History

SetGetFriendsUrl

Name Type Default
url string none

History

SetMakeFriendUrl

Name Type Default
url string none

History

StartReceivingPlatformFriendsEvents

Name Type Default
No parameters.

History