Slaikydocs

    You say#manifest

    Manifest

    Every field of the JSON document that describes an app.

    One JSON document describes an app. Create an app from it, export one to it, or update one with it: on the app’s settings page, or with apps.manifest.* and a configuration token (manifests guide).

    your app → Slaikymanifest.json
    
    {
      "_metadata": { "major_version": 1 },
      "display_information": { "name": "Deploy bot", "description": "Posts deploys", "background_color": "#2c2d30" },
      "features": {
        "bot_user": { "display_name": "deploybot", "always_online": true },
        "app_home": { "home_tab_enabled": true, "messages_tab_enabled": true, "messages_tab_read_only_enabled": false },
        "slash_commands": [{ "command": "/deploy", "description": "Deploy a branch", "usage_hint": "[branch]" }],
        "shortcuts": [{ "name": "Create ticket", "type": "message", "callback_id": "create_ticket", "description": "From this message" }]
      },
      "oauth_config": { "scopes": { "bot": ["chat:write", "channels:history", "app_mentions:read", "commands"] } },
      "settings": {
        "event_subscriptions": { "bot_events": ["app_mention", "message.channels"] },
        "interactivity": { "is_enabled": true },
        "socket_mode_enabled": true
      }
    }
    

    Fields

    FieldTypeRequiredWhat
    _metadataobjectno
    _metadata.major_versionintegerno1–2.
    _metadata.minor_versionintegerno0–99.
    display_informationobjectyes
    display_information.namestringyes2–40 characters.
    display_information.descriptionstringnoUp to 300 characters.
    display_information.long_descriptionstringnoUp to 4,000 characters.
    display_information.background_colorstringno
    featuresobjectno
    features.bot_userobjectno
    features.bot_user.display_namestringyes1–40 characters.
    features.bot_user.always_onlinebooleanno
    features.app_homeobjectno
    features.app_home.home_tab_enabledbooleanno
    features.app_home.messages_tab_enabledbooleanno
    features.app_home.messages_tab_read_only_enabledbooleanno
    features.slash_commands[]array (Up to 50 items.)noUp to 50 items.
    features.slash_commands[].commandstringyesUp to 33 characters.
    features.slash_commands[].descriptionstringnoUp to 200 characters.
    features.slash_commands[].usage_hintstringnoUp to 100 characters.
    features.slash_commands[].urlURLnoUp to 2,000 characters.
    features.slash_commands[].should_escapebooleanno
    features.shortcuts[]array (Up to 10 items.)noUp to 10 items.
    features.shortcuts[].namestringyes1–24 characters.
    features.shortcuts[].type"global" / "message"yes
    features.shortcuts[].descriptionstringnoUp to 150 characters.
    features.shortcuts[].callback_idstringyes1–255 characters.
    oauth_configobjectno
    oauth_config.scopesobjectno
    oauth_config.scopes.botarray of "chat:write" / "chat:write.public" / "chat:write.customize" / "channels:read" / "channels:history" / "channels:join" / "channels:manage" / "groups:read" / "groups:history" / "groups:write" / "im:read" / "im:history" / "im:write" / "mpim:read" / "mpim:history" / "mpim:write" / "users:read" / "users:read.email" / "reactions:read" / "reactions:write" / "pins:read" / "pins:write" / "files:read" / "files:write" / "canvases:read" / "canvases:write" / "tabs:read" / "tabs:write" / "lists:read" / "lists:write" / "calls:read" / "workflows:run" / "commands" / "app_mentions:read" / "incoming-webhook" / "team:read"noUp to 36 items.
    oauth_config.redirect_urlsarray of URLnoUp to 20 items.
    settingsobjectno
    settings.event_subscriptionsobjectno
    settings.event_subscriptions.request_urlURLnoUp to 2,000 characters.
    settings.event_subscriptions.bot_eventsarray of "message.channels" / "message.groups" / "message.im" / "message.mpim" / "app_mention" / "reaction_added" / "reaction_removed" / "member_joined_channel" / "member_left_channel" / "channel_created" / "channel_rename" / "channel_archive" / "channel_unarchive" / "pin_added" / "pin_removed" / "call_started" / "call_ended" / "app_home_opened" / "app_uninstalled"noUp to 19 items.
    settings.interactivityobjectno
    settings.interactivity.is_enabledbooleanyes
    settings.interactivity.request_urlURLnoUp to 2,000 characters.
    settings.socket_mode_enabledbooleanno

    Updated . Every method, scope, event and limit here is generated from the server’s own code.