lemmy-js-client
    Preparing search index...

    Type Alias CreateCommunity

    Create a community.

    type CreateCommunity = {
        discussion_languages?: LanguageId[];
        name: string;
        nsfw?: boolean;
        posting_restricted_to_mods?: boolean;
        sidebar?: string;
        summary?: string;
        title?: string;
        visibility?: CommunityVisibility;
    }
    Index

    Properties

    discussion_languages?: LanguageId[]
    name: string

    The unique name.

    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.

    summary?: string

    A shorter, one line summary of your community.

    title?: string

    A longer title.

    visibility?: CommunityVisibility