pl-api
    Preparing search index...

    Class PlApiBaseClient

    Base Mastodon API client. For example usage, see PlApiClient.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • baseURL: string

        Mastodon API-compatible server URL

      • OptionalaccessToken: string

        OAuth token for an authorized user

      • opts: PlApiClientConstructorOpts = {}

      Returns PlApiBaseClient

    Properties

    baseURL: string
    features: {
        accountAvatarDescription: boolean;
        accountBackups: boolean;
        accountByUsername: boolean;
        accountCreation: boolean;
        accountDiscoverability: boolean;
        accountEnableRss: boolean;
        accountEndorsements: boolean;
        accountIsCat: boolean;
        accountLocation: boolean;
        accountLookup: boolean;
        accountMentionPolicy: boolean;
        accountMoving: boolean;
        accountNotifies: boolean;
        accountWebIncludeBoosts: boolean;
        accountWebLayout: boolean;
        accountWebVisibility: boolean;
        addressableLists: boolean;
        adminCustomEmojis: boolean;
        adminDeleteStatus: boolean;
        adminRules: boolean;
        adminRulesPriority: boolean;
        announcements: boolean;
        announcementsReactions: boolean;
        antennas: boolean;
        birthdays: boolean;
        bites: boolean;
        blockersVisible: boolean;
        blocksDuration: boolean;
        bookmarkFolderEmojis: boolean;
        bookmarkFolders: boolean;
        bookmarkFoldersMultiple: boolean;
        bookmarks: boolean;
        bots: boolean;
        bubbleTimeline: boolean;
        bubbleTimelineStreaming: boolean;
        changeEmail: boolean;
        changePassword: boolean;
        chats: boolean;
        chatsDelete: boolean;
        circles: boolean;
        composeAllowHeadings: boolean;
        composeAllowInlineImages: boolean;
        conversations: boolean;
        conversationsByRecipients: boolean;
        createStatusConversationScope: boolean;
        createStatusExpiration: boolean;
        createStatusExplicitAddressing: boolean;
        createStatusListScope: boolean;
        createStatusLocalScope: boolean;
        createStatusMutualsOnlyScope: boolean;
        createStatusPreview: boolean;
        createStatusReplyToConversation: boolean;
        createStatusSubscribersScope: boolean;
        customEmojiReacts: boolean;
        deleteAccount: boolean;
        deleteAccountWithoutPassword: boolean;
        deleteMedia: boolean;
        domains: boolean;
        drive: boolean;
        editProfile: boolean;
        editStatuses: boolean;
        embeds: boolean;
        emojiReacts: boolean;
        emojiReactsList: boolean;
        events: boolean;
        exportBlocks: boolean;
        exportFollowers: boolean;
        exportFollows: boolean;
        exportLists: boolean;
        exportMutes: boolean;
        exposableReactions: boolean;
        familiarFollowers: boolean;
        featuredTags: boolean;
        federating: boolean;
        filters: boolean;
        filtersV2: boolean;
        filtersV2BlurAction: boolean;
        focalPoint: boolean;
        followedHashtagsList: boolean;
        followHashtags: boolean;
        followRequests: boolean;
        frontendConfigurations: boolean;
        groupedNotifications: boolean;
        groups: boolean;
        groupsSlugs: boolean;
        hideNetwork: boolean;
        importArchive: boolean;
        importBlocks: boolean;
        importFollowers: boolean;
        importFollows: boolean;
        importMutes: boolean;
        importOverwrite: boolean;
        instanceTimeline: boolean;
        instanceV2: boolean;
        interactionRequests: boolean;
        languageDetection: boolean;
        lazyTranslations: boolean;
        lists: boolean;
        listsExclusive: boolean;
        listsFavourites: boolean;
        listsNotifications: boolean;
        listsRepliesPolicy: boolean;
        loadActivities: boolean;
        loadConversation: boolean;
        localOnlyStatuses: boolean;
        logInWithUsername: boolean;
        manageAccountAliases: boolean;
        manageMfa: boolean;
        manageMfaBackupCodes: boolean;
        manageMfaRequiresPassword: boolean;
        mastodonAdmin: boolean;
        mastodonAdminMetrics: boolean;
        mastodonAdminResolveReportWithComment: boolean;
        mastodonAdminV2: boolean;
        mediaV2: boolean;
        multiLanguage: boolean;
        mutes: boolean;
        mutesDuration: boolean;
        muteStrangers: boolean;
        notes: boolean;
        notificationsDismissMultiple: boolean;
        notificationsExcludeTypes: boolean;
        notificationsExcludeVisibilities: boolean;
        notificationsGetUnreadCount: boolean;
        notificationsIncludeTypes: boolean;
        notificationsPolicy: boolean;
        notificationsRequestsAcceptMultiple: boolean;
        outgoingFollowRequests: boolean;
        pleromaAdminAccounts: boolean;
        pleromaAdminAnnouncements: boolean;
        pleromaAdminConfig: boolean;
        pleromaAdminModerationLog: boolean;
        pleromaAdminRelays: boolean;
        pleromaAdminStatuses: boolean;
        pleromaAdminStatusesRedact: boolean;
        pleromaRemoteFollow: boolean;
        polls: boolean;
        postLanguages: boolean;
        preferredFrontends: boolean;
        privacyScopes: boolean;
        profileDirectory: boolean;
        profileFields: boolean;
        publicFavourites: boolean;
        publicTimeline: boolean;
        quoteApprovalPolicies: boolean;
        quotePosts: boolean;
        reblogVisibility: boolean;
        remoteInteractions: boolean;
        removeFromFollowers: boolean;
        resetPassword: boolean;
        richText: boolean;
        rssFeeds: boolean;
        rssFeedSubscriptions: boolean;
        scheduledStatuses: boolean;
        scheduledStatusesBackwards: boolean;
        scrobbles: boolean;
        searchFromAccount: boolean;
        sessions: boolean;
        shoutbox: boolean;
        spoilers: boolean;
        statusDislikes: boolean;
        statusLocation: boolean;
        stories: boolean;
        subscriptions: boolean;
        suggestions: boolean;
        suggestionsDismiss: boolean;
        suggestionsV2: boolean;
        translations: boolean;
        trendingLinks: boolean;
        trendingStatuses: boolean;
        trendingStatusesRange: boolean;
        trends: boolean;
        unrestrictedLists: boolean;
        version: BackendVersion;
        wrenchedTimeline: boolean;
    } = ...

    Type Declaration

    • accountAvatarDescription: boolean

      Ability to set description of profile avatar and header.

      PATCH /api/v1/accounts/update_credentials

    • accountBackups: boolean

      Pleroma backups.

      • GET /api/v1/pleroma/backups
      • POST /api/v1/pleroma/backups
    • accountByUsername: boolean

      The accounts API allows an acct instead of an ID.

      GET /api/v1/accounts/:acct_or_id

    • accountCreation: boolean

      Ability to create accounts.

      POST /api/v1/accounts

    • accountDiscoverability: boolean

      Ability to control account discoverability.

      PATCH /api/v1/accounts/update_credentials

    • accountEnableRss: boolean

      PATCH /api/v1/accounts/update_credentials

    • accountEndorsements: boolean

      Ability to pin other accounts on one's profile.

      • POST /api/v1/accounts/:id/pin
      • POST /api/v1/accounts/:id/unpin
      • GET /api/v1/pleroma/accounts/:id/endorsements
      • GET /api/v1/accounts/:id/endorsements
    • accountIsCat: boolean
    • accountLocation: boolean

      Ability to set one's location on their profile.

      PATCH /api/v1/accounts/update_credentials

    • accountLookup: boolean

      Look up an account by the acct.

      GET /api/v1/accounts/lookup

    • accountMentionPolicy: boolean

      PATCH /api/v1/accounts/update_credentials

    • accountMoving: boolean

      Move followers to a different ActivityPub account.

      POST /api/pleroma/move_account

    • accountNotifies: boolean

      Ability to subscribe to notifications every time an account posts.

      POST /api/v1/accounts/:id/follow

    • accountWebIncludeBoosts: boolean

      PATCH /api/v1/accounts/update_credentials

    • accountWebLayout: boolean

      PATCH /api/v1/accounts/update_credentials

    • accountWebVisibility: boolean

      PATCH /api/v1/accounts/update_credentials

    • addressableLists: boolean

      Ability to address a status to a list of users.

      POST /api/v1/statuses

    • adminCustomEmojis: boolean
      • GET /api/v1/admin/custom_emojis
      • GET /api/v1/admin/custom_emojis/:id
      • POST /api/v1/admin/custom_emojis
      • PATCH /api/v1/admin/custom_emojis/:id
      • DELETE /api/v1/admin/custom_emojis/:id
    • adminDeleteStatus: boolean

      Ability to delete statuses by admins.

      • DELETE /api/v1/pleroma/admin/statuses/:id
      • DELETE /api/v1/admin/posts/:id
    • adminRules: boolean

      Ability to manage instance rules by admins.

      • GET /api/v1/pleroma/admin/rules
      • POST /api/v1/pleroma/admin/rules
      • PATCH /api/v1/pleroma/admin/rules/:id
      • DELETE /api/v1/pleroma/admin/rules/:id
      • GET /api/v1/admin/instance/rules
      • GET /api/v1/admin/instance/rules/:id
      • POST /api/v1/admin/instance/rules
      • PATCH /api/v1/admin/instance/rules/:id
      • DELETE /api/v1/admin/instance/rules/:id
    • adminRulesPriority: boolean
    • announcements: boolean

      Can display announcements set by admins.

    • announcementsReactions: boolean

      Can emoji react to announcements set by admins.

    • antennas: boolean
    • birthdays: boolean

      Set your birthday and view upcoming birthdays.

      • GET /api/v1/pleroma/birthdays
      • POST /api/v1/accounts
      • PATCH /api/v1/accounts/update_credentials
    • bites: boolean

      Allow to bite users. see POST /api/v1/bite

    • blockersVisible: boolean

      Whether people who blocked you are visible through the API.

    • blocksDuration: boolean

      Ability to specify how long the account block should last.

      PUT /api/v1/accounts/:id/block

    • bookmarkFolderEmojis: boolean
    • bookmarkFolders: boolean

      Can group bookmarks in folders.

      • GET /api/v1/pleroma/bookmark_folders
      • POST /api/v1/pleroma/bookmark_folders
      • PATCH /api/v1/pleroma/bookmark_folders/:id
      • DELETE /api/v1/pleroma/bookmark_folders/:id
    • bookmarkFoldersMultiple: boolean
    • bookmarks: boolean

      Can bookmark statuses.

      • POST /api/v1/statuses/:id/bookmark
      • GET /api/v1/bookmarks
    • bots: boolean

      Accounts can be marked as bots.

      PATCH /api/v1/accounts/update_credentials

    • bubbleTimeline: boolean

      Can display a timeline of statuses from instances selected by instance admin.

      GET /api/v1/timelines/bubble

    • bubbleTimelineStreaming: boolean
    • changeEmail: boolean

      POST /api/v1/user/email_change

    • changePassword: boolean
      • POST /api/v1/user/password_change
      • POST /api/v1/settings/change_password
      • POST /api/v1.1/accounts/change-password
      • POST /api/iceshrimp/auth/change-password
      • POST /api/pleroma/change_password
    • chats: boolean

      Pleroma chats API.

    • chatsDelete: boolean

      Ability to delete a chat.

      DELETE /api/v1/pleroma/chats/:id

    • circles: boolean
    • composeAllowHeadings: boolean
    • composeAllowInlineImages: boolean
    • conversations: boolean

      Mastodon's newer solution for direct messaging.

    • conversationsByRecipients: boolean

      GET /api/v1/conversations

    • createStatusConversationScope: boolean

      Ability to post statuses to the recipients of parent post.

      POST /api/v1/statuses

    • createStatusExpiration: boolean

      POST /api/v1/statuses

    • createStatusExplicitAddressing: boolean

      Ability to address recipients of a status explicitly (with to).

      POST /api/v1/statuses

    • createStatusListScope: boolean

      Ability to address a status to a list of users.

      POST /api/v1/statuses

    • createStatusLocalScope: boolean

      POST /api/v1/statuses

    • createStatusMutualsOnlyScope: boolean

      Ability to post statuses only to accounts with mutual relationship.

      POST /api/v1/statuses

    • createStatusPreview: boolean
      • POST /api/v1/statuses
      • POST /api/v1/statuses/preview
    • createStatusReplyToConversation: boolean

      POST /api/v1/statuses

    • createStatusSubscribersScope: boolean

      Ability to post statuses only to your subscribers.

      POST /api/v1/statuses

    • customEmojiReacts: boolean

      Ability to add non-standard reactions to a status.

    • deleteAccount: boolean
      • POST /api/v1/accounts/delete
      • POST /api/pleroma/delete_account
    • deleteAccountWithoutPassword: boolean

      POST /api/v1/settings/delete_account

    • deleteMedia: boolean

      DELETE /api/v1/media/:id

    • domains: boolean

      Allow to register on a given domain

      • GET /api/v1/pleroma/admin/domains
      • POST /api/v1/pleroma/admin/domains
      • PATCH /api/v1/pleroma/admin/domains/:id
      • DELETE /api/v1/pleroma/admin/domains/:id
    • drive: boolean
    • editProfile: boolean

      Ability to edit profile information.

      PATCH /api/v1/accounts/update_credentials

    • editStatuses: boolean

      Ability to edit published posts.

      PUT /api/v1/statuses/:id

    • embeds: boolean

      Ability to embed posts on external sites.

      GET /api/oembed

    • emojiReacts: boolean

      Ability to add emoji reactions to a status.

      • PUT /api/v1/pleroma/statuses/:id/reactions/:emoji
      • DELETE /api/v1/pleroma/statuses/:id/reactions/:emoji
      • POST /v1/statuses/:id/react/:emoji
      • POST /v1/statuses/:id/unreact/:emoji
    • emojiReactsList: boolean
      • GET /api/v1/pleroma/statuses/:id/reactions/:emoji?
      • GET /api/v1/statuses/:id/emoji_reactioned_by
    • events: boolean

      Ability to create and perform actions on events.

      • POST /api/v1/pleroma/events
      • GET /api/v1/pleroma/events/joined_events
      • PUT /api/v1/pleroma/events/:id
      • GET /api/v1/pleroma/events/:id/participations
      • GET /api/v1/pleroma/events/:id/participation_requests
      • POST /api/v1/pleroma/events/:id/participation_requests/:participant_id/authorize
      • POST /api/v1/pleroma/events/:id/participation_requests/:participant_id/reject
      • POST /api/v1/pleroma/events/:id/join
      • POST /api/v1/pleroma/events/:id/leave
      • GET /api/v1/pleroma/events/:id/ics
      • GET /api/v1/pleroma/search/location
    • exportBlocks: boolean

      Export blocks to CSV file

      GET /api/v1/exports/blocks.csv

    • exportFollowers: boolean

      Export followers to CSV file

      • GET /api/v1/exports/followers.csv
      • GET /api/v1/settings/export_followers
    • exportFollows: boolean

      Export follows to CSV file

      • GET /api/v1/exports/following.csv
      • GET /api/v1/settings/export_follows
    • exportLists: boolean

      Export lists to CSV file

      GET /api/v1/exports/lists.csv

    • exportMutes: boolean

      Export mutes to CSV file

      GET /api/v1/exports/mutes.csv

    • exposableReactions: boolean

      Whether the accounts who favourited or emoji-reacted to a status can be viewed through the API.

    • familiarFollowers: boolean

      Can see accounts' followers you know

      GET /api/v1/accounts/familiar_followers

    • featuredTags: boolean
      • GET /api/v1/accounts/:accountId/featured_tags
      • GET /api/v1/featured_tags
      • POST /api/v1/featured_tags
      • DELETE /api/v1/featured_tags
      • GET /api/v1/featured_tags/suggestions
    • federating: boolean

      Whether the instance federates.

    • filters: boolean

      Can edit and manage timeline filters (aka "muted words").

    • filtersV2: boolean

      Can edit and manage timeline filters (aka "muted words").

    • filtersV2BlurAction: boolean
    • focalPoint: boolean

      Allows setting the focal point of a media attachment.

    • followedHashtagsList: boolean

      Ability to list followed hashtags.

      GET /api/v1/followed_tags

    • followHashtags: boolean

      Ability to follow hashtags.

      • POST /api/v1/tags/:name/follow
      • POST /api/v1/tags/:name/unfollow
    • followRequests: boolean

      Ability to lock accounts and manually approve followers.

      PATCH /api/v1/accounts/update_credentials

    • frontendConfigurations: boolean

      Whether client settings can be retrieved from the API.

      • GET /api/pleroma/frontend_configurations
      • PATCH /api/v1/accounts/update_credentials
    • groupedNotifications: boolean
      • GET /api/v2/notifications/:group_key
      • GET /api/v2/notifications/:group_key
      • POST /api/v2/notifications/:group_key/dismiss
      • GET /api/v2/notifications/:group_key/accounts
      • GET /api/v2/notifications/unread_count
    • groups: boolean

      Groups.

      • POST /api/v1/groups
      • GET /api/v1/groups
      • GET /api/v1/groups/:id
      • POST /api/v1/groups/:id/join
      • POST /api/v1/groups/:id/leave
      • GET /api/v1/groups/:id/memberships
      • PUT /api/v1/groups/:group_id
      • DELETE /api/v1/groups/:group_id
      • GET /api/v1/groups/:group_id/membership_requests
      • POST /api/v1/groups/:group_id/membership_requests/:account_id/authorize
      • POST /api/v1/groups/:group_id/membership_requests/:account_id/reject
      • DELETE /api/v1/groups/:group_id/statuses/:id
      • POST /api/v1/groups/:group_id/kick?account_ids[]=…
      • GET /api/v1/groups/:group_id/blocks
      • POST /api/v1/groups/:group_id/blocks?account_ids[]=…
      • DELETE /api/v1/groups/:group_id/blocks?account_ids[]=…
      • POST /api/v1/groups/:group_id/promote?role=new_role&account_ids[]=…
      • POST /api/v1/groups/:group_id/demote?role=new_role&account_ids[]=…
      • GET /api/v1/admin/groups
      • GET /api/v1/admin/groups/:group_id
      • POST /api/v1/admin/groups/:group_id/suspend
      • POST /api/v1/admin/groups/:group_id/unsuspend
      • DELETE /api/v1/admin/groups/:group_id
    • groupsSlugs: boolean
    • hideNetwork: boolean

      Can hide follows/followers lists and counts.

      PATCH /api/v1/accounts/update_credentials

    • importArchive: boolean
    • importBlocks: boolean

      Import a .csv file with a list of blocked users.

      • POST /api/pleroma/blocks_import
      • POST /api/v1/import
    • importFollowers: boolean

      Move followers from remote alias.

      POST /api/v1/settings/import_followers

    • importFollows: boolean

      Import a .csv file with a list of followed users.

      • POST /api/pleroma/follow_import
      • POST /api/v1/settings/import_follows
      • POST /api/v1/import
    • importMutes: boolean

      Import a .csv file with a list of muted users.

      • POST /api/pleroma/mutes_import
      • POST /api/v1/import
    • importOverwrite: boolean

      Allow to specify mode of data import to either merge or overwrite.

      POST /api/v1/import

    • instanceTimeline: boolean

      View posts from specific instance.

      GET /api/v1/timelines/public

    • instanceV2: boolean

      Mastodon server information API v2.

    • interactionRequests: boolean
    • languageDetection: boolean

      Server-side status language detection.

    • lazyTranslations: boolean

      Can translate multiple statuses in a single request.

      POST /api/v1/pl/statuses/translate

    • lists: boolean

      Can create, view, and manage lists.

    • listsExclusive: boolean
    • listsFavourites: boolean

      Can add a list to favourites.

      • POST /api/v1/lists/:list_id/favourite
      • POST /api/v1/lists/:list_id/unfavourite
    • listsNotifications: boolean

      Can set to receive notifications for new posts in a list.

    • listsRepliesPolicy: boolean
    • loadActivities: boolean

      Can load latest activities from outbox.

      POST /api/v1/accounts/:id/load_activities

    • loadConversation: boolean

      Can load conversation from a remote server.

      POST /api/v1/statuses/:id/load_conversation

    • localOnlyStatuses: boolean

      Ability to post statuses that don't federate.

      POST /api/v1/statuses

    • logInWithUsername: boolean

      Can sign in using username instead of e-mail address.

    • manageAccountAliases: boolean

      Can view and manage ActivityPub aliases through the API.

      • GET /api/pleroma/aliases
      • PATCH /api/v1/accounts/update_credentials
    • manageMfa: boolean
      • GET /api/pleroma/accounts/mfa
      • GET /api/pleroma/accounts/mfa/setup/:method
      • POST /api/pleroma/accounts/mfa/confirm/:method
      • DELETE /api/pleroma/accounts/mfa/:method
    • manageMfaBackupCodes: boolean

      GET /api/pleroma/accounts/mfa/backup_codes

    • manageMfaRequiresPassword: boolean

      POST /api/v1/user/2fa/enable

    • mastodonAdmin: boolean

      Can perform moderation actions with account and reports.

      • https://docs.joinmastodon.org/methods/admin/
      • GET /api/v1/admin/reports
      • POST /api/v1/admin/reports/:report_id/resolve
      • POST /api/v1/admin/reports/:report_id/reopen
      • POST /api/v1/admin/accounts/:account_id/action
      • POST /api/v1/admin/accounts/:account_id/approve
    • mastodonAdminMetrics: boolean
      • POST /api/v1/admin/dimensions
      • POST /api/v1/admin/measures
      • POST /api/v1/admin/retention
    • mastodonAdminResolveReportWithComment: boolean
    • mastodonAdminV2: boolean

      Can perform moderation actions with account and reports.

    • mediaV2: boolean

      Supports V2 media uploads.

      POST /api/v2/media

    • multiLanguage: boolean

      Ability to include multiple language variants for a post.

      POST /api/v1/statuses

    • mutes: boolean

      Ability to mute users.

      • GET /api/v1/mutes
      • POST /api/v1/accounts/:id/mute
      • POST /api/v1/accounts/:id/unmute
    • mutesDuration: boolean

      Ability to specify how long the account mute should last.

      PUT /api/v1/accounts/:id/mute

    • muteStrangers: boolean

      Ability to hide notifications from people you don't follow.

      PUT /api/pleroma/notification_settings

    • notes: boolean

      Add private notes to accounts.

      • POST /api/v1/accounts/:id/note
      • GET /api/v1/accounts/relationships
    • notificationsDismissMultiple: boolean

      DELETE /api/v1/notifications/destroy_multiple

    • notificationsExcludeTypes: boolean

      GET /api/v1/notifications

    • notificationsExcludeVisibilities: boolean

      GET /api/v1/notifications

    • notificationsGetUnreadCount: boolean

      GET /api/v1/notifications/unread_count

    • notificationsIncludeTypes: boolean

      Allows specifying notification types to include, rather than to exclude.

      GET /api/v1/notifications

    • notificationsPolicy: boolean
      • GET /api/v2/notifications/policy
      • PATCH /api/v2/notifications/policy
    • notificationsRequestsAcceptMultiple: boolean
      • POST /api/v1/notifications/requests/accept
      • POST /api/v1/notifications/requests/dismiss
    • outgoingFollowRequests: boolean
      • GET api/iceshrimp/follow_requests/outgoing
      • GET /api/v1/follow_requests/outgoing
      • GET /api/v1/pleroma/outgoing_follow_requests
    • pleromaAdminAccounts: boolean
    • pleromaAdminAnnouncements: boolean

      Ability to manage announcements by admins.

    • pleromaAdminConfig: boolean
    • pleromaAdminModerationLog: boolean
    • pleromaAdminRelays: boolean
    • pleromaAdminStatuses: boolean
    • pleromaAdminStatusesRedact: boolean
    • pleromaRemoteFollow: boolean

      Displays a form to follow a user when logged out.

      POST /main/ostatus

    • polls: boolean

      Can add polls to statuses.

      POST /api/v1/statuses

    • postLanguages: boolean

      Can select a language for statuses.

      POST /api/v1/statuses

    • preferredFrontends: boolean
      • GET /api/v1/akkoma/preferred_frontend/available
      • PUT /api/v1/akkoma/preferred_frontend
    • privacyScopes: boolean

      Can set privacy scopes on statuses.

      POST /api/v1/statuses

    • profileDirectory: boolean

      A directory of discoverable profiles from the instance.

    • profileFields: boolean

      Ability to set custom profile fields.

      PATCH /api/v1/accounts/update_credentials

    • publicFavourites: boolean

      Returns favorites timeline of any user

      GET /api/v1/pleroma/accounts/:id/favourites

    • publicTimeline: boolean

      Can display a timeline of all known public statuses. Local and Fediverse timelines both use this feature.

      GET /api/v1/timelines/public

    • quoteApprovalPolicies: boolean
    • quotePosts: boolean

      Ability to quote posts in statuses.

      POST /api/v1/statuses

    • reblogVisibility: boolean

      Ability to boost a status to a selected scope.

      POST /api/v1/statuses/:id/reblog

    • remoteInteractions: boolean

      Interact with statuses from another instance while logged-out.

      POST /api/v1/pleroma/remote_interaction

    • removeFromFollowers: boolean

      Ability to remove an account from your followers.

      POST /api/v1/accounts/:id/remove_from_followers

    • resetPassword: boolean

      Can request a password reset email through the API.

      POST /auth/password

    • richText: boolean

      Ability to post statuses in Markdown, BBCode, and HTML.

      POST /api/v1/statuses

    • rssFeeds: boolean

      Ability to follow account feeds using RSS.

    • rssFeedSubscriptions: boolean

      Ability to subscribe to RSS feeds.

      • GET /api/v1/pleroma/rss_feed_subscriptions
      • POST /api/v1/pleroma/rss_feed_subscriptions
      • DELETE /api/v1/pleroma/rss_feed_subscriptions
    • scheduledStatuses: boolean

      Can schedule statuses to be posted at a later time.

    • scheduledStatusesBackwards: boolean

      Can publish statuses with a past date. This is intended for importing old statuses.

    • scrobbles: boolean

      Can create Listen activities

      • GET /api/v1/pleroma/accounts/:id/scrobbles
      • POST /api/v1/pleroma/scrobble
    • searchFromAccount: boolean

      Ability to search statuses from the given account.

    • sessions: boolean

      Ability to manage account sessions.

      • GET /api/oauth_tokens.json
      • DELETE /api/oauth_tokens/:id
      • GET /api/v1/tokens
      • GET /api/v1/tokens/:id
      • POST /api/v1/tokens/:id/invalidate
    • shoutbox: boolean
    • spoilers: boolean

      Can set content warnings on statuses.

      POST /api/v1/statuses

    • statusDislikes: boolean
      • POST /api/friendica/statuses/:id/dislike
      • POST /api/friendica/statuses/:id/undislike
      • GET /api/friendica/statuses/:id/disliked_by
    • statusLocation: boolean
    • stories: boolean
      • GET /api/web/stories/v1/recent
      • GET /api/web/stories/v1/viewers
      • GET /api/web/stories/v1/profile/:id
      • GET /api/web/stories/v1/exists/:id
      • GET /api/web/stories/v1/poll/results
      • POST /api/web/stories/v1/viewed
      • POST /api/web/stories/v1/react
      • POST /api/web/stories/v1/comment
      • POST /api/web/stories/v1/publish/poll
      • POST /api/web/stories/v1/poll/vote
      • POST /api/web/stories/v1/report
      • POST /api/web/stories/v1/add
      • POST /api/web/stories/v1/crop
      • POST /api/web/stories/v1/publish
      • DELETE /api/web/stories/v1/delete/:id
    • subscriptions: boolean
      • GET /api/v1/accounts/:id/subscribers
      • POST /api/v1/subscriptions
      • GET /api/v1/subscriptions/options
      • POST /api/v1/subscriptions/options
      • GET /api/v1/subscriptions/find
      • POST /api/v1/subscriptions/invoices
      • GET /api/v1/subscriptions/invoices/:id
      • DELETE /api/v1/subscriptions/invoices/:id
    • suggestions: boolean

      Can display suggested accounts.

    • suggestionsDismiss: boolean

      Remove an account from follow suggestions

      DELETE /api/v1/suggestions/:account_id

    • suggestionsV2: boolean

      Supports V2 suggested accounts.

      GET /api/v2/suggestions

    • translations: boolean

      Can translate statuses.

      POST /api/v1/statuses/:id/translate

    • trendingLinks: boolean

      Trending links.

      GET /api/v1/trends/links

    • trendingStatuses: boolean

      Trending statuses.

      GET /api/v1/trends/statuses

    • trendingStatusesRange: boolean

      Display trends from a given time range.

      GET /api/pixelfed/v2/discover/posts/trending

    • trends: boolean

      Can display trending hashtags.

      GET /api/v1/trends

    • unrestrictedLists: boolean

      Whether the backend allows adding users you don't follow to lists.

      POST /api/v1/lists/:id/accounts

    • version: BackendVersion
    • wrenchedTimeline: boolean

      Can display a timeline of most recently wrenched statuses.

      GET /api/v1/pleroma/timelines/wrenched

    request: <T = any>(
        this: Pick<
            PlApiBaseClient,
            | "accessToken"
            | "customAuthorizationToken"
            | "iceshrimpAccessToken"
            | "baseURL",
        >,
        input: URL | RequestInfo,
        __namedParameters?: RequestBody,
    ) => Promise<PlApiResponse<T>> = ...
    shoutSocket?: { close: () => void; message: (text: string) => void }
    socket?: {
        close: () => void;
        listen: (
            listener: (
                event:
                    | {
                        event: "update"
                        | "status.update";
                        payload: {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            application: { name: string; website: (...) | (...) }
                            | null;
                            approval_status: "rejected" | "pending" | "approval" | null;
                            bookmark_folder: string | null;
                            bookmarked: boolean;
                            card:
                                | {
                                    author_name: string;
                                    author_url: string;
                                    authors: (...)[];
                                    blurhash: (...) | (...);
                                    description: string;
                                    embed_url: string;
                                    height: number;
                                    html: string;
                                    image: (...) | (...);
                                    image_description: string;
                                    provider_name: string;
                                    provider_url: string;
                                    title: string;
                                    type: (...) | (...) | (...) | (...);
                                    url: string;
                                    width: number;
                                }
                                | null;
                            content: string;
                            content_map: { [key: string]: string }
                            | null;
                            content_type: string | null;
                            conversation_id?: string;
                            created_at: string;
                            direct_conversation_id?: string;
                            disliked: boolean;
                            dislikes_count: number;
                            edited_at: string | null;
                            emoji_reactions: (
                                | {
                                    account_ids: ...;
                                    accounts: ...;
                                    count: ...;
                                    me: ...;
                                    name: ...;
                                    static_url: ...;
                                    url: ...;
                                }
                                | {
                                    account_ids: ...;
                                    accounts: ...;
                                    count: ...;
                                    me: ...;
                                    name: ...;
                                    static_url: ...;
                                    url: ...;
                                }
                            )[];
                            emojis: {
                                category: (...)
                                | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            event: | {
                                end_time: (...)
                                | (...);
                                join_mode: (...) | (...) | (...) | (...) | (...);
                                join_state: (...) | (...) | (...) | (...);
                                location: (...) | (...);
                                name: string;
                                participants_count: number;
                                participation_request_count: number;
                                start_time: (...) | (...);
                            }
                            | null;
                            expires_at?: string;
                            favourited: boolean;
                            favourites_count: number;
                            filtered: {
                                filter: {
                                    context: ...;
                                    expires_at: ...;
                                    filter_action: ...;
                                    id: ...;
                                    title: ...;
                                };
                                keyword_matches: (...)
                                | (...);
                                status_matches: (...) | (...);
                            }[];
                            group: | {
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                created_at: string;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                id: string;
                                locked: boolean;
                                members_count: number;
                                membership_required: boolean;
                                note: string;
                                owner: (...) | (...);
                                relationship: (...) | (...);
                                statuses_visibility: string;
                                uri: string;
                                url: string;
                            }
                            | null;
                            id: string;
                            in_reply_to_account_acct?: string;
                            in_reply_to_account_id: string
                            | null;
                            in_reply_to_id: string | null;
                            interaction_policy: {
                                can_favourite: {
                                    automatic_approval: (...)[];
                                    manual_approval: (...)[];
                                };
                                can_reblog: { automatic_approval: (...)[]; manual_approval: (...)[] };
                                can_reply: { automatic_approval: (...)[]; manual_approval: (...)[] };
                            };
                            language: string
                            | null;
                            list_id: number | null;
                            local?: boolean;
                            local_only?: boolean;
                            location:
                                | {
                                    country: string;
                                    latitude: (...)
                                    | (...);
                                    locality: string;
                                    longitude: (...) | (...);
                                    name: string;
                                    postal_code: string;
                                    region: string;
                                    street: string;
                                    url: string;
                                }
                                | null;
                            media_attachments: (
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                            )[];
                            mentions: { acct: string; id: string; url: string; username: string }[];
                            muted: boolean;
                            parent_visible?: boolean;
                            pinned: boolean;
                            pinned_at: string | null;
                            poll:
                                | {
                                    emojis: (...)[];
                                    expired: boolean;
                                    expires_at: (...) | (...);
                                    id: string;
                                    multiple: boolean;
                                    non_anonymous: boolean;
                                    options: (...)[];
                                    own_votes: (...) | (...);
                                    voted: boolean;
                                    voters_count: number;
                                    votes_count: number;
                                }
                                | null;
                            quote_approval: | {
                                automatic: (...)[];
                                current_user: (...) | (...) | (...) | (...);
                                manual: (...)[];
                            }
                            | null;
                            quote_id: string
                            | null;
                            quote_url?: string;
                            quote_visible?: boolean;
                            quotes_count: number;
                            reblogged: boolean;
                            reblogs_count: number;
                            replies_count: number;
                            rss_feed:
                                | {
                                    description: (...)
                                    | (...);
                                    id: string;
                                    image_url: (...) | (...);
                                    title: (...) | (...);
                                    url: string;
                                }
                                | null;
                            scheduled_at: null;
                            sensitive: boolean;
                            spoiler_text: string;
                            spoiler_text_map: { [key: string]: string }
                            | null;
                            tags: {
                                following?: (...) | (...) | (...);
                                history: (...) | (...);
                                name: string;
                                total: (...) | (...);
                                url: string;
                            }[];
                            text: string
                            | null;
                            text_map: { [key: string]: string } | null;
                            thread_muted?: boolean;
                            translation:
                                | false
                                | {
                                    content: string;
                                    detected_source_language: string;
                                    id: (...)
                                    | (...);
                                    language: string;
                                    media_attachments: (...)[];
                                    poll?: (...) | (...);
                                    provider: (...) | (...);
                                    spoiler_text: string;
                                }
                                | null;
                            uri: string;
                            url: string;
                            visibility: string;
                        } & {
                            quote: | Quote
                            | {
                                quoted_status_id: (...)
                                | (...);
                                state:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                            }
                            | null;
                            reblog: Status
                            | null;
                        };
                        stream: string[];
                    }
                    | {
                        event: "delete"
                        | "announcement.delete";
                        payload: string;
                        stream: string[];
                    }
                    | {
                        event: "notification";
                        payload: | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            type: | "follow"
                            | "follow_request"
                            | "follow_request_accepted"
                            | "admin.sign_up";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            status: {
                                account: (...) & (...);
                                application: (...) | (...);
                                approval_status: (...) | (...) | (...) | (...);
                                bookmark_folder: (...) | (...);
                                bookmarked: boolean;
                                card: (...) | (...);
                                content: string;
                                content_map: (...) | (...);
                                content_type: (...) | (...);
                                conversation_id?: (...) | (...);
                                created_at: string;
                                direct_conversation_id?: (...) | (...);
                                disliked: boolean;
                                dislikes_count: number;
                                edited_at: (...) | (...);
                                emoji_reactions: (...)[];
                                emojis: (...)[];
                                event: (...) | (...);
                                expires_at?: (...) | (...);
                                favourited: boolean;
                                favourites_count: number;
                                filtered: (...)[];
                                group: (...) | (...);
                                id: string;
                                in_reply_to_account_acct?: (...) | (...);
                                in_reply_to_account_id: (...) | (...);
                                in_reply_to_id: (...) | (...);
                                interaction_policy: {
                                    can_favourite: ...;
                                    can_reblog: ...;
                                    can_reply: ...;
                                };
                                language: (...)
                                | (...);
                                list_id: (...) | (...);
                                local?: (...) | (...) | (...);
                                local_only?: (...) | (...) | (...);
                                location: (...) | (...);
                                media_attachments: (...)[];
                                mentions: (...)[];
                                muted: boolean;
                                parent_visible?: (...) | (...) | (...);
                                pinned: boolean;
                                pinned_at: (...) | (...);
                                poll: (...) | (...);
                                quote_approval: (...) | (...);
                                quote_id: (...) | (...);
                                quote_url?: (...) | (...);
                                quote_visible?: (...) | (...) | (...);
                                quotes_count: number;
                                reblogged: boolean;
                                reblogs_count: number;
                                replies_count: number;
                                rss_feed: (...) | (...);
                                scheduled_at: null;
                                sensitive: boolean;
                                spoiler_text: string;
                                spoiler_text_map: (...) | (...);
                                tags: (...)[];
                                text: (...) | (...);
                                text_map: (...) | (...);
                                thread_muted?: (...) | (...) | (...);
                                translation: (...) | (...) | (...);
                                uri: string;
                                url: string;
                                visibility: string;
                            } & { quote: (...)
                            | (...)
                            | (...); reblog: (...) | (...) };
                            subtype: "reply" | null;
                            type: "mention";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            status: {
                                account: (...) & (...);
                                application: (...) | (...);
                                approval_status: (...) | (...) | (...) | (...);
                                bookmark_folder: (...) | (...);
                                bookmarked: boolean;
                                card: (...) | (...);
                                content: string;
                                content_map: (...) | (...);
                                content_type: (...) | (...);
                                conversation_id?: (...) | (...);
                                created_at: string;
                                direct_conversation_id?: (...) | (...);
                                disliked: boolean;
                                dislikes_count: number;
                                edited_at: (...) | (...);
                                emoji_reactions: (...)[];
                                emojis: (...)[];
                                event: (...) | (...);
                                expires_at?: (...) | (...);
                                favourited: boolean;
                                favourites_count: number;
                                filtered: (...)[];
                                group: (...) | (...);
                                id: string;
                                in_reply_to_account_acct?: (...) | (...);
                                in_reply_to_account_id: (...) | (...);
                                in_reply_to_id: (...) | (...);
                                interaction_policy: {
                                    can_favourite: ...;
                                    can_reblog: ...;
                                    can_reply: ...;
                                };
                                language: (...)
                                | (...);
                                list_id: (...) | (...);
                                local?: (...) | (...) | (...);
                                local_only?: (...) | (...) | (...);
                                location: (...) | (...);
                                media_attachments: (...)[];
                                mentions: (...)[];
                                muted: boolean;
                                parent_visible?: (...) | (...) | (...);
                                pinned: boolean;
                                pinned_at: (...) | (...);
                                poll: (...) | (...);
                                quote_approval: (...) | (...);
                                quote_id: (...) | (...);
                                quote_url?: (...) | (...);
                                quote_visible?: (...) | (...) | (...);
                                quotes_count: number;
                                reblogged: boolean;
                                reblogs_count: number;
                                replies_count: number;
                                rss_feed: (...) | (...);
                                scheduled_at: null;
                                sensitive: boolean;
                                spoiler_text: string;
                                spoiler_text_map: (...) | (...);
                                tags: (...)[];
                                text: (...) | (...);
                                text_map: (...) | (...);
                                thread_muted?: (...) | (...) | (...);
                                translation: (...) | (...) | (...);
                                uri: string;
                                url: string;
                                visibility: string;
                            } & { quote: (...)
                            | (...)
                            | (...); reblog: (...) | (...) };
                            type:
                                | "poll"
                                | "reblog"
                                | "quote"
                                | "favourite"
                                | "status"
                                | "update"
                                | "event_reminder"
                                | "quoted_update";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            report: {
                                action_taken?: boolean;
                                action_taken_at: string
                                | null;
                                category?: string;
                                comment?: string;
                                created_at?: string;
                                forwarded?: boolean;
                                id: string;
                                rule_ids: string | null;
                                status_ids: string | null;
                                target_account: Account | null;
                            };
                            type: "admin.report";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            event: {
                                created_at: string;
                                id: string;
                                purged: string;
                                relationships_count?: number;
                                type: "domain_block"
                                | "user_domain_block"
                                | "account_suspension";
                            };
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            type: "severed_relationships";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            moderation_warning: {
                                action: | "none"
                                | "disable"
                                | "mark_statuses_as_sensitive"
                                | "delete_statuses"
                                | "sensitive"
                                | "silence"
                                | "suspend";
                                appeal: { state: ...; text: ... }
                                | null;
                                created_at: string;
                                id: string;
                                status_ids: string[];
                                target_account: {
                                    __meta: ...;
                                    accepts_chat_messages: ...;
                                    acct: ...;
                                    ap_id: ...;
                                    avatar: ...;
                                    avatar_default: ...;
                                    avatar_description: ...;
                                    avatar_static: ...;
                                    background_image: ...;
                                    birthday?: ...;
                                    bot: ...;
                                    created_at: ...;
                                    custom_css: ...;
                                    deactivated?: ...;
                                    discoverable: ...;
                                    display_name: ...;
                                    domain: ...;
                                    emojis: ...;
                                    enable_rss: ...;
                                    favicon?: ...;
                                    fields: ...;
                                    followers_count: ...;
                                    following_count: ...;
                                    fqn: ...;
                                    group: ...;
                                    header: ...;
                                    header_default: ...;
                                    header_description: ...;
                                    header_static: ...;
                                    hide_collections?: ...;
                                    hide_favorites: ...;
                                    hide_followers?: ...;
                                    hide_followers_count?: ...;
                                    hide_follows?: ...;
                                    hide_follows_count?: ...;
                                    id: ...;
                                    identity_proofs: ...;
                                    indexable: ...;
                                    is_admin?: ...;
                                    is_cat: ...;
                                    is_moderator?: ...;
                                    is_suggested?: ...;
                                    last_status_at: ...;
                                    limited?: ...;
                                    local?: ...;
                                    location?: ...;
                                    locked: ...;
                                    memorial: ...;
                                    mention_policy: ...;
                                    moved: ...;
                                    noindex: ...;
                                    note: ...;
                                    payment_options: ...;
                                    permit_followback?: ...;
                                    pronouns: ...;
                                    relationship?: ...;
                                    roles: ...;
                                    speak_as_cat: ...;
                                    statuses_count: ...;
                                    subscribers_count: ...;
                                    suspended?: ...;
                                    url: ...;
                                    username: ...;
                                    verified?: ...;
                                } & WithMoved;
                                text: string;
                            };
                            type: "moderation_warning";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            target: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            type: "move";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            emoji: string;
                            emoji_url: string
                            | null;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            status: {
                                account: (...) & (...);
                                application: (...) | (...);
                                approval_status: (...) | (...) | (...) | (...);
                                bookmark_folder: (...) | (...);
                                bookmarked: boolean;
                                card: (...) | (...);
                                content: string;
                                content_map: (...) | (...);
                                content_type: (...) | (...);
                                conversation_id?: (...) | (...);
                                created_at: string;
                                direct_conversation_id?: (...) | (...);
                                disliked: boolean;
                                dislikes_count: number;
                                edited_at: (...) | (...);
                                emoji_reactions: (...)[];
                                emojis: (...)[];
                                event: (...) | (...);
                                expires_at?: (...) | (...);
                                favourited: boolean;
                                favourites_count: number;
                                filtered: (...)[];
                                group: (...) | (...);
                                id: string;
                                in_reply_to_account_acct?: (...) | (...);
                                in_reply_to_account_id: (...) | (...);
                                in_reply_to_id: (...) | (...);
                                interaction_policy: {
                                    can_favourite: ...;
                                    can_reblog: ...;
                                    can_reply: ...;
                                };
                                language: (...)
                                | (...);
                                list_id: (...) | (...);
                                local?: (...) | (...) | (...);
                                local_only?: (...) | (...) | (...);
                                location: (...) | (...);
                                media_attachments: (...)[];
                                mentions: (...)[];
                                muted: boolean;
                                parent_visible?: (...) | (...) | (...);
                                pinned: boolean;
                                pinned_at: (...) | (...);
                                poll: (...) | (...);
                                quote_approval: (...) | (...);
                                quote_id: (...) | (...);
                                quote_url?: (...) | (...);
                                quote_visible?: (...) | (...) | (...);
                                quotes_count: number;
                                reblogged: boolean;
                                reblogs_count: number;
                                replies_count: number;
                                rss_feed: (...) | (...);
                                scheduled_at: null;
                                sensitive: boolean;
                                spoiler_text: string;
                                spoiler_text_map: (...) | (...);
                                tags: (...)[];
                                text: (...) | (...);
                                text_map: (...) | (...);
                                thread_muted?: (...) | (...) | (...);
                                translation: (...) | (...) | (...);
                                uri: string;
                                url: string;
                                visibility: string;
                            } & { quote: (...)
                            | (...)
                            | (...); reblog: (...) | (...) };
                            type: "emoji_reaction";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            chat_message: {
                                account_id: string;
                                attachment: | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | null;
                                card: | {
                                    author_name: ...;
                                    author_url: ...;
                                    authors: ...;
                                    blurhash: ...;
                                    description: ...;
                                    embed_url: ...;
                                    height: ...;
                                    html: ...;
                                    image: ...;
                                    image_description: ...;
                                    provider_name: ...;
                                    provider_url: ...;
                                    title: ...;
                                    type: ...;
                                    url: ...;
                                    width: ...;
                                }
                                | null;
                                chat_id: string;
                                content: string;
                                created_at: string;
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                id: string;
                                unread: boolean;
                            };
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            type: "chat_mention";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            participation_message: string
                            | null;
                            status: {
                                account: (...) & (...);
                                application: (...) | (...);
                                approval_status: (...) | (...) | (...) | (...);
                                bookmark_folder: (...) | (...);
                                bookmarked: boolean;
                                card: (...) | (...);
                                content: string;
                                content_map: (...) | (...);
                                content_type: (...) | (...);
                                conversation_id?: (...) | (...);
                                created_at: string;
                                direct_conversation_id?: (...) | (...);
                                disliked: boolean;
                                dislikes_count: number;
                                edited_at: (...) | (...);
                                emoji_reactions: (...)[];
                                emojis: (...)[];
                                event: (...) | (...);
                                expires_at?: (...) | (...);
                                favourited: boolean;
                                favourites_count: number;
                                filtered: (...)[];
                                group: (...) | (...);
                                id: string;
                                in_reply_to_account_acct?: (...) | (...);
                                in_reply_to_account_id: (...) | (...);
                                in_reply_to_id: (...) | (...);
                                interaction_policy: {
                                    can_favourite: ...;
                                    can_reblog: ...;
                                    can_reply: ...;
                                };
                                language: (...)
                                | (...);
                                list_id: (...) | (...);
                                local?: (...) | (...) | (...);
                                local_only?: (...) | (...) | (...);
                                location: (...) | (...);
                                media_attachments: (...)[];
                                mentions: (...)[];
                                muted: boolean;
                                parent_visible?: (...) | (...) | (...);
                                pinned: boolean;
                                pinned_at: (...) | (...);
                                poll: (...) | (...);
                                quote_approval: (...) | (...);
                                quote_id: (...) | (...);
                                quote_url?: (...) | (...);
                                quote_visible?: (...) | (...) | (...);
                                quotes_count: number;
                                reblogged: boolean;
                                reblogs_count: number;
                                replies_count: number;
                                rss_feed: (...) | (...);
                                scheduled_at: null;
                                sensitive: boolean;
                                spoiler_text: string;
                                spoiler_text_map: (...) | (...);
                                tags: (...)[];
                                text: (...) | (...);
                                text_map: (...) | (...);
                                thread_muted?: (...) | (...) | (...);
                                translation: (...) | (...) | (...);
                                uri: string;
                                url: string;
                                visibility: string;
                            } & { quote: (...)
                            | (...)
                            | (...); reblog: (...) | (...) };
                            type: "participation_accepted" | "participation_request";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            status: Status
                            | null;
                            type: "bite";
                        };
                        stream: string[];
                    }
                    | { event: "filters_changed"; stream: string[] }
                    | {
                        event: "conversation";
                        payload: {
                            accounts: Account[];
                            id: string;
                            last_status: Status | null;
                            unread: boolean;
                        };
                        stream: string[];
                    }
                    | {
                        event: "announcement";
                        payload: {
                            all_day: boolean;
                            content: string;
                            emojis: {
                                category: string
                                | null;
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            ends_at: string
                            | null;
                            id: string;
                            mentions: { acct: string; id: string; url: string; username: string }[];
                            published_at: string;
                            reactions: {
                                announcement_id: string;
                                count: number;
                                me: boolean;
                                name: string;
                                static_url: string | null;
                                url: string | null;
                            }[];
                            read: boolean;
                            starts_at: string
                            | null;
                            statuses: { [key: string]: string };
                            tags: {
                                following?: boolean;
                                history: (...)[] | null;
                                name: string;
                                total: number | null;
                                url: string;
                            }[];
                            updated_at: string;
                        };
                        stream: string[];
                    }
                    | {
                        event: "announcement.reaction";
                        payload: {
                            announcement_id: string;
                            count: number;
                            me: boolean;
                            name: string;
                            static_url: string
                            | null;
                            url: string | null;
                        };
                        stream: string[];
                    }
                    | {
                        event: "chat_update";
                        payload: {
                            account: {
                                __meta: { pleroma?: any; source?: any };
                                accepts_chat_messages: boolean | null;
                                acct: string;
                                ap_id: string | null;
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: string | null;
                                birthday?: string;
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: boolean;
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                enable_rss: boolean;
                                favicon?: string;
                                fields: { name: ...; value: ...; verified_at: ... }[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: boolean;
                                hide_favorites: boolean;
                                hide_followers?: boolean;
                                hide_followers_count?: boolean;
                                hide_follows?: boolean;
                                hide_follows_count?: boolean;
                                id: string;
                                identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                                indexable: boolean | null;
                                is_admin?: boolean;
                                is_cat: boolean;
                                is_moderator?: boolean;
                                is_suggested?: boolean;
                                last_status_at: string | null;
                                limited?: boolean;
                                local?: boolean;
                                location?: string;
                                locked: boolean;
                                memorial: boolean | null;
                                mention_policy: "none" | "only_known" | "only_contacts";
                                moved:
                                    | {
                                        __meta: ...;
                                        accepts_chat_messages: ...;
                                        acct: ...;
                                        ap_id: ...;
                                        avatar: ...;
                                        avatar_default: ...;
                                        avatar_description: ...;
                                        avatar_static: ...;
                                        background_image: ...;
                                        birthday?: ...;
                                        bot: ...;
                                        created_at: ...;
                                        custom_css: ...;
                                        deactivated?: ...;
                                        discoverable: ...;
                                        display_name: ...;
                                        domain: ...;
                                        emojis: ...;
                                        enable_rss: ...;
                                        favicon?: ...;
                                        fields: ...;
                                        followers_count: ...;
                                        following_count: ...;
                                        fqn: ...;
                                        group: ...;
                                        header: ...;
                                        header_default: ...;
                                        header_description: ...;
                                        header_static: ...;
                                        hide_collections?: ...;
                                        hide_favorites: ...;
                                        hide_followers?: ...;
                                        hide_followers_count?: ...;
                                        hide_follows?: ...;
                                        hide_follows_count?: ...;
                                        id: ...;
                                        identity_proofs: ...;
                                        indexable: ...;
                                        is_admin?: ...;
                                        is_cat: ...;
                                        is_moderator?: ...;
                                        is_suggested?: ...;
                                        last_status_at: ...;
                                        limited?: ...;
                                        local?: ...;
                                        location?: ...;
                                        locked: ...;
                                        memorial: ...;
                                        mention_policy: ...;
                                        noindex: ...;
                                        note: ...;
                                        payment_options: ...;
                                        permit_followback?: ...;
                                        pronouns: ...;
                                        relationship?: ...;
                                        roles: ...;
                                        speak_as_cat: ...;
                                        statuses_count: ...;
                                        subscribers_count: ...;
                                        suspended?: ...;
                                        url: ...;
                                        username: ...;
                                        verified?: ...;
                                    }
                                    | null;
                                noindex: boolean
                                | null;
                                note: string;
                                payment_options: ((...) | (...))[];
                                permit_followback?: boolean;
                                pronouns: string[];
                                relationship?: {
                                    blocked_by: ...;
                                    blocking: ...;
                                    domain_blocking: ...;
                                    endorsed: ...;
                                    followed_by: ...;
                                    following: ...;
                                    id: ...;
                                    languages: ...;
                                    muting: ...;
                                    muting_notifications: ...;
                                    note: ...;
                                    notifying: ...;
                                    requested: ...;
                                    showing_reblogs: ...;
                                };
                                roles: {
                                    color: ...;
                                    highlighted: ...;
                                    id: ...;
                                    name: ...;
                                    permissions: ...;
                                }[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: boolean;
                                url: string;
                                username: string;
                                verified?: boolean;
                            } & WithMoved;
                            id: string;
                            last_message: | {
                                account_id: string;
                                attachment: | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | null;
                                card: | {
                                    author_name: ...;
                                    author_url: ...;
                                    authors: ...;
                                    blurhash: ...;
                                    description: ...;
                                    embed_url: ...;
                                    height: ...;
                                    html: ...;
                                    image: ...;
                                    image_description: ...;
                                    provider_name: ...;
                                    provider_url: ...;
                                    title: ...;
                                    type: ...;
                                    url: ...;
                                    width: ...;
                                }
                                | null;
                                chat_id: string;
                                content: string;
                                created_at: string;
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                id: string;
                                unread: boolean;
                            }
                            | null;
                            unread: number;
                            updated_at: string;
                        };
                        stream: string[];
                    }
                    | {
                        event: "follow_relationships_update";
                        payload: {
                            follower: {
                                follower_count: number
                                | null;
                                following_count: number | null;
                                id: string;
                            };
                            following: {
                                follower_count: number
                                | null;
                                following_count: number | null;
                                id: string;
                            };
                            state: "follow_pending"
                            | "follow_accept"
                            | "follow_reject";
                        };
                        stream: string[];
                    }
                    | {
                        event: "respond";
                        payload: { result: "success"
                        | "ignored"
                        | "error"; type: string };
                        stream: string[];
                    }
                    | {
                        event: "marker";
                        payload: {
                            [key: string]: {
                                last_read_id: string;
                                unread_count?: number;
                                updated_at: string;
                                version: number;
                            };
                        };
                        stream: string[];
                    }
                    | { event: "notifications_merged"; stream: string[] },
            ) => void,
            stream?: string,
        ) => number;
        onDisconnect: (callback: () => void) => () => void;
        subscribe: (stream: string, params?: StreamingParams) => void;
        unlisten: (
            listener: (
                event:
                    | {
                        event: "update"
                        | "status.update";
                        payload: {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            application: { name: string; website: (...) | (...) }
                            | null;
                            approval_status: "rejected" | "pending" | "approval" | null;
                            bookmark_folder: string | null;
                            bookmarked: boolean;
                            card:
                                | {
                                    author_name: string;
                                    author_url: string;
                                    authors: (...)[];
                                    blurhash: (...) | (...);
                                    description: string;
                                    embed_url: string;
                                    height: number;
                                    html: string;
                                    image: (...) | (...);
                                    image_description: string;
                                    provider_name: string;
                                    provider_url: string;
                                    title: string;
                                    type: (...) | (...) | (...) | (...);
                                    url: string;
                                    width: number;
                                }
                                | null;
                            content: string;
                            content_map: { [key: string]: string }
                            | null;
                            content_type: string | null;
                            conversation_id?: string;
                            created_at: string;
                            direct_conversation_id?: string;
                            disliked: boolean;
                            dislikes_count: number;
                            edited_at: string | null;
                            emoji_reactions: (
                                | {
                                    account_ids: ...;
                                    accounts: ...;
                                    count: ...;
                                    me: ...;
                                    name: ...;
                                    static_url: ...;
                                    url: ...;
                                }
                                | {
                                    account_ids: ...;
                                    accounts: ...;
                                    count: ...;
                                    me: ...;
                                    name: ...;
                                    static_url: ...;
                                    url: ...;
                                }
                            )[];
                            emojis: {
                                category: (...)
                                | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            event: | {
                                end_time: (...)
                                | (...);
                                join_mode: (...) | (...) | (...) | (...) | (...);
                                join_state: (...) | (...) | (...) | (...);
                                location: (...) | (...);
                                name: string;
                                participants_count: number;
                                participation_request_count: number;
                                start_time: (...) | (...);
                            }
                            | null;
                            expires_at?: string;
                            favourited: boolean;
                            favourites_count: number;
                            filtered: {
                                filter: {
                                    context: ...;
                                    expires_at: ...;
                                    filter_action: ...;
                                    id: ...;
                                    title: ...;
                                };
                                keyword_matches: (...)
                                | (...);
                                status_matches: (...) | (...);
                            }[];
                            group: | {
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                created_at: string;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                id: string;
                                locked: boolean;
                                members_count: number;
                                membership_required: boolean;
                                note: string;
                                owner: (...) | (...);
                                relationship: (...) | (...);
                                statuses_visibility: string;
                                uri: string;
                                url: string;
                            }
                            | null;
                            id: string;
                            in_reply_to_account_acct?: string;
                            in_reply_to_account_id: string
                            | null;
                            in_reply_to_id: string | null;
                            interaction_policy: {
                                can_favourite: {
                                    automatic_approval: (...)[];
                                    manual_approval: (...)[];
                                };
                                can_reblog: { automatic_approval: (...)[]; manual_approval: (...)[] };
                                can_reply: { automatic_approval: (...)[]; manual_approval: (...)[] };
                            };
                            language: string
                            | null;
                            list_id: number | null;
                            local?: boolean;
                            local_only?: boolean;
                            location:
                                | {
                                    country: string;
                                    latitude: (...)
                                    | (...);
                                    locality: string;
                                    longitude: (...) | (...);
                                    name: string;
                                    postal_code: string;
                                    region: string;
                                    street: string;
                                    url: string;
                                }
                                | null;
                            media_attachments: (
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                            )[];
                            mentions: { acct: string; id: string; url: string; username: string }[];
                            muted: boolean;
                            parent_visible?: boolean;
                            pinned: boolean;
                            pinned_at: string | null;
                            poll:
                                | {
                                    emojis: (...)[];
                                    expired: boolean;
                                    expires_at: (...) | (...);
                                    id: string;
                                    multiple: boolean;
                                    non_anonymous: boolean;
                                    options: (...)[];
                                    own_votes: (...) | (...);
                                    voted: boolean;
                                    voters_count: number;
                                    votes_count: number;
                                }
                                | null;
                            quote_approval: | {
                                automatic: (...)[];
                                current_user: (...) | (...) | (...) | (...);
                                manual: (...)[];
                            }
                            | null;
                            quote_id: string
                            | null;
                            quote_url?: string;
                            quote_visible?: boolean;
                            quotes_count: number;
                            reblogged: boolean;
                            reblogs_count: number;
                            replies_count: number;
                            rss_feed:
                                | {
                                    description: (...)
                                    | (...);
                                    id: string;
                                    image_url: (...) | (...);
                                    title: (...) | (...);
                                    url: string;
                                }
                                | null;
                            scheduled_at: null;
                            sensitive: boolean;
                            spoiler_text: string;
                            spoiler_text_map: { [key: string]: string }
                            | null;
                            tags: {
                                following?: (...) | (...) | (...);
                                history: (...) | (...);
                                name: string;
                                total: (...) | (...);
                                url: string;
                            }[];
                            text: string
                            | null;
                            text_map: { [key: string]: string } | null;
                            thread_muted?: boolean;
                            translation:
                                | false
                                | {
                                    content: string;
                                    detected_source_language: string;
                                    id: (...)
                                    | (...);
                                    language: string;
                                    media_attachments: (...)[];
                                    poll?: (...) | (...);
                                    provider: (...) | (...);
                                    spoiler_text: string;
                                }
                                | null;
                            uri: string;
                            url: string;
                            visibility: string;
                        } & {
                            quote: | Quote
                            | {
                                quoted_status_id: (...)
                                | (...);
                                state:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                            }
                            | null;
                            reblog: Status
                            | null;
                        };
                        stream: string[];
                    }
                    | {
                        event: "delete"
                        | "announcement.delete";
                        payload: string;
                        stream: string[];
                    }
                    | {
                        event: "notification";
                        payload: | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            type: | "follow"
                            | "follow_request"
                            | "follow_request_accepted"
                            | "admin.sign_up";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            status: {
                                account: (...) & (...);
                                application: (...) | (...);
                                approval_status: (...) | (...) | (...) | (...);
                                bookmark_folder: (...) | (...);
                                bookmarked: boolean;
                                card: (...) | (...);
                                content: string;
                                content_map: (...) | (...);
                                content_type: (...) | (...);
                                conversation_id?: (...) | (...);
                                created_at: string;
                                direct_conversation_id?: (...) | (...);
                                disliked: boolean;
                                dislikes_count: number;
                                edited_at: (...) | (...);
                                emoji_reactions: (...)[];
                                emojis: (...)[];
                                event: (...) | (...);
                                expires_at?: (...) | (...);
                                favourited: boolean;
                                favourites_count: number;
                                filtered: (...)[];
                                group: (...) | (...);
                                id: string;
                                in_reply_to_account_acct?: (...) | (...);
                                in_reply_to_account_id: (...) | (...);
                                in_reply_to_id: (...) | (...);
                                interaction_policy: {
                                    can_favourite: ...;
                                    can_reblog: ...;
                                    can_reply: ...;
                                };
                                language: (...)
                                | (...);
                                list_id: (...) | (...);
                                local?: (...) | (...) | (...);
                                local_only?: (...) | (...) | (...);
                                location: (...) | (...);
                                media_attachments: (...)[];
                                mentions: (...)[];
                                muted: boolean;
                                parent_visible?: (...) | (...) | (...);
                                pinned: boolean;
                                pinned_at: (...) | (...);
                                poll: (...) | (...);
                                quote_approval: (...) | (...);
                                quote_id: (...) | (...);
                                quote_url?: (...) | (...);
                                quote_visible?: (...) | (...) | (...);
                                quotes_count: number;
                                reblogged: boolean;
                                reblogs_count: number;
                                replies_count: number;
                                rss_feed: (...) | (...);
                                scheduled_at: null;
                                sensitive: boolean;
                                spoiler_text: string;
                                spoiler_text_map: (...) | (...);
                                tags: (...)[];
                                text: (...) | (...);
                                text_map: (...) | (...);
                                thread_muted?: (...) | (...) | (...);
                                translation: (...) | (...) | (...);
                                uri: string;
                                url: string;
                                visibility: string;
                            } & { quote: (...)
                            | (...)
                            | (...); reblog: (...) | (...) };
                            subtype: "reply" | null;
                            type: "mention";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            status: {
                                account: (...) & (...);
                                application: (...) | (...);
                                approval_status: (...) | (...) | (...) | (...);
                                bookmark_folder: (...) | (...);
                                bookmarked: boolean;
                                card: (...) | (...);
                                content: string;
                                content_map: (...) | (...);
                                content_type: (...) | (...);
                                conversation_id?: (...) | (...);
                                created_at: string;
                                direct_conversation_id?: (...) | (...);
                                disliked: boolean;
                                dislikes_count: number;
                                edited_at: (...) | (...);
                                emoji_reactions: (...)[];
                                emojis: (...)[];
                                event: (...) | (...);
                                expires_at?: (...) | (...);
                                favourited: boolean;
                                favourites_count: number;
                                filtered: (...)[];
                                group: (...) | (...);
                                id: string;
                                in_reply_to_account_acct?: (...) | (...);
                                in_reply_to_account_id: (...) | (...);
                                in_reply_to_id: (...) | (...);
                                interaction_policy: {
                                    can_favourite: ...;
                                    can_reblog: ...;
                                    can_reply: ...;
                                };
                                language: (...)
                                | (...);
                                list_id: (...) | (...);
                                local?: (...) | (...) | (...);
                                local_only?: (...) | (...) | (...);
                                location: (...) | (...);
                                media_attachments: (...)[];
                                mentions: (...)[];
                                muted: boolean;
                                parent_visible?: (...) | (...) | (...);
                                pinned: boolean;
                                pinned_at: (...) | (...);
                                poll: (...) | (...);
                                quote_approval: (...) | (...);
                                quote_id: (...) | (...);
                                quote_url?: (...) | (...);
                                quote_visible?: (...) | (...) | (...);
                                quotes_count: number;
                                reblogged: boolean;
                                reblogs_count: number;
                                replies_count: number;
                                rss_feed: (...) | (...);
                                scheduled_at: null;
                                sensitive: boolean;
                                spoiler_text: string;
                                spoiler_text_map: (...) | (...);
                                tags: (...)[];
                                text: (...) | (...);
                                text_map: (...) | (...);
                                thread_muted?: (...) | (...) | (...);
                                translation: (...) | (...) | (...);
                                uri: string;
                                url: string;
                                visibility: string;
                            } & { quote: (...)
                            | (...)
                            | (...); reblog: (...) | (...) };
                            type:
                                | "poll"
                                | "reblog"
                                | "quote"
                                | "favourite"
                                | "status"
                                | "update"
                                | "event_reminder"
                                | "quoted_update";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            report: {
                                action_taken?: boolean;
                                action_taken_at: string
                                | null;
                                category?: string;
                                comment?: string;
                                created_at?: string;
                                forwarded?: boolean;
                                id: string;
                                rule_ids: string | null;
                                status_ids: string | null;
                                target_account: Account | null;
                            };
                            type: "admin.report";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            event: {
                                created_at: string;
                                id: string;
                                purged: string;
                                relationships_count?: number;
                                type: "domain_block"
                                | "user_domain_block"
                                | "account_suspension";
                            };
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            type: "severed_relationships";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            moderation_warning: {
                                action: | "none"
                                | "disable"
                                | "mark_statuses_as_sensitive"
                                | "delete_statuses"
                                | "sensitive"
                                | "silence"
                                | "suspend";
                                appeal: { state: ...; text: ... }
                                | null;
                                created_at: string;
                                id: string;
                                status_ids: string[];
                                target_account: {
                                    __meta: ...;
                                    accepts_chat_messages: ...;
                                    acct: ...;
                                    ap_id: ...;
                                    avatar: ...;
                                    avatar_default: ...;
                                    avatar_description: ...;
                                    avatar_static: ...;
                                    background_image: ...;
                                    birthday?: ...;
                                    bot: ...;
                                    created_at: ...;
                                    custom_css: ...;
                                    deactivated?: ...;
                                    discoverable: ...;
                                    display_name: ...;
                                    domain: ...;
                                    emojis: ...;
                                    enable_rss: ...;
                                    favicon?: ...;
                                    fields: ...;
                                    followers_count: ...;
                                    following_count: ...;
                                    fqn: ...;
                                    group: ...;
                                    header: ...;
                                    header_default: ...;
                                    header_description: ...;
                                    header_static: ...;
                                    hide_collections?: ...;
                                    hide_favorites: ...;
                                    hide_followers?: ...;
                                    hide_followers_count?: ...;
                                    hide_follows?: ...;
                                    hide_follows_count?: ...;
                                    id: ...;
                                    identity_proofs: ...;
                                    indexable: ...;
                                    is_admin?: ...;
                                    is_cat: ...;
                                    is_moderator?: ...;
                                    is_suggested?: ...;
                                    last_status_at: ...;
                                    limited?: ...;
                                    local?: ...;
                                    location?: ...;
                                    locked: ...;
                                    memorial: ...;
                                    mention_policy: ...;
                                    moved: ...;
                                    noindex: ...;
                                    note: ...;
                                    payment_options: ...;
                                    permit_followback?: ...;
                                    pronouns: ...;
                                    relationship?: ...;
                                    roles: ...;
                                    speak_as_cat: ...;
                                    statuses_count: ...;
                                    subscribers_count: ...;
                                    suspended?: ...;
                                    url: ...;
                                    username: ...;
                                    verified?: ...;
                                } & WithMoved;
                                text: string;
                            };
                            type: "moderation_warning";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            target: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            type: "move";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            emoji: string;
                            emoji_url: string
                            | null;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            status: {
                                account: (...) & (...);
                                application: (...) | (...);
                                approval_status: (...) | (...) | (...) | (...);
                                bookmark_folder: (...) | (...);
                                bookmarked: boolean;
                                card: (...) | (...);
                                content: string;
                                content_map: (...) | (...);
                                content_type: (...) | (...);
                                conversation_id?: (...) | (...);
                                created_at: string;
                                direct_conversation_id?: (...) | (...);
                                disliked: boolean;
                                dislikes_count: number;
                                edited_at: (...) | (...);
                                emoji_reactions: (...)[];
                                emojis: (...)[];
                                event: (...) | (...);
                                expires_at?: (...) | (...);
                                favourited: boolean;
                                favourites_count: number;
                                filtered: (...)[];
                                group: (...) | (...);
                                id: string;
                                in_reply_to_account_acct?: (...) | (...);
                                in_reply_to_account_id: (...) | (...);
                                in_reply_to_id: (...) | (...);
                                interaction_policy: {
                                    can_favourite: ...;
                                    can_reblog: ...;
                                    can_reply: ...;
                                };
                                language: (...)
                                | (...);
                                list_id: (...) | (...);
                                local?: (...) | (...) | (...);
                                local_only?: (...) | (...) | (...);
                                location: (...) | (...);
                                media_attachments: (...)[];
                                mentions: (...)[];
                                muted: boolean;
                                parent_visible?: (...) | (...) | (...);
                                pinned: boolean;
                                pinned_at: (...) | (...);
                                poll: (...) | (...);
                                quote_approval: (...) | (...);
                                quote_id: (...) | (...);
                                quote_url?: (...) | (...);
                                quote_visible?: (...) | (...) | (...);
                                quotes_count: number;
                                reblogged: boolean;
                                reblogs_count: number;
                                replies_count: number;
                                rss_feed: (...) | (...);
                                scheduled_at: null;
                                sensitive: boolean;
                                spoiler_text: string;
                                spoiler_text_map: (...) | (...);
                                tags: (...)[];
                                text: (...) | (...);
                                text_map: (...) | (...);
                                thread_muted?: (...) | (...) | (...);
                                translation: (...) | (...) | (...);
                                uri: string;
                                url: string;
                                visibility: string;
                            } & { quote: (...)
                            | (...)
                            | (...); reblog: (...) | (...) };
                            type: "emoji_reaction";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            chat_message: {
                                account_id: string;
                                attachment: | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | null;
                                card: | {
                                    author_name: ...;
                                    author_url: ...;
                                    authors: ...;
                                    blurhash: ...;
                                    description: ...;
                                    embed_url: ...;
                                    height: ...;
                                    html: ...;
                                    image: ...;
                                    image_description: ...;
                                    provider_name: ...;
                                    provider_url: ...;
                                    title: ...;
                                    type: ...;
                                    url: ...;
                                    width: ...;
                                }
                                | null;
                                chat_id: string;
                                content: string;
                                created_at: string;
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                id: string;
                                unread: boolean;
                            };
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            type: "chat_mention";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            participation_message: string
                            | null;
                            status: {
                                account: (...) & (...);
                                application: (...) | (...);
                                approval_status: (...) | (...) | (...) | (...);
                                bookmark_folder: (...) | (...);
                                bookmarked: boolean;
                                card: (...) | (...);
                                content: string;
                                content_map: (...) | (...);
                                content_type: (...) | (...);
                                conversation_id?: (...) | (...);
                                created_at: string;
                                direct_conversation_id?: (...) | (...);
                                disliked: boolean;
                                dislikes_count: number;
                                edited_at: (...) | (...);
                                emoji_reactions: (...)[];
                                emojis: (...)[];
                                event: (...) | (...);
                                expires_at?: (...) | (...);
                                favourited: boolean;
                                favourites_count: number;
                                filtered: (...)[];
                                group: (...) | (...);
                                id: string;
                                in_reply_to_account_acct?: (...) | (...);
                                in_reply_to_account_id: (...) | (...);
                                in_reply_to_id: (...) | (...);
                                interaction_policy: {
                                    can_favourite: ...;
                                    can_reblog: ...;
                                    can_reply: ...;
                                };
                                language: (...)
                                | (...);
                                list_id: (...) | (...);
                                local?: (...) | (...) | (...);
                                local_only?: (...) | (...) | (...);
                                location: (...) | (...);
                                media_attachments: (...)[];
                                mentions: (...)[];
                                muted: boolean;
                                parent_visible?: (...) | (...) | (...);
                                pinned: boolean;
                                pinned_at: (...) | (...);
                                poll: (...) | (...);
                                quote_approval: (...) | (...);
                                quote_id: (...) | (...);
                                quote_url?: (...) | (...);
                                quote_visible?: (...) | (...) | (...);
                                quotes_count: number;
                                reblogged: boolean;
                                reblogs_count: number;
                                replies_count: number;
                                rss_feed: (...) | (...);
                                scheduled_at: null;
                                sensitive: boolean;
                                spoiler_text: string;
                                spoiler_text_map: (...) | (...);
                                tags: (...)[];
                                text: (...) | (...);
                                text_map: (...) | (...);
                                thread_muted?: (...) | (...) | (...);
                                translation: (...) | (...) | (...);
                                uri: string;
                                url: string;
                                visibility: string;
                            } & { quote: (...)
                            | (...)
                            | (...); reblog: (...) | (...) };
                            type: "participation_accepted" | "participation_request";
                        }
                        | {
                            account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                indexable: (...) | (...) | (...);
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                memorial: (...) | (...) | (...);
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            created_at: string;
                            group_key: string;
                            id: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            status: Status
                            | null;
                            type: "bite";
                        };
                        stream: string[];
                    }
                    | { event: "filters_changed"; stream: string[] }
                    | {
                        event: "conversation";
                        payload: {
                            accounts: Account[];
                            id: string;
                            last_status: Status | null;
                            unread: boolean;
                        };
                        stream: string[];
                    }
                    | {
                        event: "announcement";
                        payload: {
                            all_day: boolean;
                            content: string;
                            emojis: {
                                category: string
                                | null;
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            ends_at: string
                            | null;
                            id: string;
                            mentions: { acct: string; id: string; url: string; username: string }[];
                            published_at: string;
                            reactions: {
                                announcement_id: string;
                                count: number;
                                me: boolean;
                                name: string;
                                static_url: string | null;
                                url: string | null;
                            }[];
                            read: boolean;
                            starts_at: string
                            | null;
                            statuses: { [key: string]: string };
                            tags: {
                                following?: boolean;
                                history: (...)[] | null;
                                name: string;
                                total: number | null;
                                url: string;
                            }[];
                            updated_at: string;
                        };
                        stream: string[];
                    }
                    | {
                        event: "announcement.reaction";
                        payload: {
                            announcement_id: string;
                            count: number;
                            me: boolean;
                            name: string;
                            static_url: string
                            | null;
                            url: string | null;
                        };
                        stream: string[];
                    }
                    | {
                        event: "chat_update";
                        payload: {
                            account: {
                                __meta: { pleroma?: any; source?: any };
                                accepts_chat_messages: boolean | null;
                                acct: string;
                                ap_id: string | null;
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: string | null;
                                birthday?: string;
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: boolean;
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                enable_rss: boolean;
                                favicon?: string;
                                fields: { name: ...; value: ...; verified_at: ... }[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_default: boolean;
                                header_description: string;
                                header_static: string;
                                hide_collections?: boolean;
                                hide_favorites: boolean;
                                hide_followers?: boolean;
                                hide_followers_count?: boolean;
                                hide_follows?: boolean;
                                hide_follows_count?: boolean;
                                id: string;
                                identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                                indexable: boolean | null;
                                is_admin?: boolean;
                                is_cat: boolean;
                                is_moderator?: boolean;
                                is_suggested?: boolean;
                                last_status_at: string | null;
                                limited?: boolean;
                                local?: boolean;
                                location?: string;
                                locked: boolean;
                                memorial: boolean | null;
                                mention_policy: "none" | "only_known" | "only_contacts";
                                moved:
                                    | {
                                        __meta: ...;
                                        accepts_chat_messages: ...;
                                        acct: ...;
                                        ap_id: ...;
                                        avatar: ...;
                                        avatar_default: ...;
                                        avatar_description: ...;
                                        avatar_static: ...;
                                        background_image: ...;
                                        birthday?: ...;
                                        bot: ...;
                                        created_at: ...;
                                        custom_css: ...;
                                        deactivated?: ...;
                                        discoverable: ...;
                                        display_name: ...;
                                        domain: ...;
                                        emojis: ...;
                                        enable_rss: ...;
                                        favicon?: ...;
                                        fields: ...;
                                        followers_count: ...;
                                        following_count: ...;
                                        fqn: ...;
                                        group: ...;
                                        header: ...;
                                        header_default: ...;
                                        header_description: ...;
                                        header_static: ...;
                                        hide_collections?: ...;
                                        hide_favorites: ...;
                                        hide_followers?: ...;
                                        hide_followers_count?: ...;
                                        hide_follows?: ...;
                                        hide_follows_count?: ...;
                                        id: ...;
                                        identity_proofs: ...;
                                        indexable: ...;
                                        is_admin?: ...;
                                        is_cat: ...;
                                        is_moderator?: ...;
                                        is_suggested?: ...;
                                        last_status_at: ...;
                                        limited?: ...;
                                        local?: ...;
                                        location?: ...;
                                        locked: ...;
                                        memorial: ...;
                                        mention_policy: ...;
                                        noindex: ...;
                                        note: ...;
                                        payment_options: ...;
                                        permit_followback?: ...;
                                        pronouns: ...;
                                        relationship?: ...;
                                        roles: ...;
                                        speak_as_cat: ...;
                                        statuses_count: ...;
                                        subscribers_count: ...;
                                        suspended?: ...;
                                        url: ...;
                                        username: ...;
                                        verified?: ...;
                                    }
                                    | null;
                                noindex: boolean
                                | null;
                                note: string;
                                payment_options: ((...) | (...))[];
                                permit_followback?: boolean;
                                pronouns: string[];
                                relationship?: {
                                    blocked_by: ...;
                                    blocking: ...;
                                    domain_blocking: ...;
                                    endorsed: ...;
                                    followed_by: ...;
                                    following: ...;
                                    id: ...;
                                    languages: ...;
                                    muting: ...;
                                    muting_notifications: ...;
                                    note: ...;
                                    notifying: ...;
                                    requested: ...;
                                    showing_reblogs: ...;
                                };
                                roles: {
                                    color: ...;
                                    highlighted: ...;
                                    id: ...;
                                    name: ...;
                                    permissions: ...;
                                }[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: boolean;
                                url: string;
                                username: string;
                                verified?: boolean;
                            } & WithMoved;
                            id: string;
                            last_message: | {
                                account_id: string;
                                attachment: | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | null;
                                card: | {
                                    author_name: ...;
                                    author_url: ...;
                                    authors: ...;
                                    blurhash: ...;
                                    description: ...;
                                    embed_url: ...;
                                    height: ...;
                                    html: ...;
                                    image: ...;
                                    image_description: ...;
                                    provider_name: ...;
                                    provider_url: ...;
                                    title: ...;
                                    type: ...;
                                    url: ...;
                                    width: ...;
                                }
                                | null;
                                chat_id: string;
                                content: string;
                                created_at: string;
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                id: string;
                                unread: boolean;
                            }
                            | null;
                            unread: number;
                            updated_at: string;
                        };
                        stream: string[];
                    }
                    | {
                        event: "follow_relationships_update";
                        payload: {
                            follower: {
                                follower_count: number
                                | null;
                                following_count: number | null;
                                id: string;
                            };
                            following: {
                                follower_count: number
                                | null;
                                following_count: number | null;
                                id: string;
                            };
                            state: "follow_pending"
                            | "follow_accept"
                            | "follow_reject";
                        };
                        stream: string[];
                    }
                    | {
                        event: "respond";
                        payload: { result: "success"
                        | "ignored"
                        | "error"; type: string };
                        stream: string[];
                    }
                    | {
                        event: "marker";
                        payload: {
                            [key: string]: {
                                last_read_id: string;
                                unread_count?: number;
                                updated_at: string;
                                version: number;
                            };
                        };
                        stream: string[];
                    }
                    | { event: "notifications_merged"; stream: string[] },
            ) => void,
        ) => void;
        unsubscribe: (stream: string, params?: StreamingParams) => void;
    }

    Accessors

    • get instanceInformation(): {
          account_domain: string;
          api_versions: { [key: string]: number };
          blockchains?: {
              chain_id: string | null;
              chain_metadata: {
                  description: string;
                  is_forwarding_required: boolean;
                  payment_amount_min: number;
              };
              features: { subscriptions: boolean };
          }[];
          configuration: {
              accounts: | {
                  allow_custom_css: boolean;
                  max_featured_tags: number;
                  max_profile_fields: number;
              }
              | null;
              chats: { max_characters: number };
              groups: {
                  max_characters_description: number;
                  max_characters_name: number;
              };
              limited_federation?: boolean;
              media_attachments: {
                  image_matrix_limit?: number;
                  image_size_limit?: number;
                  supported_mime_types?: string[];
                  video_duration_limit?: number;
                  video_frame_rate_limit?: number;
                  video_matrix_limit?: number;
                  video_size_limit?: number;
              };
              polls: {
                  max_characters_per_option: number;
                  max_expiration: number;
                  max_options: number;
                  min_expiration: number;
              };
              reactions: { max_reactions: number };
              statuses: {
                  characters_reserved_per_url?: number;
                  max_characters: number;
                  max_media_attachments: number;
              };
              timelines_access: {
                  hashtag_feeds: {
                      local: "disabled"
                      | "public"
                      | "authenticated";
                      remote: "disabled" | "public" | "authenticated";
                  };
                  live_feeds: {
                      bubble: "disabled"
                      | "public"
                      | "restricted"
                      | "authenticated";
                      local: "disabled" | "public" | "restricted" | "authenticated";
                      remote: "disabled" | "public" | "restricted" | "authenticated";
                      wrenched: "disabled" | "public" | "restricted" | "authenticated";
                  };
                  trending_link_feeds: {
                      local: "disabled"
                      | "public"
                      | "authenticated";
                      remote: "disabled" | "public" | "authenticated";
                  };
              };
              translation: { enabled: boolean };
              urls: {
                  about: string | null;
                  privacy_policy: string | null;
                  status?: string;
                  streaming?: string;
                  terms_of_service: string | null;
              };
              vapid: { public_key: string };
          };
          contact: { contact_account?: Account; email: string };
          description: string;
          domain: string;
          feature_quote: boolean;
          icons: { size: string; src: string }[];
          languages: string[];
          pleroma: {
              metadata: {
                  account_activation_required: boolean;
                  birthday_min_age: number;
                  birthday_required: boolean;
                  description_limit: number;
                  federation: {
                      enabled: boolean;
                      mrf_policies?: string[];
                      mrf_simple: {
                          accept: string[];
                          avatar_removal: string[];
                          banner_removal: string[];
                          federated_timeline_removal: string[];
                          followers_only: string[];
                          media_nsfw: string[];
                          media_removal: string[];
                          reject: string[];
                          reject_deletes: string[];
                          report_removal: string[];
                      };
                      mrf_simple_info: {
                          accept: [string, string][];
                          avatar_removal: [string, string][];
                          banner_removal: [string, string][];
                          federated_timeline_removal: [string, string][];
                          followers_only: [string, string][];
                          media_nsfw: [string, string][];
                          media_removal: [string, string][];
                          reject: [string, string][];
                          reject_deletes: [string, string][];
                          report_removal: [string, string][];
                      };
                  };
                  fields_limits: {
                      max_fields: number;
                      name_length: number;
                      value_length: number;
                  };
                  markup: { allow_headings: boolean; allow_inline_images: boolean };
                  migration_cooldown_period?: number;
                  multitenancy: {
                      domains?: { domain: string; id: string; public: boolean }[];
                      enabled: boolean;
                  };
                  post_formats: string[];
                  restrict_unauthenticated: {
                      activities: { local: boolean; remote: boolean };
                      profiles: { local: boolean; remote: boolean };
                      timelines: {
                          bubble: boolean;
                          federated: boolean;
                          local: boolean;
                          wrenched: boolean;
                      };
                  };
                  translation: {
                      allow_remote: boolean;
                      allow_unauthenticated: boolean;
                      source_languages?: string[];
                      target_languages?: string[];
                  };
              };
              oauth_consumer_strategies: string[];
              stats: { mau?: number };
              vapid_public_key: string;
          };
          registrations: {
              approval_required: boolean;
              enabled: boolean;
              message?: string;
              min_age: number
              | null;
              reason_required: boolean | null;
              url: string | null;
          };
          rules: {
              hint: string;
              id: string;
              text: string;
              translations?: { [key: string]: { hint: string; text: string } };
          }[];
          stats: {
              domain_count?: number;
              status_count?: number;
              user_count?: number;
          };
          thumbnail: { url: string };
          title: string;
          usage: { users: { active_month: number } };
          version: string;
      }

      Returns {
          account_domain: string;
          api_versions: { [key: string]: number };
          blockchains?: {
              chain_id: string | null;
              chain_metadata: {
                  description: string;
                  is_forwarding_required: boolean;
                  payment_amount_min: number;
              };
              features: { subscriptions: boolean };
          }[];
          configuration: {
              accounts: | {
                  allow_custom_css: boolean;
                  max_featured_tags: number;
                  max_profile_fields: number;
              }
              | null;
              chats: { max_characters: number };
              groups: {
                  max_characters_description: number;
                  max_characters_name: number;
              };
              limited_federation?: boolean;
              media_attachments: {
                  image_matrix_limit?: number;
                  image_size_limit?: number;
                  supported_mime_types?: string[];
                  video_duration_limit?: number;
                  video_frame_rate_limit?: number;
                  video_matrix_limit?: number;
                  video_size_limit?: number;
              };
              polls: {
                  max_characters_per_option: number;
                  max_expiration: number;
                  max_options: number;
                  min_expiration: number;
              };
              reactions: { max_reactions: number };
              statuses: {
                  characters_reserved_per_url?: number;
                  max_characters: number;
                  max_media_attachments: number;
              };
              timelines_access: {
                  hashtag_feeds: {
                      local: "disabled"
                      | "public"
                      | "authenticated";
                      remote: "disabled" | "public" | "authenticated";
                  };
                  live_feeds: {
                      bubble: "disabled"
                      | "public"
                      | "restricted"
                      | "authenticated";
                      local: "disabled" | "public" | "restricted" | "authenticated";
                      remote: "disabled" | "public" | "restricted" | "authenticated";
                      wrenched: "disabled" | "public" | "restricted" | "authenticated";
                  };
                  trending_link_feeds: {
                      local: "disabled"
                      | "public"
                      | "authenticated";
                      remote: "disabled" | "public" | "authenticated";
                  };
              };
              translation: { enabled: boolean };
              urls: {
                  about: string | null;
                  privacy_policy: string | null;
                  status?: string;
                  streaming?: string;
                  terms_of_service: string | null;
              };
              vapid: { public_key: string };
          };
          contact: { contact_account?: Account; email: string };
          description: string;
          domain: string;
          feature_quote: boolean;
          icons: { size: string; src: string }[];
          languages: string[];
          pleroma: {
              metadata: {
                  account_activation_required: boolean;
                  birthday_min_age: number;
                  birthday_required: boolean;
                  description_limit: number;
                  federation: {
                      enabled: boolean;
                      mrf_policies?: string[];
                      mrf_simple: {
                          accept: string[];
                          avatar_removal: string[];
                          banner_removal: string[];
                          federated_timeline_removal: string[];
                          followers_only: string[];
                          media_nsfw: string[];
                          media_removal: string[];
                          reject: string[];
                          reject_deletes: string[];
                          report_removal: string[];
                      };
                      mrf_simple_info: {
                          accept: [string, string][];
                          avatar_removal: [string, string][];
                          banner_removal: [string, string][];
                          federated_timeline_removal: [string, string][];
                          followers_only: [string, string][];
                          media_nsfw: [string, string][];
                          media_removal: [string, string][];
                          reject: [string, string][];
                          reject_deletes: [string, string][];
                          report_removal: [string, string][];
                      };
                  };
                  fields_limits: {
                      max_fields: number;
                      name_length: number;
                      value_length: number;
                  };
                  markup: { allow_headings: boolean; allow_inline_images: boolean };
                  migration_cooldown_period?: number;
                  multitenancy: {
                      domains?: { domain: string; id: string; public: boolean }[];
                      enabled: boolean;
                  };
                  post_formats: string[];
                  restrict_unauthenticated: {
                      activities: { local: boolean; remote: boolean };
                      profiles: { local: boolean; remote: boolean };
                      timelines: {
                          bubble: boolean;
                          federated: boolean;
                          local: boolean;
                          wrenched: boolean;
                      };
                  };
                  translation: {
                      allow_remote: boolean;
                      allow_unauthenticated: boolean;
                      source_languages?: string[];
                      target_languages?: string[];
                  };
              };
              oauth_consumer_strategies: string[];
              stats: { mau?: number };
              vapid_public_key: string;
          };
          registrations: {
              approval_required: boolean;
              enabled: boolean;
              message?: string;
              min_age: number
              | null;
              reason_required: boolean | null;
              url: string | null;
          };
          rules: {
              hint: string;
              id: string;
              text: string;
              translations?: { [key: string]: { hint: string; text: string } };
          }[];
          stats: {
              domain_count?: number;
              status_count?: number;
              user_count?: number;
          };
          thumbnail: { url: string };
          title: string;
          usage: { users: { active_month: number } };
          version: string;
      }

    Methods

    • Internal

      Type Parameters

      • T
      • IsArray extends boolean = true

      Parameters

      • input: URL | RequestInfo
      • body: RequestBody
      • schema: BaseSchema<any, T, BaseIssue<unknown>>
      • isArray: IsArray = ...

      Returns Promise<PaginatedResponse<T, IsArray>>

    • Internal

      Parameters

      • instance: {
            account_domain: string;
            api_versions: { [key: string]: number };
            blockchains?: {
                chain_id: string | null;
                chain_metadata: {
                    description: string;
                    is_forwarding_required: boolean;
                    payment_amount_min: number;
                };
                features: { subscriptions: boolean };
            }[];
            configuration: {
                accounts: | {
                    allow_custom_css: boolean;
                    max_featured_tags: number;
                    max_profile_fields: number;
                }
                | null;
                chats: { max_characters: number };
                groups: {
                    max_characters_description: number;
                    max_characters_name: number;
                };
                limited_federation?: boolean;
                media_attachments: {
                    image_matrix_limit?: number;
                    image_size_limit?: number;
                    supported_mime_types?: string[];
                    video_duration_limit?: number;
                    video_frame_rate_limit?: number;
                    video_matrix_limit?: number;
                    video_size_limit?: number;
                };
                polls: {
                    max_characters_per_option: number;
                    max_expiration: number;
                    max_options: number;
                    min_expiration: number;
                };
                reactions: { max_reactions: number };
                statuses: {
                    characters_reserved_per_url?: number;
                    max_characters: number;
                    max_media_attachments: number;
                };
                timelines_access: {
                    hashtag_feeds: {
                        local: "disabled"
                        | "public"
                        | "authenticated";
                        remote: "disabled" | "public" | "authenticated";
                    };
                    live_feeds: {
                        bubble: "disabled"
                        | "public"
                        | "restricted"
                        | "authenticated";
                        local: "disabled" | "public" | "restricted" | "authenticated";
                        remote: "disabled" | "public" | "restricted" | "authenticated";
                        wrenched: "disabled" | "public" | "restricted" | "authenticated";
                    };
                    trending_link_feeds: {
                        local: "disabled"
                        | "public"
                        | "authenticated";
                        remote: "disabled" | "public" | "authenticated";
                    };
                };
                translation: { enabled: boolean };
                urls: {
                    about: string | null;
                    privacy_policy: string | null;
                    status?: string;
                    streaming?: string;
                    terms_of_service: string | null;
                };
                vapid: { public_key: string };
            };
            contact: { contact_account?: Account; email: string };
            description: string;
            domain: string;
            feature_quote: boolean;
            icons: { size: string; src: string }[];
            languages: string[];
            pleroma: {
                metadata: {
                    account_activation_required: boolean;
                    birthday_min_age: number;
                    birthday_required: boolean;
                    description_limit: number;
                    federation: {
                        enabled: boolean;
                        mrf_policies?: string[];
                        mrf_simple: {
                            accept: string[];
                            avatar_removal: string[];
                            banner_removal: string[];
                            federated_timeline_removal: string[];
                            followers_only: string[];
                            media_nsfw: string[];
                            media_removal: string[];
                            reject: string[];
                            reject_deletes: string[];
                            report_removal: string[];
                        };
                        mrf_simple_info: {
                            accept: [string, string][];
                            avatar_removal: [string, string][];
                            banner_removal: [string, string][];
                            federated_timeline_removal: [string, string][];
                            followers_only: [string, string][];
                            media_nsfw: [string, string][];
                            media_removal: [string, string][];
                            reject: [string, string][];
                            reject_deletes: [string, string][];
                            report_removal: [string, string][];
                        };
                    };
                    fields_limits: {
                        max_fields: number;
                        name_length: number;
                        value_length: number;
                    };
                    markup: { allow_headings: boolean; allow_inline_images: boolean };
                    migration_cooldown_period?: number;
                    multitenancy: {
                        domains?: { domain: string; id: string; public: boolean }[];
                        enabled: boolean;
                    };
                    post_formats: string[];
                    restrict_unauthenticated: {
                        activities: { local: boolean; remote: boolean };
                        profiles: { local: boolean; remote: boolean };
                        timelines: {
                            bubble: boolean;
                            federated: boolean;
                            local: boolean;
                            wrenched: boolean;
                        };
                    };
                    translation: {
                        allow_remote: boolean;
                        allow_unauthenticated: boolean;
                        source_languages?: string[];
                        target_languages?: string[];
                    };
                };
                oauth_consumer_strategies: string[];
                stats: { mau?: number };
                vapid_public_key: string;
            };
            registrations: {
                approval_required: boolean;
                enabled: boolean;
                message?: string;
                min_age: number
                | null;
                reason_required: boolean | null;
                url: string | null;
            };
            rules: {
                hint: string;
                id: string;
                text: string;
                translations?: { [key: string]: { hint: string; text: string } };
            }[];
            stats: {
                domain_count?: number;
                status_count?: number;
                user_count?: number;
            };
            thumbnail: { url: string };
            title: string;
            usage: { users: { active_month: number } };
            version: string;
        }

      Returns void