Adds TagUnfollow

This commit is contained in:
Paul Waldo 2023-05-28 15:16:54 -04:00
parent 5aff7298c3
commit 4836b8899c
No known key found for this signature in database
GPG key ID: 7CD5C6BB0D0BB7F4
5 changed files with 97 additions and 4 deletions

View file

@ -363,7 +363,7 @@ func (c *Client) GetMutes(ctx context.Context, pg *Pagination) ([]*Account, erro
return accounts, nil
}
// GetMutes returns the list of users muted by the current user.
// GetFollowedTags returns the list of Hashtags followed by the user.
func (c *Client) GetFollowedTags(ctx context.Context, pg *Pagination) ([]*FollowedTag, error) {
var followedTags []*FollowedTag
err := c.doAPI(ctx, http.MethodGet, "/api/v1/followed_tags", nil, &followedTags, pg)