Work with Teams

The following are Apex classes for the Slack team API methods.

Team Class

Represents a team.

Team Methods

The following are methods for Team.

getDefaultChannels()

Signature

public List<String> getDefaultChannels()

Return Value

Type: List<String>

getDiscoverable()

Signature

public String getDiscoverable()

Return Value

Type: String

getDomain()

Signature

public String getDomain()

Return Value

Type: String

getEmailDomain()

Signature

public String getEmailDomain()

Return Value

Type: String

getEnterpriseDomain()

Signature

public String getEnterpriseDomain()

Return Value

Type: String

getEnterpriseId()

Signature

public String getEnterpriseId()

Return Value

Type: String

getEnterpriseName()

Signature

public String getEnterpriseName()

Return Value

Type: String

getIcon()

Signature

public Slack.TeamIcon getIcon()

Return Value

Type: Slack.TeamIcon

getId()

Signature

public String getId()

Return Value

Type: String

getIsVerified()

Signature

public Boolean getIsVerified()

Return Value

Type: Boolean

getName()

Signature

public String getName()

Return Value

Type: String

getUrl()

Signature

public String getUrl()

Return Value

Type: String

setDefaultChannels(defaultChannels)

Signature

public void setDefaultChannels(List<String> defaultChannels)

Parameters

defaultChannels

Type: List<String>

Return Value

Type: void

setDiscoverable(discoverable)

Signature

public void setDiscoverable(String discoverable)

Parameters

discoverable

Type: String

Return Value

Type: void

setDomain(domain)

Signature

public void setDomain(String domain)

Parameters

domain

Type: String

Return Value

Type: void

setEmailDomain(emailDomain)

Signature

public void setEmailDomain(String emailDomain)

Parameters

emailDomain

Type: String

Return Value

Type: void

setEnterpriseId(enterpriseId)

Signature

public void setEnterpriseId(String enterpriseId)

Parameters

enterpriseId

Type: String

Return Value

Type: void

setEnterpriseDomain(enterpriseDomain)

Signature

public void setEnterpriseDomain(String enterpriseDomain)

Parameters

enterpriseDomain

Type: String

Return Value

Type: void

setEnterpriseName(enterpriseName)

Signature

public void setEnterpriseName(String enterpriseName)

Parameters

enterpriseName

Type: String

Return Value

Type: void

setIcon(icon)

Signature

public void setIcon(Slack.TeamIcon icon)

Parameters

icon

Type: Slack.TeamIcon

Return Value

Type: void

setId(id)

Signature

public void setId(String id)

Parameters

id

Type: String

Return Value

Type: void

setIsVerified(isVerified)

Signature

public void setIsVerified(Boolean isVerified)

Parameters

isVerified

Type: Boolean

Return Value

Type: void

setName(name)

Signature

public void setName(String name)

Parameters

name

Type: String

Return Value

Type: void

setUrl(url)

Signature

public void setUrl(String url)

Parameters

url

Type: String

Return Value

Type: void

Team.Profile Class

Team.Profile Methods

The following are methods for Team.Profile.

getFieldName()

Signature

public String getFieldName()

Return Value

Type: String

getHint()

Signature

public String getHint()

Return Value

Type: String

getId()

Signature

public String getId()

Return Value

Type: String

getLabel()

Signature

public String getLabel()

Return Value

Type: String

getOptions()

Signature

public Slack.Team.ProfileOptions getOptions()

Return Value

Type: Slack.Team.ProfileOptions

getOrdering()

Signature

public Integer getOrdering()

Return Value

Type: Integer

getPossibleValues()

Signature

public List<String> getPossibleValues()

Return Value

Type: List<String>

getType()

Signature

public String getType()

Return Value

Type: String

isHidden()

Signature

public Boolean isHidden()

Return Value

Type: String

setFieldName(fieldName)

Signature

public void setFieldName(String fieldName)

Parameters

fieldName

Type: String

Return Value

Type: void

setHidden(hidden)

Signature

public void setHidden(Boolean hidden)

Parameters

hidden

Type: Boolean

Return Value

Type: void

setHint(hintValue)

Signature

public void setHint(String hintValue)

Parameters

hintValue

Type: String

Return Value

Type: void

setId(id)

Signature

public void setId(String id)

Parameters

id

Type: String

Return Value

Type: void

setLabel(label)

Signature

public void setLabel(String label)

Parameters

label

Type: String

Return Value

Type: void

