public class

RequestFriendsMethod

extends BaseBoxMethod
java.lang.Object
   ↳ cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
     ↳ cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.RequestFriendsMethod

Summary

[Expand]
Inherited Fields
From class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
Public Constructors
RequestFriendsMethod()
Public Methods
RequestFriendsResponse requestFriends(RequestFriendsRequest requestFriendsRequest)
This method requests new friends to be added to your network.
[Expand]
Inherited Methods
From class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.methods.BaseBoxMethod
From class java.lang.Object

Public Constructors

public RequestFriendsMethod ()

Public Methods

public RequestFriendsResponse requestFriends (RequestFriendsRequest requestFriendsRequest)

This method requests new friends to be added to your network. 'emails' - array of emails. 'message' - text message that you want to send to freinds. 'params' is an array of string where you can set additional parameters, which are: box_auto_subscribe - subscribe to public boxes of inveted users. no_email - don't send emails to invited users. On a successful result, you will receive status 's_request_friends'. If the result wasn't successful, status field can be: e_request_friends.

Parameters
requestFriendsRequest Request
Returns
  • response
Throws
IOException io exception
BoxException box exception