Click or drag to resize
RelationshipsRelationship Method (Int32, RelationshipsAction)
Modify the relationship between the current user and the target user.

Requires Authentication: True

Required scope: relationships

Namespace: InstaSharp.Endpoints
Assembly: InstaSharp (in InstaSharp.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public Task<RelationshipResponse> Relationship(
	int userId,
	RelationshipsAction action
)

Parameters

userId
Type: SystemInt32
The user id about which to get relationship information.
action
Type: InstaSharp.EndpointsRelationshipsAction
One of Action enum.

Return Value

Type: TaskRelationshipResponse
RelationshipResponse
See Also