setOptions(options)

Signature

public void setOptions(Slack.Team.ProfileOptions options)

Parameters

options

Type: Slack.Team.ProfileOptions

Return Value

Type: void

setOrdering(ordering)

Signature

public void setOrdering(Integer ordering)

Parameters

ordering

Type: Integer

Return Value

Type: void

setPossibleValues(possibleValues)

Signature

public void setPossibleValues(List<String> possibleValues)

Parameters

possibleValues

Type: List<String>

Return Value

Type: void

setType(type)

Signature

public void setType(String type)

Parameters

type

Type: String

Return Value

Type: void

Team.ProfileOptions Class

Team.ProfileOptions Methods

The following are methods for Team.ProfileOptions.

isprotected()

Signature

public Boolean isprotected()

Return Value

Type: Boolean

setprotected(_protected)

Signature

public void setprotected(Boolean _protected)

Parameters

_protected

Type: Boolean

Return Value

Type: void

TeamIcon Class

Represents the team's icon.

TeamIcon Methods

The following are methods for TeamIcon.

getImage34()

Signature

public String getImage34()

Return Value

Type: String

getImage44()

Signature

public String getImage44()

Return Value

Type: String

getImage68()

Signature

public String getImage68()

Return Value

Type: String

getImage88()

Signature

public String getImage88()

Return Value

Type: String

getImage102()

Signature

public String getImage102()

Return Value

Type: String

getImage132()

Signature

public String getImage132()

Return Value

Type: String

getImage230()

Signature

public String getImage230()

Return Value

Type: String

getImageOriginal()

Signature

public String getImageOriginal()

Return Value

Type: String

isImageDefault()

Returns true if a team has not yet set a custom icon.

Signature

public Boolean isImageDefault()

Return Value

Type: Boolean

setImage34(image34)

Signature

public void setImage34(String image34)

Parameters

image34

Type: String

Return Value

Type: void

setImage44(image44)

Signature

public void setImage44(String image44)

Parameters

image44

Type: String

Return Value

Type: void

setImage68(image68)

Signature

public void setImage68(String image68)

Parameters

image68

Type: String

Return Value

Type: void

setImage88(image88)

Signature

public void setImage88(String image88)

Parameters

image88

Type: String

Return Value

Type: void

setImage102(image102)

Signature

public void setImage102(String image102)

Parameters

image102

Type: String

Return Value

Type: void

setImage132(image132)

Signature

public void setImage132(String image132)

Parameters

image132

Type: String

Return Value

Type: void

setImage230(image230)

Signature

public void setImage230(String image230)

Parameters

image230

Type: String

Return Value

Type: void

setImageDefault(imageDefault)

Signature

public void setImageDefault(Boolean imageDefault)

Parameters

imageDefault

Type: Boolean

Return Value

Type: void

setImageOriginal(imageOriginal)

Signature

public void setImageOriginal(String imageOriginal)

Parameters

imageOriginal

Type: String

Return Value

Type: void

BillableInfo Class

Represents billable users information.

BillableInfo Methods

The following are methods for BillableInfo.

isBillingActive()

Signature

public Boolean isBillingActive()

Return Value

Type: Boolean

setBillingActive(billingActive)

Signature

public void setBillingActive(Boolean billingActive)

Parameters

billingActive

Type: Boolean

IntegrationLogs Class

Represents the integration activity logs for a team.

Usage

See Slack's team.integrationLogs method.

IntegrationLogs Methods

The following are methods for IntegrationLogs.

getAppId()

Signature

public String getAppId()

Return Value

Type: String

getAppType()

Signature

public String getAppType()

Return Value

Type: String

getChangeType()

Signature

public String getChangeType()

Return Value

Type: String

getChannel()

Signature

public String getChannel()

Return Value

Type: String

getDate()

Signature

public Integer getDate()

Return Value

Type: Integer

getReason()

Signature

public String getReason()

Return Value

Type: String

getResolution()

Signature

public String getResolution()

Return Value

Type: String

getRssFeedChangeType()

Signature

public String getRssFeedChangeType()

Return Value

Type: String

getRssFeedTitle()

Signature

public String getRssFeedTitle()

Return Value

Type: String

getRssFeedUrl()

Signature

public String getRssFeedUrl()

Return Value

Type: String

getScope()

Signature

public String getScope()

Return Value

Type: String

getServiceId()

Signature

public String getServiceId()

Return Value

Type: String

