SlackInstallation
STRUCT
Contents
- Properties
access_token
app_id
authed_user
bot_user_id
enterprise
expires_in
id
incoming_webhook
is_enterprise_install
refresh_token
scope
team
token_type
- Methods
init(access_token:app_id:authed_user:bot_user_id:enterprise:expires_in:id:incoming_webhook:is_enterprise_install:refresh_token:scope:team:token_type:)
public struct SlackInstallation: Codable, Hashable, Sendable
- Remark: Generated from
#/components/schemas/SlackInstallation
.
Properties
access_token
public var access_token: Swift.String
- Remark: Generated from
#/components/schemas/SlackInstallation/access_token
.
app_id
public var app_id: Swift.String
- Remark: Generated from
#/components/schemas/SlackInstallation/app_id
.
authed_user
public var authed_user: Components.Schemas.SlackInstallation.authed_userPayload
- Remark: Generated from
#/components/schemas/SlackInstallation/authed_user
.
bot_user_id
public var bot_user_id: Swift.String?
- Remark: Generated from
#/components/schemas/SlackInstallation/bot_user_id
.
enterprise
public var enterprise: Components.Schemas.SlackInstallation.enterprisePayload?
- Remark: Generated from
#/components/schemas/SlackInstallation/enterprise
.
expires_in
public var expires_in: Swift.Int?
- Remark: Generated from
#/components/schemas/SlackInstallation/expires_in
.
id
public var id: Swift.String?
- Remark: Generated from
#/components/schemas/SlackInstallation/id
.
incoming_webhook
public var incoming_webhook: Components.Schemas.SlackInstallation.incoming_webhookPayload?
- Remark: Generated from
#/components/schemas/SlackInstallation/incoming_webhook
.
is_enterprise_install
public var is_enterprise_install: Swift.Bool?
- Remark: Generated from
#/components/schemas/SlackInstallation/is_enterprise_install
.
refresh_token
public var refresh_token: Swift.String?
- Remark: Generated from
#/components/schemas/SlackInstallation/refresh_token
.
scope
public var scope: Swift.String?
- Remark: Generated from
#/components/schemas/SlackInstallation/scope
.
team
public var team: Components.Schemas.SlackInstallation.teamPayload
- Remark: Generated from
#/components/schemas/SlackInstallation/team
.
token_type
public var token_type: Swift.String?
- Remark: Generated from
#/components/schemas/SlackInstallation/token_type
.
Methods
init(access_token:app_id:authed_user:bot_user_id:enterprise:expires_in:id:incoming_webhook:is_enterprise_install:refresh_token:scope:team:token_type:)
public init(
access_token: Swift.String,
app_id: Swift.String,
authed_user: Components.Schemas.SlackInstallation.authed_userPayload,
bot_user_id: Swift.String? = nil,
enterprise: Components.Schemas.SlackInstallation.enterprisePayload? = nil,
expires_in: Swift.Int? = nil,
id: Swift.String? = nil,
incoming_webhook: Components.Schemas.SlackInstallation.incoming_webhookPayload? = nil,
is_enterprise_install: Swift.Bool? = nil,
refresh_token: Swift.String? = nil,
scope: Swift.String? = nil,
team: Components.Schemas.SlackInstallation.teamPayload,
token_type: Swift.String? = nil
)
Creates a new SlackInstallation
.
- Parameters:
- access_token:
- app_id:
- authed_user:
- bot_user_id:
- enterprise:
- expires_in:
- id:
- incoming_webhook:
- is_enterprise_install:
- refresh_token:
- scope:
- team:
- token_type:
Parameters
Name | Description |
---|---|
access_token | |
app_id | |
authed_user | |
bot_user_id | |
enterprise | |
expires_in | |
id | |
incoming_webhook | |
is_enterprise_install | |
refresh_token | |
scope | |
team | |
token_type |