lemmy-js-client
    Preparing search index...

    Type Alias CreateCommunity

    Create a community.

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

    Properties

    banner?: string

    A banner URL.

    description?: string

    A shorter, one line description of your community.

    discussion_languages?: LanguageId[]
    icon?: string

    An icon URL.

    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.

    title: string

    A longer title.

    visibility?: CommunityVisibility