Skip to main content

Community Configurations

The getMemberState function is used to fetch the member state of the current user. It provides information about the user's status, creation timestamp, edit requirements, and more.

Steps to Get Community Configurations

  1. Use the getCommunityConfigurations() function provided by the lmFeedClient object created earlier.
  2. Use the response as per your requirement
try {
const response = await lmFeedClient.getCommunityConfigurations();
// Use the response as per your requirement.
} catch (error) {
// Use the error as per your requirement.
}

Models

GetCommunityConfigurationsResponse

VARIABLETYPEDESCRIPTIONOPTIONAL
communityConfigurationsConfigurationCommunity Configurations

Configuration

VARIABLETYPEDESCRIPTIONOPTIONAL
descriptionstringDescription of the configurations
typeConfigurationTypeType of the configurations
valueJSONObjectValue of the configurations

ConfigurationType

enum ManagerRightState {
MEDIA_LIMITS = "media_limits",
FEED_METADATA = "feed_metadata",
PROFILE_METADATA = "profile_metadata",
NSFW_FILTERING = "nsfw_filtering",
WIDGETS_METADATA = "widgets_metadata",
GUEST_FLOW_METADATA = "guest_flow_metadata",
}

JSONObject

interface JSONObject {
[key: string]: any;
}