getServiceType()

Signature

public String getServiceType()

Return Value

Type: String

getUserId()

Signature

public String getUserId()

Return Value

Type: String

getUserName()

Signature

public String getUserName()

Return Value

Type: String

isRssFeed()

Signature

public Boolean isRssFeed()

Return Value

Type: Boolean

setAppId(appId)

Signature

public void setAppId(String appId)

Parameters

appId

Type: String

Return Value

Type: void

setAppType(appType)

Signature

public void setAppType(String appType)

Parameters

appType

Type: String

Return Value

Type: void

setChangeType(changeType)

Signature

public void setChangeType(String changeType)

Parameters

changeType

Type: String

Return Value

Type: void

setChannel(channel)

Signature

public void setChannel(String channel)

Parameters

channel

Type: String

Return Value

Type: void

setDate(dateValue)

Signature

public void setDate(Integer dateValue)

Parameters

dateValue

Type: Integer

Return Value

Type: void

setReason(reason)

Signature

public void setReason(String reason)

Parameters

reason

Type: String

Return Value

Type: void

setResolution(resolution)

Signature

public void setResolution(String resolution)

Parameters

resolution

Type: String

Return Value

Type: void

setRssFeed(rssFeed)

Signature

public void setRssFeed(Boolean rssFeed)

Parameters

rssFeed

Type: Boolean

Return Value

Type: void

setRssFeedChangeType(rssFeedChangeType)

Signature

public void setRssFeedChangeType(String rssFeedChangeType)

Parameters

rssFeedChangeType

Type: String

Return Value

Type: void

setRssFeedTitle(rssFeedTitle)

Signature

public void setRssFeedTitle(String rssFeedTitle)

Parameters

rssFeedTitle

Type: String

Return Value

Type: void

setRssFeedUrl(rssFeedUrl)

Signature

public void setRssFeedUrl(String rssFeedUrl)

Parameters

rssFeedUrl

Type: String

Return Value

Type: void

setScope(scope)

Signature

public void setScope(String scope)

Parameters

scope

Type: String

Return Value

Type: void

setServiceId(serviceId)

Signature

public void setServiceId(String serviceId)

Parameters

serviceId

Type: String

Return Value

Type: void

setServiceType(serviceType)

Signature

public void setServiceType(String serviceType)

Parameters

serviceType

Type: String

Return Value

Type: void

setUserId(userId)

Signature

public void setUserId(String userId)

Parameters

userId

Type: String

Return Value

Type: void

setUserName(userName)

Signature

public void setUserName(String userName)

Parameters

userName

Type: String

Return Value

Type: void

Login Class

Represents an access log entry that contains information about a user accessing Slack, IP address, and user agent combination.

Usage

See Slack's team.accessLogs method.

Login Methods

The following are methods for Login.

getCount()

Signature

public Integer getCount()

Return Value

Type: Integer

getCountry()

Gets the best guess on the country where the access originated, based on the IP address.

Signature

public String getCountry()

Return Value

Type: String

getDateFirst()

Gets the unix timestamp of the first access log entry for the user, IP address, and user agent combination.

Signature

public Integer getDateFirst()

Return Value

Type: Integer

getDateLast()

Get the most recent unix timestamp for the access log entry.

Signature

public Integer getDateLast()

Return Value

Type: Integer

getIp()

Gets the IP address of the device that's used for the user access.

Signature

public String getIp()

Return Value

Type: String

getIsp()

Gets Slack's best guess at the internet service provider owning the IP address.

Signature

public String getIsp()

Return Value

Type: String

getRegion()

Gets the best guess on the region where the access originated, based on the IP address.

Signature

public String getRegion()

Return Value

Type: String

getUserAgent()

Signature

public String getUserAgent()

Return Value

Type: String

getUserId()

Signature

public String getUserId()

Return Value

Type: String

getUsername()

Signature

public String getUsername()

Return Value

Type: String

setCount(count)

Signature

public void setCount(Integer count)

Parameters

count

Type: Integer

Return Value

Type: void

setCountry(country)

Signature

public void setCountry(String country)

Parameters

country

Type: String

Return Value

Type: void

setDateFirst(dateFirst)

Signature

public void setDateFirst(Integer dateFirst)

Parameters

dateFirst

Type: Integer

Return Value

Type: void

setDateLast(dateLast)

Signature

public void setDateLast(Integer dateLast)

Parameters

dateLast

Type: Integer

Return Value

