| RelationshipsRelationship Method (Int32, RelationshipsAction) |
Modify the relationship between the current user and the target user.
Requires Authentication: True
Required scope: relationships
Namespace: InstaSharp.EndpointsAssembly: InstaSharp (in InstaSharp.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax public Task<RelationshipResponse> Relationship(
int userId,
RelationshipsAction action
)
Public Function Relationship (
userId As Integer,
action As RelationshipsAction
) As Task(Of RelationshipResponse)
public:
Task<RelationshipResponse^>^ Relationship(
int userId,
RelationshipsAction action
)
member Relationship :
userId : int *
action : RelationshipsAction -> Task<RelationshipResponse>
Parameters
- userId
- Type: SystemInt32
The user id about which to get relationship information. - action
- Type: InstaSharp.EndpointsRelationshipsAction
One of Action enum.
Return Value
Type:
TaskRelationshipResponseRelationshipResponse
See Also