Skip to content

Commit 7f790fc

Browse files
committed
feat: Add feature/unfeature methods to TagResource
1 parent bd6efb3 commit 7f790fc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/mastodon/rest/v1/tags.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,20 @@ export interface Tags$SelectResource {
1919
* @return Tag
2020
*/
2121
unfollow(meta?: HttpMetaParams): Promise<Tag>;
22+
23+
/**
24+
* Feature the hashtag on your profile.
25+
* @return Tag
26+
* @see https://docs.joinmastodon.org/methods/tags/#feature
27+
*/
28+
feature(meta?: HttpMetaParams): Promise<Tag>;
29+
30+
/**
31+
* Stop featuring the hashtag on your profile.
32+
* @return Tag
33+
* @see https://docs.joinmastodon.org/methods/tags/#unfeature
34+
*/
35+
unfeature(meta?: HttpMetaParams): Promise<Tag>;
2236
}
2337

2438
export interface TagsResource {

0 commit comments

Comments
 (0)