Type: void

setIp(ip)

Signature

public void setIp(String ip)

Parameters

ip

Type: String

Return Value

Type: void

setIsp(isp)

Signature

public void setIsp(String isp)

Parameters

isp

Type: String

Return Value

Type: void

setRegion(region)

Signature

public void setRegion(String region)

Parameters

region

Type: String

Return Value

Type: void

setUserAgent(userAgent)

Signature

public void setUserAgent(String userAgent)

Parameters

userAgent

Type: String

Return Value

Type: void

setUserId(userId)

Signature

public void setUserId(String userId)

Parameters

userId

Type: String

Return Value

Type: void

setUsername(username)

Signature

public void setUsername(String username)

Parameters

username

Type: String

Return Value

Type: void

TeamAccessLogsRequest Class

Sends a request to get the access logs for the current team.

Usage

See Slack’s team.accessLogs method.

TeamAccessLogsRequest Methods

The following are methods for TeamAccessLogsRequest.

builder()

Builds a request object that's used when executing the API call.

Signature

public static Slack.TeamAccessLogsRequest.Builder builder()

Return Value

Type: Slack.TeamAccessLogsRequest.Builder

TeamAccessLogsRequest.Builder Class

Contains methods to build an instance of the Slack.TeamAccessLogsRequest class.

A Builder object is obtained by invoking one of the TeamAccessLogsRequest.builder methods defined by the TeamAccessLogsRequest class.

TeamAccessLogsRequest.Builder Methods

The following are methods for TeamAccessLogsRequest.Builder. These methods are optional unless specified otherwise.

before(before)

End of time range of logs to include in results (inclusive). The default is now.

Signature

public Slack.TeamAccessLogsRequest.Builder before(Integer before)

Parameters

before

Type: Integer

Return Value

Type: Slack.TeamAccessLogsRequest.Builder

build()

Required. Returns an instance of Slack.TeamAccessLogsRequest.

Signature

public Slack.TeamAccessLogsRequest build()

Return Value

Type: Slack.TeamAccessLogsRequest

count(count)

Number of items to return per page. The default is 100.

Signature

public Slack.TeamAccessLogsRequest.Builder count(Integer count)

Parameters

count

Type: Integer

Return Value

Type: Slack.TeamAccessLogsRequest.Builder

page(page)

Page number of results to return. The default is 1.

Signature

public Slack.TeamAccessLogsRequest.Builder page(Integer page)

Parameters

page

Type: Integer

Return Value

Type: Slack.TeamAccessLogsRequest.Builder

teamId(teamId)

The encoded team ID to get logs from, which is required if an org token is used.

Signature

public Slack.TeamAccessLogsRequest.Builder teamId(String teamId)

Parameters

teamId

Type: String

Return Value

Type: Slack.TeamAccessLogsRequest.Builder

TeamAccessLogsResponse Class

Gets the access logs for the current team.

Usage

See Slack’s team.accessLogs method.

TeamAccessLogsResponse Methods

This class contains standard response methods.

The following are methods for TeamAccessLogsResponse.

getLogins()

Signature

public List<Slack.Login> getLogins()

Return Value

Type: List<Slack.Login>

getPaging()

Signature

public Slack.Paging getPaging()

Return Value

Type: Slack.Paging

setLogins(logins)

Signature

public void setLogins(List<Slack.Login> logins)

Parameters

logins

Type: List<Slack.Login>

Return Value

Type: void

setPaging(paging)

Signature

public void setPaging(Slack.Paging paging)

Parameters

paging

Type: Slack.Paging

Return Value

Type: void

TeamBillableInfoRequest Class

Sends a request to get billable users information for the current team.

Usage

See Slack's team.billableInfo method.

TeamBillableInfoRequest Methods

The following are methods for TeamBillableInfoRequest.

builder()

Builds a request object that's used when executing the API call.

Signature

public static Slack.TeamBillableInfoRequest.Builder builder()

Return Value

Type: Slack.TeamBillableInfoRequest.Builder

TeamBillableInfoRequest.Builder Class

Contains methods to build an instance of the Slack.TeamBillableInfoRequest class.

A Builder object is obtained by invoking one of the TeamBillableInfoRequest.builder methods defined by the TeamBillableInfoRequest class.

TeamBillableInfoRequestBuilder Methods

The following are methods for TeamBillableInfoRequest.Builder. These methods are optional unless specified otherwise.

build()

