Interface Tag

Represents a hashtag used within the content of a status.

interface Tag {
    featuring?: null | boolean;
    following?: null | boolean;
    history?: null | mastodon.v1.TagHistory[];
    id: string;
    name: string;
    url: string;
}

Properties

featuring?: null | boolean

Whether the current token’s authorized user is featuring this tag on their profile.

following?: null | boolean

Whether the current token’s authorized user is following this tag.

history?: null | mastodon.v1.TagHistory[]

Usage statistics for given days.

id: string

ID of the hashtag in the database. Useful for constructing URLs for the moderation tools & Admin API.

name: string

The value of the hashtag after the # sign.

url: string

A link to the hashtag on the instance.