2017-07-11 46 views

回答

1

下面是team.info方法的例子迴應:

{ 
    "ok": true, 
    "team": { 
     "id": "T12345", 
     "name": "My Team", 
     "domain": "example", 
     "email_domain": "example.com", 
     "icon": { 
      "image_34": "https:\/\/...", 
      "image_44": "https:\/\/...", 
      "image_68": "https:\/\/...", 
      "image_88": "https:\/\/...", 
      "image_102": "https:\/\/...", 
      "image_132": "https:\/\/...", 
      "image_default": true 
     }, 
     "enterprise_id": "E1234A12AB", 
     "enterprise_name": "Umbrella Corporation" 
    } 
} 

酒店email_domain包含人們可以用它來登錄了你的懈怠和無需邀請域名白名單。這是默認關閉,然後這個屬性將是空的。

您的Slack團隊的域名可以在domain屬性下找到。這絕不是空的。本例中的完整域名爲example.slack.com

查看用戶的電子郵件地址可能並不總是有效,因爲人們可以在受邀時使用任何電子郵件地址進行註冊。