Required. Returns an instance of Slack.TeamBillableInfoRequest.

Signature

public Slack.TeamBillableInfoRequest build()

Return Value

Type: Slack.TeamBillableInfoRequest

teamId(teamId)

The encoded team ID to get billable information from, which is required if an org token is used.

Signature

public Slack.TeamBillableInfoRequest.Builder teamId(String teamId)

Parameters

teamId

Type: String

user(user)

A user to retrieve the billable information for. The default is to return all users.

Signature

public Slack.TeamBillableInfoRequest.Builder user(String user)

Parameters

user

Type: String

Return Value

Type: Slack.TeamBillableInfoRequest.Builder

TeamBillableInfoResponse Class

Gets billable users information for the current team.

Usage

See Slack's team.billableInfo method.

TeamBillableInfoResponse Methods

This class contains standard response methods.

The following are methods for TeamBillableInfoResponse.

getBillableInfo()

Signature

public Map<String,Slack.BillableInfo> getBillableInfo()

Return Value

Type: Map<String,Slack.BillableInfo>

setBillableInfo(billableInfo)

Signature

public void setBillableInfo(Map<String,Slack.BillableInfo> billableInfo)

Parameters

billableInfo

Type: Map<String,Slack.BillableInfo>

Return Value

Type: void

TeamInfoRequest Class

Sends a request to get information about the current team.

Usage

See Slack’s team.info method.

TeamInfoRequest Methods

The following are methods for TeamInfoRequest.

builder()

Builds a request object that's used when executing the API call.

Signature

public static Slack.TeamInfoRequest.Builder builder()

Return Value

Type: Slack.TeamInfoRequest.Builder

TeamInfoRequest.Builder Class

Contains methods to build an instance of the Slack.TeamInfoRequest class.

A Builder object is obtained by invoking one of the TeamInfoRequest.builder methods defined by the TeamInfoRequest class.

TeamInfoRequest.Builder Methods

The following are methods for TeamInfoRequest.Builder. These methods are optional unless specified otherwise.

build()

Required. Returns an instance of the Slack.TeamInfoRequest object.

Signature

public Slack.TeamInfoRequest build()

Return Value

Type: Slack.TeamInfoRequest

team(team)

Signature

public Slack.TeamInfoRequest.Builder team(String team)

Parameters team

Type: String

Return Value

Type: Slack.TeamInfoRequest.Builder

TeamInfoResponse Class

Gets information about the current team.

Usage

See Slack’s team.info method.

TeamInfoResponse Methods

This class contains standard response methods.

The following are methods for TeamInfoResponse.

getTeam()

Signature

public Slack.Team getTeam()

Return Value

Type: Slack.Team

setTeam(team)

Signature

public void setTeam(Slack.Team team)

Parameters

team

Type: Slack.Team

Return Value

Type: void

TeamIntegrationLogsRequest Class

Sends a request to get the integration logs for the current team.

Usage

See Slack’s team.integrationLogs method.

TeamIntegrationLogsRequest Methods

The following are methods for TeamIntegrationLogsRequest.

builder()

Builds a request object that's used when executing the API call. Signature

public static Slack.TeamIntegrationLogsRequest.Builder builder()

Return Value

Type: Slack.TeamIntegrationLogsRequest.Builder

TeamIntegrationLogsRequest.Builder Class

Contains methods to build an instance of the Slack.TeamIntegrationLogsRequest class.

A Builder object is obtained by invoking one of the TeamIntegrationLogsRequest.builder methods defined by the TeamIntegrationLogsRequest class.

TeamIntegrationLogsRequest.Builder Methods

The following are methods for TeamIntegrationLogsRequest.Builder. These methods are optional unless specified otherwise.

appId(appId)

Filters logs using the ID of this Slack app. The default is to return all logs.

Signature

public Slack.TeamIntegrationLogsRequest.Builder appId(String appId)

Parameters

appId

Type: String

Return Value

Type: Slack.TeamIntegrationLogsRequest.Builder

build()

Required. Returns an instance of the Slack.TeamIntegrationLogsRequest object.

Signature

public Slack.TeamIntegrationLogsRequest build()

Return Value

Type: Slack.TeamIntegrationLogsRequest

changeType(changeType)

Filters logs using this change type. Valid values are added, removed, enabled, disabled, and updated. The default is to return all logs.

Signature

public Slack.TeamIntegrationLogsRequest.Builder changeType(String changeType)

Parameters

changeType

