hunter v0.4.1 Hunter.Relationship
Relationship entity
This module defines a Hunter.Relationship struct and the main functions
for working with Relationship.
Fields
following- Whether the user is currently following the accountfollowed_by- Whether the user is currently being followed by the accountblocking- Whether the user is currently blocking the accountmuting- Whether the user is currently muting the accountrequested- Whether the user has requested to follow the account
Summary
Functions
Block a user
Follow a user
Mute a user
Get the relationships of authenticated user towards given other users
Unblock a user
Unfollow a user
Unmute a user
Types
Functions
relationships(conn, ids)
relationships(Hunter.Client.t, [non_neg_integer]) :: [Hunter.Relationship.t]
Get the relationships of authenticated user towards given other users
Parameters
conn- connection credentialsid- list of relationship IDs
Unblock a user
conn- Connection credentialsid- user id