Constructor
new BlockBuddyRequest(buddyName, blocked)
Creates a new instance of the BlockBuddyRequest class.
Pass the instance to the SmartFox#send method to validate and execute the request.
Pass the instance to the SmartFox#send method to validate and execute the request.
Parameters:
| Name | Type | Description |
|---|---|---|
buddyName | string | The name of the Buddy to be blocked or unblocked. |
blocked | boolean | If true, the Buddy is blocked; if false, the Buddy is unblocked. |