Interface Suggestion

Represents a suggested account to follow and an associated reason for the suggestion.

interface Suggestion {
    account: mastodon.v1.Account;
    source: keyof LegacySuggestionSourceRegistry;
    sources: (keyof SuggestionSourceRegistry)[];
}

Properties

The account being recommended to follow.

The reason this account is being suggested.

sources: (keyof SuggestionSourceRegistry)[]

A list of reasons this account is being suggested. This replaces source