<commit_before>{
  "group": "channels",
  "name": "channels.setPurpose",
  "desc": "",
  "args": {
    "channel": {
      "required": true,
      "example": "C1234567890",
      "desc": "Channel to set the purpose of.",
      "type": "channel"
    },
    "purpose": {
      "required": true,
      "example": "My Purpose",
      "desc": "The new purpose."
    }
  },
  "response": {
    "examples": [
      "{\n    \"purpose\": \"My special purpose\",\n    \"ok\": true\n}",
      "{\n    \"ok\": false,\n    \"error\": \"invalid_auth\"\n}"
    ]
  },
  "errors": {
    "channel_not_found": "Value passed for channel was invalid.",
    "not_in_channel": "Authenticated user is not in the channel.",
    "is_archived": "Channel has been archived.",
    "too_long": "Purpose was longer than 250 characters.",
    "user_is_restricted": "This method cannot be called by a restricted user or single channel guest.",
    "not_authed": "No authentication token provided.",<commit_msg>Updated from Slack docs, 2019/03/29.<commit_after>{
  "group": "channels",
  "name": "channels.setPurpose",
  "desc": "",
  "args": {
    "channel": {
      "required": true,
      "example": "C1234567890",
      "desc": "Channel to set the purpose of.",
      "type": "channel"
    },
    "purpose": {
      "required": true,
      "example": "My Purpose",
      "desc": "The new purpose."
    },
    "name_tagging": {
      "required": false,
      "example": "true",
      "desc": "if it is true, treat this like a message and not an unescaped thing."
    }
  },
  "response": {
    "examples": [
      "{\n    \"purpose\": \"My special purpose\",\n    \"ok\": true\n}",
      "{\n    \"ok\": false,\n    \"error\": \"invalid_auth\"\n}"
    ]
  },
  "errors": {
    "channel_not_found": "Value passed for channel was invalid.",
    "not_in_channel": "Authenticated user is not in the channel.",
    "is_archived": "Channel has been archived.",
    "too_long": "Purpose was longer than 250 characters.",
    "user_is_restricted": "This method cannot be called by a restricted user or single channel guest.",
    "not_authed": "No authentication token provided.",
{'fraction_non_alphanumeric': 0.18075665576833255, 'fraction_numerical': 0.015880429705744978, 'mean_word_length': 2.712305025996534, 'pattern_counts': {'":': 56, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3941681', 'n_tokens_mistral': 714, 'n_tokens_neox': 669, 'n_words': 209}