lemmy-js-client
    Preparing search index...

    Type Alias EditCommunity

    Edit a community.

    type EditCommunity = {
        community_id: CommunityId;
        description?: string;
        discussion_languages?: LanguageId[];
        nsfw?: boolean;
        posting_restricted_to_mods?: boolean;
        sidebar?: string;
        title?: string;
        visibility?: CommunityVisibility;
    }
    Index

    Properties

    community_id: CommunityId
    description?: string

    A shorter, one line description of your community.

    discussion_languages?: LanguageId[]
    nsfw?: boolean

    Whether its an NSFW community.

    posting_restricted_to_mods?: boolean

    Whether to restrict posting only to moderators.

    sidebar?: string

    A sidebar for the community in markdown.

    title?: string

    A longer title.

    visibility?: CommunityVisibility