Type: String

Return Value

Type: Slack.TeamIntegrationLogsRequest.Builder

count(count)

The number of items to return per page. The default is 100.

Signature

public Slack.TeamIntegrationLogsRequest.Builder count(Integer count)

Parameters

count

Type: Integer

Return Value

Type: Slack.TeamIntegrationLogsRequest.Builder

page(page)

The page number of results to return. The default is 1.

Signature

public Slack.TeamIntegrationLogsRequest.Builder page(Integer page)

Parameters

page

Type: Integer

Return Value

Type: Slack.TeamIntegrationLogsRequest.Builder

serviceId(serviceId)

Filters logs using this service. The default is to return all logs.

Signature

public Slack.TeamIntegrationLogsRequest.Builder serviceId(String serviceId)

Parameters

serviceId

Type: String

Return Value

Type: Slack.TeamIntegrationLogsRequest.Builder

teamId(teamId)

The encoded team ID to get logs from, which is required if an org token is used.

Signature

public Slack.TeamIntegrationLogsRequest.Builder teamId(String teamId)

Parameters

teamId

Type: String

Return Value

Type: Slack.TeamIntegrationLogsRequest.Builder

user(user)

Filters logs generated by this user’s actions. The default is to return all logs.

Signature

public Slack.TeamIntegrationLogsRequest.Builder user(String user)

Parameters

user

Type: String

Return Value

Type: Slack.TeamIntegrationLogsRequest.Builder

TeamIntegrationLogsResponse Class

Gets the integration logs for the current team.

Usage

See Slack’s team.integrationLogs method.

TeamIntegrationLogsResponse Methods

This class contains standard response methods.

The following are methods for TeamIntegrationLogsResponse.

getLogs()

Signature

public List<Slack.IntegrationLog> getLogs()

Return Value

Type: List<Slack.IntegrationLog>

getPaging()

Signature

public Slack.Paging getPaging()

Return Value

Type: Slack.Paging

setLogs(logs)

Signature

public void setLogs(List<Slack.IntegrationLog> logs)

Parameters

logs

Type: List<Slack.IntegrationLog>

Return Value

Type: void

setPaging(paging)

Signature

public void setPaging(Slack.Paging paging)

Parameters

paging

Type: Slack.Paging

Return Value

Type: void

TeamProfileGetRequest Class

Sends a request to retrieve a team's profile.

Usage

See Slack’s team.profile.get method.

TeamProfileGetRequest Methods

The following are methods for TeamProfileGetRequest.

builder()

Builds a request object that's used when executing the API call.

Signature

public static Slack.TeamProfileGetRequest.Builder builder()

Return Value

Type: Slack.TeamProfileGetRequest.Builder

TeamProfileGetRequestBuilder.Builder Class

Contains methods to build an instance of the Slack.TeamProfileGetRequest class.

A Builder object is obtained by invoking one of the TeamProfileGetRequest.builder methods defined by the TeamProfileGetRequest class.

TeamProfileGetRequest.Builder Methods

The following are methods for TeamProfileGetRequest.Builder. These methods are optional unless specified otherwise.

build()

Required. Returns an instance of Slack.TeamProfileGetRequest.

Signature

public Slack.TeamProfileGetRequest build()

Return Value

Type: Slack.TeamProfileGetRequest

teamId(teamId)

Signature

public Slack.TeamProfileGetRequest.Builder teamId(String teamId)

Parameters

teamId

Type: String

Return Value

Type: Slack.TeamProfileGetRequest.Builder

visibility(visibility)

Filters by visibility. Valid values are all, visible, or hidden. The default is all.

Signature

public Slack.TeamProfileGetRequest.Builder visibility(String visibility)

Parameters

visibility

Type: String

Return Value

Type: Slack.TeamProfileGetRequest.Builder

TeamProfileGetResponse Class

Retrieve a team's profile.

Usage

See Slack’s team.profile.get method.

TeamProfileGetResponse Methods

This class contains standard response methods.

The following are methods for TeamProfileGetResponse.

getProfile()

Gets the team’s profile.

Signature

public Slack.TeamProfileGetResponse.Profiles getProfile()

Return Value

Type: Slack.TeamProfileGetResponse.Profiles

setProfile(profile)

Signature

public void setProfile(Slack.TeamProfileGetResponse.Profiles profile)

Parameters

profile

Type: Slack.TeamProfileGetResponse.Profiles

Return Value

Type: void