diff --git a/docs/static/api-docs/slack_sdk/aiohttp_version_checker.html b/docs/static/api-docs/slack_sdk/aiohttp_version_checker.html index ab213468..4bc4a42c 100644 --- a/docs/static/api-docs/slack_sdk/aiohttp_version_checker.html +++ b/docs/static/api-docs/slack_sdk/aiohttp_version_checker.html @@ -3,13 +3,13 @@ - + slack_sdk.aiohttp_version_checker API documentation - + @@ -35,7 +35,7 @@

Module slack_sdk.aiohttp_version_checker

Functions

-def validate_aiohttp_version(aiohttp_version: str, print_warning: Callable[[str], None] = <function _print_warning_log>) +def validate_aiohttp_version(aiohttp_version: str,
print_warning: Callable[[str], None] = <function _print_warning_log>)
@@ -64,7 +64,7 @@

Functions

diff --git a/docs/static/api-docs/slack_sdk/audit_logs/async_client.html b/docs/static/api-docs/slack_sdk/audit_logs/async_client.html index 52fca94f..1e3ee7d4 100644 --- a/docs/static/api-docs/slack_sdk/audit_logs/async_client.html +++ b/docs/static/api-docs/slack_sdk/audit_logs/async_client.html @@ -3,13 +3,13 @@ - + slack_sdk.audit_logs.async_client API documentation - + @@ -37,7 +37,7 @@

Classes

class AsyncAuditLogsClient -(token: str, timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, base_url: str = 'https://api.slack.com/audit/v1/', session: Optional[aiohttp.client.ClientSession] = None, trust_env_in_session: bool = False, auth: Optional[aiohttp.helpers.BasicAuth] = None, default_headers: Optional[Dict[str, str]] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[slack_sdk.http_retry.async_handler.AsyncRetryHandler]] = None) +(token: str,
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
base_url: str = 'https://api.slack.com/audit/v1/',
session: aiohttp.client.ClientSession | None = None,
trust_env_in_session: bool = False,
auth: aiohttp.helpers.BasicAuth | None = None,
default_headers: Dict[str, str] | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[slack_sdk.http_retry.async_handler.AsyncRetryHandler] | None = None)

API client for Audit Logs API @@ -414,7 +414,7 @@

Class variables

-
var auth : Optional[aiohttp.helpers.BasicAuth]
+
var auth : aiohttp.helpers.BasicAuth | None
@@ -430,7 +430,7 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
@@ -438,11 +438,11 @@

Class variables

-
var session : Optional[aiohttp.client.ClientSession]
+
var session : aiohttp.client.ClientSession | None
-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -462,7 +462,7 @@

Class variables

Methods

-async def actions(self, *, query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +async def actions(self,
*,
query_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

Returns information about the kind of actions that the Audit Logs API @@ -479,13 +479,13 @@

Returns

API response

-async def api_call(self, *, http_verb: str = 'GET', path: str, query_params: Optional[Dict[str, Any]] = None, body_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +async def api_call(self,
*,
http_verb: str = 'GET',
path: str,
query_params: Dict[str, Any] | None = None,
body_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse
-async def logs(self, *, latest: Optional[int] = None, oldest: Optional[int] = None, limit: Optional[int] = None, action: Optional[str] = None, actor: Optional[str] = None, entity: Optional[str] = None, cursor: Optional[str] = None, additional_query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +async def logs(self,
*,
latest: int | None = None,
oldest: int | None = None,
limit: int | None = None,
action: str | None = None,
actor: str | None = None,
entity: str | None = None,
cursor: str | None = None,
additional_query_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

This is the primary endpoint for retrieving actual audit events from your organization. @@ -521,7 +521,7 @@

Returns

API response

-async def schemas(self, *, query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +async def schemas(self,
*,
query_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

Returns information about the kind of objects which the Audit Logs API @@ -581,7 +581,7 @@

diff --git a/docs/static/api-docs/slack_sdk/audit_logs/index.html b/docs/static/api-docs/slack_sdk/audit_logs/index.html index 818bc4a6..37648c59 100644 --- a/docs/static/api-docs/slack_sdk/audit_logs/index.html +++ b/docs/static/api-docs/slack_sdk/audit_logs/index.html @@ -3,13 +3,13 @@ - + slack_sdk.audit_logs API documentation - + @@ -50,7 +50,7 @@

Classes

class AuditLogsClient -(token: str, timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, base_url: str = 'https://api.slack.com/audit/v1/', default_headers: Optional[Dict[str, str]] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[RetryHandler]] = None) +(token: str,
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
base_url: str = 'https://api.slack.com/audit/v1/',
default_headers: Dict[str, str] | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[RetryHandler] | None = None)

API client for Audit Logs API @@ -434,7 +434,7 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
@@ -442,7 +442,7 @@

Class variables

-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -458,7 +458,7 @@

Class variables

Methods

-def actions(self, *, query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +def actions(self,
*,
query_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

Returns information about the kind of actions that the Audit Logs API @@ -475,13 +475,13 @@

Returns

API response

-def api_call(self, *, http_verb: str = 'GET', path: str, query_params: Optional[Dict[str, Any]] = None, body_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +def api_call(self,
*,
http_verb: str = 'GET',
path: str,
query_params: Dict[str, Any] | None = None,
body_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

Performs a Slack API request and returns the result.

-def logs(self, *, latest: Optional[int] = None, oldest: Optional[int] = None, limit: Optional[int] = None, action: Optional[str] = None, actor: Optional[str] = None, entity: Optional[str] = None, cursor: Optional[str] = None, additional_query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +def logs(self,
*,
latest: int | None = None,
oldest: int | None = None,
limit: int | None = None,
action: str | None = None,
actor: str | None = None,
entity: str | None = None,
cursor: str | None = None,
additional_query_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

This is the primary endpoint for retrieving actual audit events from your organization. @@ -517,7 +517,7 @@

Returns

API response

-def schemas(self, *, query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +def schemas(self,
*,
query_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

Returns information about the kind of objects which the Audit Logs API @@ -537,7 +537,7 @@

Returns

class AuditLogsResponse -(*, url: str, status_code: int, raw_body: Optional[str], headers: dict) +(*, url: str, status_code: int, raw_body: str | None, headers: dict)
@@ -575,7 +575,7 @@

Returns

Class variables

-
var body : Optional[Dict[str, Any]]
+
var body : Dict[str, Any] | None
@@ -583,7 +583,7 @@

Class variables

-
var raw_body : Optional[str]
+
var raw_body : str | None
@@ -598,7 +598,7 @@

Class variables

Instance variables

-
prop typed_body : Optional[LogsResponse]
+
prop typed_bodyLogsResponse | None
@@ -670,7 +670,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/audit_logs/v1/async_client.html b/docs/static/api-docs/slack_sdk/audit_logs/v1/async_client.html index c6948bc8..7774e6e6 100644 --- a/docs/static/api-docs/slack_sdk/audit_logs/v1/async_client.html +++ b/docs/static/api-docs/slack_sdk/audit_logs/v1/async_client.html @@ -3,13 +3,13 @@ - + slack_sdk.audit_logs.v1.async_client API documentation - + @@ -39,7 +39,7 @@

Classes

class AsyncAuditLogsClient -(token: str, timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, base_url: str = 'https://api.slack.com/audit/v1/', session: Optional[aiohttp.client.ClientSession] = None, trust_env_in_session: bool = False, auth: Optional[aiohttp.helpers.BasicAuth] = None, default_headers: Optional[Dict[str, str]] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[slack_sdk.http_retry.async_handler.AsyncRetryHandler]] = None) +(token: str,
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
base_url: str = 'https://api.slack.com/audit/v1/',
session: aiohttp.client.ClientSession | None = None,
trust_env_in_session: bool = False,
auth: aiohttp.helpers.BasicAuth | None = None,
default_headers: Dict[str, str] | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[slack_sdk.http_retry.async_handler.AsyncRetryHandler] | None = None)

API client for Audit Logs API @@ -416,7 +416,7 @@

Class variables

-
var auth : Optional[aiohttp.helpers.BasicAuth]
+
var auth : aiohttp.helpers.BasicAuth | None
@@ -432,7 +432,7 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
@@ -440,11 +440,11 @@

Class variables

-
var session : Optional[aiohttp.client.ClientSession]
+
var session : aiohttp.client.ClientSession | None
-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -464,7 +464,7 @@

Class variables

Methods

-async def actions(self, *, query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +async def actions(self,
*,
query_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

Returns information about the kind of actions that the Audit Logs API @@ -481,13 +481,13 @@

Returns

API response

-async def api_call(self, *, http_verb: str = 'GET', path: str, query_params: Optional[Dict[str, Any]] = None, body_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +async def api_call(self,
*,
http_verb: str = 'GET',
path: str,
query_params: Dict[str, Any] | None = None,
body_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse
-async def logs(self, *, latest: Optional[int] = None, oldest: Optional[int] = None, limit: Optional[int] = None, action: Optional[str] = None, actor: Optional[str] = None, entity: Optional[str] = None, cursor: Optional[str] = None, additional_query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +async def logs(self,
*,
latest: int | None = None,
oldest: int | None = None,
limit: int | None = None,
action: str | None = None,
actor: str | None = None,
entity: str | None = None,
cursor: str | None = None,
additional_query_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

This is the primary endpoint for retrieving actual audit events from your organization. @@ -523,7 +523,7 @@

Returns

API response

-async def schemas(self, *, query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +async def schemas(self,
*,
query_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

Returns information about the kind of objects which the Audit Logs API @@ -583,7 +583,7 @@

diff --git a/docs/static/api-docs/slack_sdk/audit_logs/v1/client.html b/docs/static/api-docs/slack_sdk/audit_logs/v1/client.html index 50663c53..e18f9add 100644 --- a/docs/static/api-docs/slack_sdk/audit_logs/v1/client.html +++ b/docs/static/api-docs/slack_sdk/audit_logs/v1/client.html @@ -3,13 +3,13 @@ - + slack_sdk.audit_logs.v1.client API documentation - + @@ -39,7 +39,7 @@

Classes

class AuditLogsClient -(token: str, timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, base_url: str = 'https://api.slack.com/audit/v1/', default_headers: Optional[Dict[str, str]] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[RetryHandler]] = None) +(token: str,
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
base_url: str = 'https://api.slack.com/audit/v1/',
default_headers: Dict[str, str] | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[RetryHandler] | None = None)

API client for Audit Logs API @@ -423,7 +423,7 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
@@ -431,7 +431,7 @@

Class variables

-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -447,7 +447,7 @@

Class variables

Methods

-def actions(self, *, query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +def actions(self,
*,
query_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

Returns information about the kind of actions that the Audit Logs API @@ -464,13 +464,13 @@

Returns

API response

-def api_call(self, *, http_verb: str = 'GET', path: str, query_params: Optional[Dict[str, Any]] = None, body_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +def api_call(self,
*,
http_verb: str = 'GET',
path: str,
query_params: Dict[str, Any] | None = None,
body_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

Performs a Slack API request and returns the result.

-def logs(self, *, latest: Optional[int] = None, oldest: Optional[int] = None, limit: Optional[int] = None, action: Optional[str] = None, actor: Optional[str] = None, entity: Optional[str] = None, cursor: Optional[str] = None, additional_query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +def logs(self,
*,
latest: int | None = None,
oldest: int | None = None,
limit: int | None = None,
action: str | None = None,
actor: str | None = None,
entity: str | None = None,
cursor: str | None = None,
additional_query_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

This is the primary endpoint for retrieving actual audit events from your organization. @@ -506,7 +506,7 @@

Returns

API response

-def schemas(self, *, query_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> AuditLogsResponse +def schemas(self,
*,
query_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> AuditLogsResponse

Returns information about the kind of objects which the Audit Logs API @@ -563,7 +563,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/audit_logs/v1/index.html b/docs/static/api-docs/slack_sdk/audit_logs/v1/index.html index f4f9f05f..f1d057c7 100644 --- a/docs/static/api-docs/slack_sdk/audit_logs/v1/index.html +++ b/docs/static/api-docs/slack_sdk/audit_logs/v1/index.html @@ -3,13 +3,13 @@ - + slack_sdk.audit_logs.v1 API documentation - + @@ -83,7 +83,7 @@

Sub-modules

diff --git a/docs/static/api-docs/slack_sdk/audit_logs/v1/internal_utils.html b/docs/static/api-docs/slack_sdk/audit_logs/v1/internal_utils.html index dbab1dcb..cdbca913 100644 --- a/docs/static/api-docs/slack_sdk/audit_logs/v1/internal_utils.html +++ b/docs/static/api-docs/slack_sdk/audit_logs/v1/internal_utils.html @@ -3,13 +3,13 @@ - + slack_sdk.audit_logs.v1.internal_utils API documentation - + @@ -49,7 +49,7 @@

Module slack_sdk.audit_logs.v1.internal_utils

diff --git a/docs/static/api-docs/slack_sdk/audit_logs/v1/logs.html b/docs/static/api-docs/slack_sdk/audit_logs/v1/logs.html index 9fc65762..a11b1c4c 100644 --- a/docs/static/api-docs/slack_sdk/audit_logs/v1/logs.html +++ b/docs/static/api-docs/slack_sdk/audit_logs/v1/logs.html @@ -3,13 +3,13 @@ - + slack_sdk.audit_logs.v1.logs API documentation - + @@ -37,7 +37,7 @@

Classes

class AAARequest -(*, id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) +(*, id: str | None = None, team_id: str | None = None, **kwargs)
@@ -61,11 +61,11 @@

Classes

Class variables

-
var id : Optional[str]
+
var id : str | None
-
var team_id : Optional[str]
+
var team_id : str | None
@@ -73,7 +73,7 @@

Class variables

class AAARule -(*, id: Optional[str] = None, team_id: Optional[str] = None, title: Optional[str] = None, action: Union[Dict[str, Any], AAARuleAction, ForwardRef(None)] = None, condition: Union[Dict[str, Any], AAARuleCondition, ForwardRef(None)] = None, **kwargs) +(*,
id: str | None = None,
team_id: str | None = None,
title: str | None = None,
action: Dict[str, Any] | AAARuleAction | None = None,
condition: Dict[str, Any] | AAARuleCondition | None = None,
**kwargs)
@@ -108,23 +108,23 @@

Class variables

Class variables

-
var action : Optional[AAARuleAction]
+
var actionAAARuleAction | None
-
var condition : Optional[AAARuleCondition]
+
var conditionAAARuleCondition | None
-
var id : Optional[str]
+
var id : str | None
-
var team_id : Optional[str]
+
var team_id : str | None
-
var title : Optional[str]
+
var title : str | None
@@ -132,7 +132,7 @@

Class variables

class AAARuleAction -(*, resolution: Union[Dict[str, Any], AAARuleActionResolution, ForwardRef(None)] = None, notify: Optional[List[Union[Dict[str, Any], AAARuleActionNotify]]] = None, **kwargs) +(*,
resolution: Dict[str, Any] | AAARuleActionResolution | None = None,
notify: List[Dict[str, Any] | AAARuleActionNotify] | None = None,
**kwargs)
@@ -167,11 +167,11 @@

Class variables

Class variables

-
var notify : Optional[List[AAARuleActionNotify]]
+
var notify : List[AAARuleActionNotify] | None
-
var resolution : Optional[AAARuleActionResolution]
+
var resolutionAAARuleActionResolution | None
@@ -179,7 +179,7 @@

Class variables

class AAARuleActionNotify -(*, entity_type: Optional[str] = None, **kwargs) +(*, entity_type: str | None = None, **kwargs)
@@ -200,7 +200,7 @@

Class variables

Class variables

-
var entity_type : Optional[str]
+
var entity_type : str | None
@@ -208,7 +208,7 @@

Class variables

class AAARuleActionResolution -(*, value: Optional[str] = None, **kwargs) +(*, value: str | None = None, **kwargs)
@@ -229,7 +229,7 @@

Class variables

Class variables

-
var value : Optional[str]
+
var value : str | None
@@ -237,7 +237,7 @@

Class variables

class AAARuleCondition -(*, datatype: Optional[str] = None, operator: Optional[str] = None, values: Optional[List[Union[Dict[str, Any], AAARuleConditionValue]]] = None, entity_type: Optional[str] = None, **kwargs) +(*,
datatype: str | None = None,
operator: str | None = None,
values: List[Dict[str, Any] | AAARuleConditionValue] | None = None,
entity_type: str | None = None,
**kwargs)
@@ -274,19 +274,19 @@

Class variables

Class variables

-
var datatype : Optional[str]
+
var datatype : str | None
-
var entity_type : Optional[str]
+
var entity_type : str | None
-
var operator : Optional[str]
+
var operator : str | None
-
var values : Optional[List[AAARuleConditionValue]]
+
var values : List[AAARuleConditionValue] | None
@@ -294,7 +294,7 @@

Class variables

class AAARuleConditionValue -(*, field: Optional[str] = None, values: Optional[List[str]] = None, datatype: Optional[str] = None, operator: Optional[str] = None, **kwargs) +(*,
field: str | None = None,
values: List[str] | None = None,
datatype: str | None = None,
operator: str | None = None,
**kwargs)
@@ -324,19 +324,19 @@

Class variables

Class variables

-
var datatype : Optional[str]
+
var datatype : str | None
-
var field : Optional[str]
+
var field : str | None
-
var operator : Optional[str]
+
var operator : str | None
-
var values : Optional[List[str]]
+
var values : List[str] | None
@@ -344,7 +344,7 @@

Class variables

class AccountTypeRole -(*, id: Optional[str] = None, name: Optional[str] = None, **kwargs) +(*, id: str | None = None, name: str | None = None, **kwargs)
@@ -370,11 +370,11 @@

Class variables

Class variables

-
var id : Optional[str]
+
var id : str | None
-
var name : Optional[str]
+
var name : str | None
@@ -386,7 +386,7 @@

Class variables

class Actor -(type: Optional[str] = None, user: Union[User, Dict[str, Any], ForwardRef(None)] = None, **kwargs) +(type: str | None = None,
user: User | Dict[str, Any] | None = None,
**kwargs)
@@ -411,7 +411,7 @@

Class variables

Class variables

-
var type : Optional[str]
+
var type : str | None
@@ -419,7 +419,7 @@

Class variables

-
var user : Optional[User]
+
var userUser | None
@@ -427,7 +427,7 @@

Class variables

class App -(*, id: Optional[str] = None, name: Optional[str] = None, is_distributed: Optional[bool] = None, is_directory_approved: Optional[bool] = None, is_workflow_app: Optional[bool] = None, scopes: Optional[List[str]] = None, **kwargs) +(*,
id: str | None = None,
name: str | None = None,
is_distributed: bool | None = None,
is_directory_approved: bool | None = None,
is_workflow_app: bool | None = None,
scopes: List[str] | None = None,
**kwargs)
@@ -465,27 +465,27 @@

Class variables

Class variables

-
var id : Optional[str]
+
var id : str | None
-
var is_directory_approved : Optional[bool]
+
var is_directory_approved : bool | None
-
var is_distributed : Optional[bool]
+
var is_distributed : bool | None
-
var is_workflow_app : Optional[bool]
+
var is_workflow_app : bool | None
-
var name : Optional[str]
+
var name : str | None
-
var scopes : Optional[List[str]]
+
var scopes : List[str] | None
@@ -497,7 +497,7 @@

Class variables

class Attribute -(*, name: Optional[str] = None, type: Optional[str] = None, items: Optional[AttributeItems] = None, **kwargs) +(*,
name: str | None = None,
type: str | None = None,
items: AttributeItems | None = None,
**kwargs)
@@ -524,15 +524,15 @@

Class variables

Class variables

-
var items : Optional[AttributeItems]
+
var itemsAttributeItems | None
-
var name : Optional[str]
+
var name : str | None
-
var type : Optional[str]
+
var type : str | None
@@ -540,7 +540,7 @@

Class variables

class AttributeItems -(*, type: Optional[str] = None, **kwargs) +(*, type: str | None = None, **kwargs)
@@ -561,7 +561,7 @@

Class variables

Class variables

-
var type : Optional[str]
+
var type : str | None
@@ -569,7 +569,7 @@

Class variables

class Channel -(*, id: Optional[str] = None, privacy: Optional[str] = None, name: Optional[str] = None, is_shared: Optional[bool] = None, is_org_shared: Optional[bool] = None, teams_shared_with: Optional[List[str]] = None, original_connected_channel_id: Optional[str] = None, is_salesforce_channel: Optional[bool] = None, **kwargs) +(*,
id: str | None = None,
privacy: str | None = None,
name: str | None = None,
is_shared: bool | None = None,
is_org_shared: bool | None = None,
teams_shared_with: List[str] | None = None,
original_connected_channel_id: str | None = None,
is_salesforce_channel: bool | None = None,
**kwargs)
@@ -613,35 +613,35 @@

Class variables

Class variables

-
var id : Optional[str]
+
var id : str | None
-
var is_org_shared : Optional[bool]
+
var is_org_shared : bool | None
-
var is_salesforce_channel : Optional[bool]
+
var is_salesforce_channel : bool | None
-
var is_shared : Optional[bool]
+
var is_shared : bool | None
-
var name : Optional[str]
+
var name : str | None
-
var original_connected_channel_id : Optional[str]
+
var original_connected_channel_id : str | None
-
var privacy : Optional[str]
+
var privacy : str | None
-
var teams_shared_with : Optional[List[str]]
+
var teams_shared_with : List[str] | None
@@ -653,7 +653,7 @@

Class variables

class Context -(*, location: Union[Location, Dict[str, Any], ForwardRef(None)] = None, ua: Optional[str] = None, ip_address: Optional[str] = None, session_id: Optional[str] = None, app: Union[App, Dict[str, Any], ForwardRef(None)] = None, **kwargs) +(*,
location: Location | Dict[str, Any] | None = None,
ua: str | None = None,
ip_address: str | None = None,
session_id: str | None = None,
app: App | Dict[str, Any] | None = None,
**kwargs)
@@ -688,23 +688,23 @@

Class variables

Class variables

-
var app : Optional[App]
+
var appApp | None
-
var ip_address : Optional[str]
+
var ip_address : str | None
-
var location : Optional[Location]
+
var locationLocation | None
-
var session_id : Optional[str]
+
var session_id : str | None
-
var ua : Optional[str]
+
var ua : str | None
@@ -716,7 +716,7 @@

Class variables

class ConversationPref -(*, type: Optional[List[str]] = None, user: Optional[List[str]] = None, **kwargs) +(*, type: List[str] | None = None, user: List[str] | None = None, **kwargs)
@@ -741,11 +741,11 @@

Class variables

Class variables

-
var type : Optional[List[str]]
+
var type : List[str] | None
-
var user : Optional[List[str]]
+
var user : List[str] | None
@@ -753,7 +753,7 @@

Class variables

class Details -(*, name: Optional[str] = None, new_value: Union[str, List[str], Dict[str, Any], ForwardRef(None)] = None, previous_value: Union[str, List[str], Dict[str, Any], ForwardRef(None)] = None, expires_on: Optional[int] = None, mobile_only: Optional[bool] = None, web_only: Optional[bool] = None, non_sso_only: Optional[bool] = None, type: Optional[str] = None, is_workflow: Optional[bool] = None, inviter: Union[User, Dict[str, Any], ForwardRef(None)] = None, kicker: Union[User, Dict[str, Any], ForwardRef(None)] = None, shared_to: Optional[str] = None, reason: Optional[str] = None, origin_team: Optional[str] = None, target_team: Optional[str] = None, is_internal_integration: Optional[bool] = None, cleared_resolution: Optional[str] = None, app_owner_id: Optional[str] = None, bot_scopes: Optional[List[str]] = None, new_scopes: Optional[List[str]] = None, previous_scopes: Optional[List[str]] = None, granular_bot_token: Optional[bool] = None, scopes: Optional[List[str]] = None, scopes_bot: Optional[List[str]] = None, resolution: Optional[str] = None, app_previously_resolved: Optional[bool] = None, admin_app_id: Optional[str] = None, bot_id: Optional[str] = None, installer_user_id: Optional[str] = None, approver_id: Optional[str] = None, approval_type: Optional[str] = None, app_previously_approved: Optional[bool] = None, old_scopes: Optional[List[str]] = None, channels: Optional[List[str]] = None, permissions: Optional[List[Dict[str, Any]]] = None, new_version_id: Optional[str] = None, trigger: Optional[str] = None, export_type: Optional[str] = None, export_start_ts: Optional[str] = None, export_end_ts: Optional[str] = None, barrier_id: Optional[str] = None, primary_usergroup_id: Optional[str] = None, barriered_from_usergroup_ids: Optional[List[str]] = None, restricted_subjects: Optional[List[str]] = None, duration: Optional[int] = None, desktop_app_browser_quit: Optional[bool] = None, invite_id: Optional[str] = None, external_organization_id: Optional[str] = None, external_organization_name: Optional[str] = None, external_user_id: Optional[str] = None, external_user_email: Optional[str] = None, channel_id: Optional[str] = None, added_team_id: Optional[str] = None, is_token_rotation_enabled_app: Optional[bool] = None, old_retention_policy: Union[Dict[str, Any], RetentionPolicy, ForwardRef(None)] = None, new_retention_policy: Union[Dict[str, Any], RetentionPolicy, ForwardRef(None)] = None, who_can_post: Union[Dict[str, List[str]], ConversationPref, ForwardRef(None)] = None, can_thread: Union[Dict[str, List[str]], ConversationPref, ForwardRef(None)] = None, is_external_limited: Optional[bool] = None, exporting_team_id: Optional[int] = None, session_search_start: Optional[int] = None, deprecation_search_end: Optional[int] = None, is_error: Optional[bool] = None, creator: Optional[str] = None, team: Optional[str] = None, app_id: Optional[str] = None, enable_at_here: Union[Dict[str, Any], FeatureEnablement, ForwardRef(None)] = None, enable_at_channel: Union[Dict[str, Any], FeatureEnablement, ForwardRef(None)] = None, can_huddle: Union[Dict[str, Any], FeatureEnablement, ForwardRef(None)] = None, url_private: Optional[str] = None, shared_with: Union[Dict[str, Any], SharedWith, ForwardRef(None)] = None, initiated_by: Optional[str] = None, source_team: Optional[str] = None, destination_team: Optional[str] = None, succeeded_users: Union[List[str], str, ForwardRef(None)] = None, failed_users: Union[List[str], str, ForwardRef(None)] = None, enterprise: Optional[str] = None, subteam: Optional[str] = None, action: Optional[str] = None, idp_group_member_count: Optional[int] = None, workspace_member_count: Optional[int] = None, added_user_count: Optional[int] = None, added_user_error_count: Optional[int] = None, reactivated_user_count: Optional[int] = None, removed_user_count: Optional[int] = None, removed_user_error_count: Optional[int] = None, total_removal_count: Optional[int] = None, is_flagged: Optional[str] = None, target_user: Optional[str] = None, idp_config_id: Optional[str] = None, config_type: Optional[str] = None, idp_entity_id_hash: Optional[str] = None, label: Optional[str] = None, previous_profile: Union[Dict[str, Any], Profile, ForwardRef(None)] = None, new_profile: Union[Dict[str, Any], Profile, ForwardRef(None)] = None, target_user_id: Optional[str] = None, space_file_id: Union[Dict[str, Any], SpaceFileId, ForwardRef(None)] = None, target_entity: Optional[str] = None, target_entity_id: Optional[str] = None, changed_permissions: Optional[List[str]] = None, datastore_name: Optional[str] = None, attributes: Optional[List[Union[Dict[str, str], Attribute]]] = None, channel: Optional[str] = None, entity_type: Optional[str] = None, actor: Optional[str] = None, access_level: Optional[str] = None, functions: Optional[List[str]] = None, workflows: Optional[List[str]] = None, datastores: Optional[List[str]] = None, permissions_updated: Optional[bool] = None, matched_rule: Union[Dict[str, Any], AAARule, ForwardRef(None)] = None, request: Union[Dict[str, Any], AAARequest, ForwardRef(None)] = None, rules_checked: Optional[List[Union[Dict[str, Any], AAARule]]] = None, disconnecting_team: Optional[str] = None, is_channel_canvas: Optional[bool] = None, linked_channel_id: Optional[str] = None, column_id: Optional[str] = None, row_id: Optional[str] = None, cell_date_updated: Optional[int] = None, view_id: Optional[str] = None, user: Optional[str] = None, **kwargs) +(*,
name: str | None = None,
new_value: str | List[str] | Dict[str, Any] | None = None,
previous_value: str | List[str] | Dict[str, Any] | None = None,
expires_on: int | None = None,
mobile_only: bool | None = None,
web_only: bool | None = None,
non_sso_only: bool | None = None,
type: str | None = None,
is_workflow: bool | None = None,
inviter: User | Dict[str, Any] | None = None,
kicker: User | Dict[str, Any] | None = None,
shared_to: str | None = None,
reason: str | None = None,
origin_team: str | None = None,
target_team: str | None = None,
is_internal_integration: bool | None = None,
cleared_resolution: str | None = None,
app_owner_id: str | None = None,
bot_scopes: List[str] | None = None,
new_scopes: List[str] | None = None,
previous_scopes: List[str] | None = None,
granular_bot_token: bool | None = None,
scopes: List[str] | None = None,
scopes_bot: List[str] | None = None,
resolution: str | None = None,
app_previously_resolved: bool | None = None,
admin_app_id: str | None = None,
bot_id: str | None = None,
installer_user_id: str | None = None,
approver_id: str | None = None,
approval_type: str | None = None,
app_previously_approved: bool | None = None,
old_scopes: List[str] | None = None,
channels: List[str] | None = None,
permissions: List[Dict[str, Any]] | None = None,
new_version_id: str | None = None,
trigger: str | None = None,
export_type: str | None = None,
export_start_ts: str | None = None,
export_end_ts: str | None = None,
barrier_id: str | None = None,
primary_usergroup_id: str | None = None,
barriered_from_usergroup_ids: List[str] | None = None,
restricted_subjects: List[str] | None = None,
duration: int | None = None,
desktop_app_browser_quit: bool | None = None,
invite_id: str | None = None,
external_organization_id: str | None = None,
external_organization_name: str | None = None,
external_user_id: str | None = None,
external_user_email: str | None = None,
channel_id: str | None = None,
added_team_id: str | None = None,
is_token_rotation_enabled_app: bool | None = None,
old_retention_policy: Dict[str, Any] | RetentionPolicy | None = None,
new_retention_policy: Dict[str, Any] | RetentionPolicy | None = None,
who_can_post: Dict[str, List[str]] | ConversationPref | None = None,
can_thread: Dict[str, List[str]] | ConversationPref | None = None,
is_external_limited: bool | None = None,
exporting_team_id: int | None = None,
session_search_start: int | None = None,
deprecation_search_end: int | None = None,
is_error: bool | None = None,
creator: str | None = None,
team: str | None = None,
app_id: str | None = None,
enable_at_here: Dict[str, Any] | FeatureEnablement | None = None,
enable_at_channel: Dict[str, Any] | FeatureEnablement | None = None,
can_huddle: Dict[str, Any] | FeatureEnablement | None = None,
url_private: str | None = None,
shared_with: Dict[str, Any] | SharedWith | None = None,
initiated_by: str | None = None,
source_team: str | None = None,
destination_team: str | None = None,
succeeded_users: List[str] | str | None = None,
failed_users: List[str] | str | None = None,
enterprise: str | None = None,
subteam: str | None = None,
action: str | None = None,
idp_group_member_count: int | None = None,
workspace_member_count: int | None = None,
added_user_count: int | None = None,
added_user_error_count: int | None = None,
reactivated_user_count: int | None = None,
removed_user_count: int | None = None,
removed_user_error_count: int | None = None,
total_removal_count: int | None = None,
is_flagged: str | None = None,
target_user: str | None = None,
idp_config_id: str | None = None,
config_type: str | None = None,
idp_entity_id_hash: str | None = None,
label: str | None = None,
previous_profile: Dict[str, Any] | Profile | None = None,
new_profile: Dict[str, Any] | Profile | None = None,
target_user_id: str | None = None,
space_file_id: Dict[str, Any] | SpaceFileId | None = None,
target_entity: str | None = None,
target_entity_id: str | None = None,
changed_permissions: List[str] | None = None,
datastore_name: str | None = None,
attributes: List[Dict[str, str] | Attribute] | None = None,
channel: str | None = None,
entity_type: str | None = None,
actor: str | None = None,
access_level: str | None = None,
functions: List[str] | None = None,
workflows: List[str] | None = None,
datastores: List[str] | None = None,
permissions_updated: bool | None = None,
matched_rule: Dict[str, Any] | AAARule | None = None,
request: Dict[str, Any] | AAARequest | None = None,
rules_checked: List[Dict[str, Any] | AAARule] | None = None,
disconnecting_team: str | None = None,
is_channel_canvas: bool | None = None,
linked_channel_id: str | None = None,
column_id: str | None = None,
row_id: str | None = None,
cell_date_updated: int | None = None,
view_id: str | None = None,
user: str | None = None,
**kwargs)
@@ -1192,459 +1192,459 @@

Class variables

Class variables

-
var access_level : Optional[str]
+
var access_level : str | None
-
var action : Optional[str]
+
var action : str | None
-
var actor : Optional[str]
+
var actor : str | None
-
var added_team_id : Optional[str]
+
var added_team_id : str | None
-
var added_user_count : Optional[int]
+
var added_user_count : int | None
-
var added_user_error_count : Optional[int]
+
var added_user_error_count : int | None
-
var admin_app_id : Optional[str]
+
var admin_app_id : str | None
-
var app_id : Optional[str]
+
var app_id : str | None
-
var app_owner_id : Optional[str]
+
var app_owner_id : str | None
-
var app_previously_approved : Optional[bool]
+
var app_previously_approved : bool | None
-
var app_previously_resolved : Optional[bool]
+
var app_previously_resolved : bool | None
-
var approval_type : Optional[str]
+
var approval_type : str | None
-
var approver_id : Optional[str]
+
var approver_id : str | None
-
var attributes : Optional[List[Attribute]]
+
var attributes : List[Attribute] | None
-
var barrier_id : Optional[str]
+
var barrier_id : str | None
-
var barriered_from_usergroup_ids : Optional[List[str]]
+
var barriered_from_usergroup_ids : List[str] | None
-
var bot_id : Optional[str]
+
var bot_id : str | None
-
var bot_scopes : Optional[List[str]]
+
var bot_scopes : List[str] | None
-
var can_huddle : Optional[FeatureEnablement]
+
var can_huddleFeatureEnablement | None
-
var can_thread : Optional[ConversationPref]
+
var can_threadConversationPref | None
-
var cell_date_updated : Optional[int]
+
var cell_date_updated : int | None
-
var changed_permissions : Optional[List[str]]
+
var changed_permissions : List[str] | None
-
var channel : Optional[str]
+
var channel : str | None
-
var channel_id : Optional[str]
+
var channel_id : str | None
-
var channels : Optional[List[str]]
+
var channels : List[str] | None
-
var cleared_resolution : Optional[str]
+
var cleared_resolution : str | None
-
var column_id : Optional[str]
+
var column_id : str | None
-
var config_type : Optional[str]
+
var config_type : str | None
-
var creator : Optional[str]
+
var creator : str | None
-
var datastore_name : Optional[str]
+
var datastore_name : str | None
-
var datastores : Optional[List[str]]
+
var datastores : List[str] | None
-
var deprecation_search_end : Optional[int]
+
var deprecation_search_end : int | None
-
var desktop_app_browser_quit : Optional[bool]
+
var desktop_app_browser_quit : bool | None
-
var destination_team : Optional[str]
+
var destination_team : str | None
-
var disconnecting_team : Optional[str]
+
var disconnecting_team : str | None
-
var duration : Optional[int]
+
var duration : int | None
-
var enable_at_channel : Optional[FeatureEnablement]
+
var enable_at_channelFeatureEnablement | None
-
var enable_at_here : Optional[FeatureEnablement]
+
var enable_at_hereFeatureEnablement | None
-
var enterprise : Optional[str]
+
var enterprise : str | None
-
var entity_type : Optional[str]
+
var entity_type : str | None
-
var expires_on : Optional[int]
+
var expires_on : int | None
-
var export_end_ts : Optional[str]
+
var export_end_ts : str | None
-
var export_start_ts : Optional[str]
+
var export_start_ts : str | None
-
var export_type : Optional[str]
+
var export_type : str | None
-
var exporting_team_id : Optional[int]
+
var exporting_team_id : int | None
-
var external_organization_id : Optional[str]
+
var external_organization_id : str | None
-
var external_organization_name : Optional[str]
+
var external_organization_name : str | None
-
var external_user_email : Optional[str]
+
var external_user_email : str | None
-
var external_user_id : Optional[str]
+
var external_user_id : str | None
-
var failed_users : Optional[List[str]]
+
var failed_users : List[str] | None
-
var functions : Optional[List[str]]
+
var functions : List[str] | None
-
var granular_bot_token : Optional[bool]
+
var granular_bot_token : bool | None
-
var idp_config_id : Optional[str]
+
var idp_config_id : str | None
-
var idp_entity_id_hash : Optional[str]
+
var idp_entity_id_hash : str | None
-
var idp_group_member_count : Optional[int]
+
var idp_group_member_count : int | None
-
var initiated_by : Optional[str]
+
var initiated_by : str | None
-
var installer_user_id : Optional[str]
+
var installer_user_id : str | None
-
var invite_id : Optional[str]
+
var invite_id : str | None
-
var inviter : Optional[User]
+
var inviterUser | None
-
var is_channel_canvas : Optional[bool]
+
var is_channel_canvas : bool | None
-
var is_error : Optional[bool]
+
var is_error : bool | None
-
var is_external_limited : Optional[bool]
+
var is_external_limited : bool | None
-
var is_flagged : Optional[str]
+
var is_flagged : str | None
-
var is_internal_integration : Optional[bool]
+
var is_internal_integration : bool | None
-
var is_token_rotation_enabled_app : Optional[bool]
+
var is_token_rotation_enabled_app : bool | None
-
var is_workflow : Optional[bool]
+
var is_workflow : bool | None
-
var kicker : Optional[User]
+
var kickerUser | None
-
var label : Optional[str]
+
var label : str | None
-
var linked_channel_id : Optional[str]
+
var linked_channel_id : str | None
-
var matched_rule : Optional[AAARule]
+
var matched_ruleAAARule | None
-
var mobile_only : Optional[bool]
+
var mobile_only : bool | None
-
var name : Optional[str]
+
var name : str | None
-
var new_profile : Optional[Profile]
+
var new_profileProfile | None
-
var new_retention_policy : Optional[RetentionPolicy]
+
var new_retention_policyRetentionPolicy | None
-
var new_scopes : Optional[List[str]]
+
var new_scopes : List[str] | None
-
var new_value : Union[str, List[str], Dict[str, Any], ForwardRef(None)]
+
var new_value : str | List[str] | Dict[str, Any] | None
-
var new_version_id : Optional[str]
+
var new_version_id : str | None
-
var non_sso_only : Optional[bool]
+
var non_sso_only : bool | None
-
var old_retention_policy : Optional[RetentionPolicy]
+
var old_retention_policyRetentionPolicy | None
-
var old_scopes : Optional[List[str]]
+
var old_scopes : List[str] | None
-
var origin_team : Optional[str]
+
var origin_team : str | None
-
var permissions : Optional[List[Dict[str, Any]]]
+
var permissions : List[Dict[str, Any]] | None
-
var permissions_updated : Optional[bool]
+
var permissions_updated : bool | None
-
var previous_profile : Optional[Profile]
+
var previous_profileProfile | None
-
var previous_scopes : Optional[List[str]]
+
var previous_scopes : List[str] | None
-
var previous_value : Union[str, List[str], Dict[str, Any], ForwardRef(None)]
+
var previous_value : str | List[str] | Dict[str, Any] | None
-
var primary_usergroup_id : Optional[str]
+
var primary_usergroup_id : str | None
-
var reactivated_user_count : Optional[int]
+
var reactivated_user_count : int | None
-
var reason : Optional[str]
+
var reason : str | None
-
var removed_user_count : Optional[int]
+
var removed_user_count : int | None
-
var removed_user_error_count : Optional[int]
+
var removed_user_error_count : int | None
-
var request : Optional[AAARequest]
+
var requestAAARequest | None
-
var resolution : Optional[str]
+
var resolution : str | None
-
var restricted_subjects : Optional[List[str]]
+
var restricted_subjects : List[str] | None
-
var row_id : Optional[str]
+
var row_id : str | None
-
var rules_checked : Optional[List[AAARule]]
+
var rules_checked : List[AAARule] | None
-
var scopes : Optional[List[str]]
+
var scopes : List[str] | None
-
var scopes_bot : Optional[List[str]]
+
var scopes_bot : List[str] | None
-
var session_search_start : Optional[int]
+
var session_search_start : int | None
-
var shared_to : Optional[str]
+
var shared_to : str | None
-
var shared_with : Optional[SharedWith]
+
var shared_withSharedWith | None
-
var source_team : Optional[str]
+
var source_team : str | None
-
var space_file_id : Optional[SpaceFileId]
+
var space_file_idSpaceFileId | None
-
var subteam : Optional[str]
+
var subteam : str | None
-
var succeeded_users : Optional[List[str]]
+
var succeeded_users : List[str] | None
-
var target_entity : Optional[str]
+
var target_entity : str | None
-
var target_entity_id : Optional[str]
+
var target_entity_id : str | None
-
var target_team : Optional[str]
+
var target_team : str | None
-
var target_user : Optional[str]
+
var target_user : str | None
-
var target_user_id : Optional[str]
+
var target_user_id : str | None
-
var team : Optional[str]
+
var team : str | None
-
var total_removal_count : Optional[int]
+
var total_removal_count : int | None
-
var trigger : Optional[str]
+
var trigger : str | None
-
var type : Optional[str]
+
var type : str | None
@@ -1652,31 +1652,31 @@

Class variables

-
var url_private : Optional[str]
+
var url_private : str | None
-
var user : Optional[str]
+
var user : str | None
-
var view_id : Optional[str]
+
var view_id : str | None
-
var web_only : Optional[bool]
+
var web_only : bool | None
-
var who_can_post : Optional[ConversationPref]
+
var who_can_postConversationPref | None
-
var workflows : Optional[List[str]]
+
var workflows : List[str] | None
-
var workspace_member_count : Optional[int]
+
var workspace_member_count : int | None
@@ -1684,7 +1684,7 @@

Class variables

class Entity -(*, type: Optional[str] = None, user: Union[User, Dict[str, Any], ForwardRef(None)] = None, workspace: Union[Location, Dict[str, Any], ForwardRef(None)] = None, enterprise: Union[Location, Dict[str, Any], ForwardRef(None)] = None, channel: Union[Channel, Dict[str, Any], ForwardRef(None)] = None, file: Union[File, Dict[str, Any], ForwardRef(None)] = None, app: Union[App, Dict[str, Any], ForwardRef(None)] = None, message: Union[Message, Dict[str, Any], ForwardRef(None)] = None, huddle: Union[Huddle, Dict[str, Any], ForwardRef(None)] = None, role: Union[Role, Dict[str, Any], ForwardRef(None)] = None, usergroup: Union[Usergroup, Dict[str, Any], ForwardRef(None)] = None, workflow: Union[Workflow, Dict[str, Any], ForwardRef(None)] = None, barrier: Union[InformationBarrier, Dict[str, Any], ForwardRef(None)] = None, workflow_v2: Union[WorkflowV2, Dict[str, Any], ForwardRef(None)] = None, account_type_role: Union[AccountTypeRole, Dict[str, Any], ForwardRef(None)] = None, list: Union[SlackList, Dict[str, Any], ForwardRef(None)] = None, **kwargs) +(*,
type: str | None = None,
user: User | Dict[str, Any] | None = None,
workspace: Location | Dict[str, Any] | None = None,
enterprise: Location | Dict[str, Any] | None = None,
channel: Channel | Dict[str, Any] | None = None,
file: File | Dict[str, Any] | None = None,
app: App | Dict[str, Any] | None = None,
message: Message | Dict[str, Any] | None = None,
huddle: Huddle | Dict[str, Any] | None = None,
role: Role | Dict[str, Any] | None = None,
usergroup: Usergroup | Dict[str, Any] | None = None,
workflow: Workflow | Dict[str, Any] | None = None,
barrier: InformationBarrier | Dict[str, Any] | None = None,
workflow_v2: WorkflowV2 | Dict[str, Any] | None = None,
account_type_role: AccountTypeRole | Dict[str, Any] | None = None,
list: SlackList | Dict[str, Any] | None = None,
**kwargs)
@@ -1754,47 +1754,47 @@

Class variables

Class variables

-
var account_type_role : Optional[AccountTypeRole]
+
var account_type_roleAccountTypeRole | None
-
var app : Optional[App]
+
var appApp | None
-
var barrier : Optional[InformationBarrier]
+
var barrierInformationBarrier | None
-
var channel : Optional[Channel]
+
var channelChannel | None
-
var enterprise : Optional[Location]
+
var enterpriseLocation | None
-
var file : Optional[File]
+
var fileFile | None
-
var huddle : Optional[Huddle]
+
var huddleHuddle | None
-
var list : Optional[SlackList]
+
var listSlackList | None
-
var message : Optional[Message]
+
var messageMessage | None
-
var role : Optional[Role]
+
var roleRole | None
-
var type : Optional[str]
+
var type : str | None
@@ -1802,23 +1802,23 @@

Class variables

-
var user : Optional[User]
+
var userUser | None
-
var usergroup : Optional[Usergroup]
+
var usergroupUsergroup | None
-
var workflow : Optional[Workflow]
+
var workflowWorkflow | None
-
var workflow_v2 : Optional[WorkflowV2]
+
var workflow_v2WorkflowV2 | None
-
var workspace : Optional[Location]
+
var workspaceLocation | None
@@ -1826,7 +1826,7 @@

Class variables

class Entry -(*, id: Optional[str] = None, date_create: Optional[int] = None, action: Optional[str] = None, actor: Union[Actor, Dict[str, Any], ForwardRef(None)] = None, entity: Union[Entity, Dict[str, Any], ForwardRef(None)] = None, context: Union[Context, Dict[str, Any], ForwardRef(None)] = None, details: Union[Details, Dict[str, Any], ForwardRef(None)] = None, **kwargs) +(*,
id: str | None = None,
date_create: int | None = None,
action: str | None = None,
actor: Actor | Dict[str, Any] | None = None,
entity: Entity | Dict[str, Any] | None = None,
context: Context | Dict[str, Any] | None = None,
details: Details | Dict[str, Any] | None = None,
**kwargs)
@@ -1867,31 +1867,31 @@

Class variables

Class variables

-
var action : Optional[str]
+
var action : str | None
-
var actor : Optional[Actor]
+
var actorActor | None
-
var context : Optional[Context]
+
var contextContext | None
-
var date_create : Optional[int]
+
var date_create : int | None
-
var details : Optional[Details]
+
var detailsDetails | None
-
var entity : Optional[Entity]
+
var entityEntity | None
-
var id : Optional[str]
+
var id : str | None
@@ -1903,7 +1903,7 @@

Class variables

class FeatureEnablement -(*, enabled: Optional[bool] = None, **kwargs) +(*, enabled: bool | None = None, **kwargs)
@@ -1925,7 +1925,7 @@

Class variables

Class variables

-
var enabled : Optional[bool]
+
var enabled : bool | None
@@ -1933,7 +1933,7 @@

Class variables

class File -(*, id: Optional[str] = None, name: Optional[str] = None, filetype: Optional[str] = None, title: Optional[str] = None, **kwargs) +(*,
id: str | None = None,
name: str | None = None,
filetype: str | None = None,
title: str | None = None,
**kwargs)
@@ -1965,19 +1965,19 @@

Class variables

Class variables

-
var filetype : Optional[str]
+
var filetype : str | None
-
var id : Optional[str]
+
var id : str | None
-
var name : Optional[str]
+
var name : str | None
-
var title : Optional[str]
+
var title : str | None
@@ -1989,7 +1989,7 @@

Class variables

class Huddle -(*, id: Optional[str] = None, date_start: Optional[int] = None, date_end: Optional[int] = None, participants: Optional[List[str]] = None, **kwargs) +(*,
id: str | None = None,
date_start: int | None = None,
date_end: int | None = None,
participants: List[str] | None = None,
**kwargs)
@@ -2021,19 +2021,19 @@

Class variables

Class variables

-
var date_end : Optional[int]
+
var date_end : int | None
-
var date_start : Optional[int]
+
var date_start : int | None
-
var id : Optional[str]
+
var id : str | None
-
var participants : Optional[List[str]]
+
var participants : List[str] | None
@@ -2045,7 +2045,7 @@

Class variables

class InformationBarrier -(*, id: Optional[str] = None, primary_usergroup: Optional[str] = None, barriered_from_usergroups: Optional[List[str]] = None, restricted_subjects: Optional[List[str]] = None, **kwargs) +(*,
id: str | None = None,
primary_usergroup: str | None = None,
barriered_from_usergroups: List[str] | None = None,
restricted_subjects: List[str] | None = None,
**kwargs)
@@ -2077,19 +2077,19 @@

Class variables

Class variables

-
var barriered_from_usergroups : Optional[List[str]]
+
var barriered_from_usergroups : List[str] | None
-
var id : Optional[str]
+
var id : str | None
-
var primary_usergroup : Optional[str]
+
var primary_usergroup : str | None
-
var restricted_subjects : Optional[List[str]]
+
var restricted_subjects : List[str] | None
@@ -2101,7 +2101,7 @@

Class variables

class Location -(*, type: Optional[str] = None, id: Optional[str] = None, name: Optional[str] = None, domain: Optional[str] = None, **kwargs) +(*,
type: str | None = None,
id: str | None = None,
name: str | None = None,
domain: str | None = None,
**kwargs)
@@ -2133,19 +2133,19 @@

Class variables

Class variables

-
var domain : Optional[str]
+
var domain : str | None
-
var id : Optional[str]
+
var id : str | None
-
var name : Optional[str]
+
var name : str | None
-
var type : Optional[str]
+
var type : str | None
@@ -2157,7 +2157,7 @@

Class variables

class LogsResponse -(*, entries: Optional[List[Union[Entry, Dict[str, Any]]]] = None, response_metadata: Union[ResponseMetadata, Dict[str, Any], ForwardRef(None)] = None, ok: Optional[bool] = None, error: Optional[str] = None, needed: Optional[str] = None, provided: Optional[str] = None, **kwargs) +(*,
entries: List[Entry | Dict[str, Any]] | None = None,
response_metadata: ResponseMetadata | Dict[str, Any] | None = None,
ok: bool | None = None,
error: str | None = None,
needed: str | None = None,
provided: str | None = None,
**kwargs)
@@ -2197,27 +2197,27 @@

Class variables

Class variables

-
var entries : Optional[List[Entry]]
+
var entries : List[Entry] | None
-
var error : Optional[str]
+
var error : str | None
-
var needed : Optional[str]
+
var needed : str | None
-
var ok : Optional[bool]
+
var ok : bool | None
-
var provided : Optional[str]
+
var provided : str | None
-
var response_metadata : Optional[ResponseMetadata]
+
var response_metadataResponseMetadata | None
@@ -2229,7 +2229,7 @@

Class variables

class Message -(*, channel: Optional[str] = None, team: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) +(*,
channel: str | None = None,
team: str | None = None,
timestamp: str | None = None,
**kwargs)
@@ -2258,15 +2258,15 @@

Class variables

Class variables

-
var channel : Optional[str]
+
var channel : str | None
-
var team : Optional[str]
+
var team : str | None
-
var timestamp : Optional[str]
+
var timestamp : str | None
@@ -2278,7 +2278,7 @@

Class variables

class Profile -(*, real_name: Optional[str] = None, first_name: Optional[str] = None, last_name: Optional[str] = None, display_name: Optional[str] = None, image_original: Optional[str] = None, image_24: Optional[str] = None, image_32: Optional[str] = None, image_48: Optional[str] = None, image_72: Optional[str] = None, image_192: Optional[str] = None, image_512: Optional[str] = None, image_1024: Optional[str] = None, **kwargs) +(*,
real_name: str | None = None,
first_name: str | None = None,
last_name: str | None = None,
display_name: str | None = None,
image_original: str | None = None,
image_24: str | None = None,
image_32: str | None = None,
image_48: str | None = None,
image_72: str | None = None,
image_192: str | None = None,
image_512: str | None = None,
image_1024: str | None = None,
**kwargs)
@@ -2332,51 +2332,51 @@

Class variables

Class variables

-
var display_name : Optional[str]
+
var display_name : str | None
-
var first_name : Optional[str]
+
var first_name : str | None
-
var image_1024 : Optional[str]
+
var image_1024 : str | None
-
var image_192 : Optional[str]
+
var image_192 : str | None
-
var image_24 : Optional[str]
+
var image_24 : str | None
-
var image_32 : Optional[str]
+
var image_32 : str | None
-
var image_48 : Optional[str]
+
var image_48 : str | None
-
var image_512 : Optional[str]
+
var image_512 : str | None
-
var image_72 : Optional[str]
+
var image_72 : str | None
-
var image_original : Optional[str]
+
var image_original : str | None
-
var last_name : Optional[str]
+
var last_name : str | None
-
var real_name : Optional[str]
+
var real_name : str | None
@@ -2384,7 +2384,7 @@

Class variables

class ResponseMetadata -(*, next_cursor: Optional[str] = None, **kwargs) +(*, next_cursor: str | None = None, **kwargs)
@@ -2407,7 +2407,7 @@

Class variables

Class variables

-
var next_cursor : Optional[str]
+
var next_cursor : str | None
@@ -2419,7 +2419,7 @@

Class variables

class RetentionPolicy -(*, type: Optional[str] = None, duration_days: Optional[int] = None, **kwargs) +(*, type: str | None = None, duration_days: int | None = None, **kwargs)
@@ -2444,11 +2444,11 @@

Class variables

Class variables

-
var duration_days : Optional[int]
+
var duration_days : int | None
-
var type : Optional[str]
+
var type : str | None
@@ -2456,7 +2456,7 @@

Class variables

class Role -(*, id: Optional[str] = None, name: Optional[str] = None, type: Optional[str] = None, **kwargs) +(*,
id: str | None = None,
name: str | None = None,
type: str | None = None,
**kwargs)
@@ -2485,15 +2485,15 @@

Class variables

Class variables

-
var id : Optional[str]
+
var id : str | None
-
var name : Optional[str]
+
var name : str | None
-
var type : Optional[str]
+
var type : str | None
@@ -2505,7 +2505,7 @@

Class variables

class SharedWith -(*, channel_id: Optional[str] = None, access_level: Optional[str] = None, **kwargs) +(*, channel_id: str | None = None, access_level: str | None = None, **kwargs)
@@ -2530,11 +2530,11 @@

Class variables

Class variables

-
var access_level : Optional[str]
+
var access_level : str | None
-
var channel_id : Optional[str]
+
var channel_id : str | None
@@ -2542,7 +2542,7 @@

Class variables

class SlackList -(*, id: Optional[str] = None, **kwargs) +(*, id: str | None = None, **kwargs)
@@ -2565,7 +2565,7 @@

Class variables

Class variables

-
var id : Optional[str]
+
var id : str | None
@@ -2577,7 +2577,7 @@

Class variables

class SpaceFileId -(*, payload: Optional[str] = None, **kwargs) +(*, payload: str | None = None, **kwargs)
@@ -2598,7 +2598,7 @@

Class variables

Class variables

-
var payload : Optional[str]
+
var payload : str | None
@@ -2606,7 +2606,7 @@

Class variables

class User -(*, id: Optional[str] = None, name: Optional[str] = None, email: Optional[str] = None, team: Optional[str] = None, **kwargs) +(*,
id: str | None = None,
name: str | None = None,
email: str | None = None,
team: str | None = None,
**kwargs)
@@ -2638,19 +2638,19 @@

Class variables

Class variables

-
var email : Optional[str]
+
var email : str | None
-
var id : Optional[str]
+
var id : str | None
-
var name : Optional[str]
+
var name : str | None
-
var team : Optional[str]
+
var team : str | None
@@ -2662,7 +2662,7 @@

Class variables

class Usergroup -(*, id: Optional[str] = None, name: Optional[str] = None, **kwargs) +(*, id: str | None = None, name: str | None = None, **kwargs)
@@ -2688,11 +2688,11 @@

Class variables

Class variables

-
var id : Optional[str]
+
var id : str | None
-
var name : Optional[str]
+
var name : str | None
@@ -2704,7 +2704,7 @@

Class variables

class Workflow -(*, id: Optional[str] = None, name: Optional[str] = None, domain: Optional[str] = None, **kwargs) +(*,
id: str | None = None,
name: str | None = None,
domain: str | None = None,
**kwargs)
@@ -2733,15 +2733,15 @@

Class variables

Class variables

-
var domain : Optional[str]
+
var domain : str | None
-
var id : Optional[str]
+
var id : str | None
-
var name : Optional[str]
+
var name : str | None
@@ -2753,7 +2753,7 @@

Class variables

class WorkflowV2 -(*, id: Optional[str] = None, app_id: Optional[str] = None, date_updated: Optional[int] = None, callback_id: Optional[str] = None, name: Optional[str] = None, updated_by: Optional[str] = None, step_configuration: Optional[List[Union[Dict[str, Any], WorkflowV2StepConfiguration]]] = None, **kwargs) +(*,
id: str | None = None,
app_id: str | None = None,
date_updated: int | None = None,
callback_id: str | None = None,
name: str | None = None,
updated_by: str | None = None,
step_configuration: List[Dict[str, Any] | WorkflowV2StepConfiguration] | None = None,
**kwargs)
@@ -2801,27 +2801,27 @@

Class variables

Class variables

-
var app_id : Optional[str]
+
var app_id : str | None
-
var callback_id : Optional[str]
+
var callback_id : str | None
-
var date_updated : Optional[int]
+
var date_updated : int | None
-
var id : Optional[str]
+
var id : str | None
-
var name : Optional[str]
+
var name : str | None
-
var step_configuration : Optional[List[WorkflowV2StepConfiguration]]
+
var step_configuration : List[WorkflowV2StepConfiguration] | None
@@ -2829,7 +2829,7 @@

Class variables

-
var updated_by : Optional[str]
+
var updated_by : str | None
@@ -2837,7 +2837,7 @@

Class variables

class WorkflowV2StepConfiguration -(*, name: Optional[str] = None, step_function_type: Optional[str] = None, step_function_app_id: Optional[str] = None, **kwargs) +(*,
name: str | None = None,
step_function_type: str | None = None,
step_function_app_id: str | None = None,
**kwargs)
@@ -2866,15 +2866,15 @@

Class variables

Class variables

-
var name : Optional[str]
+
var name : str | None
-
var step_function_app_id : Optional[int]
+
var step_function_app_id : int | None
-
var step_function_type : Optional[str]
+
var step_function_type : str | None
@@ -3371,7 +3371,7 @@

diff --git a/docs/static/api-docs/slack_sdk/audit_logs/v1/response.html b/docs/static/api-docs/slack_sdk/audit_logs/v1/response.html index 89a90554..1b2a7ae5 100644 --- a/docs/static/api-docs/slack_sdk/audit_logs/v1/response.html +++ b/docs/static/api-docs/slack_sdk/audit_logs/v1/response.html @@ -3,13 +3,13 @@ - + slack_sdk.audit_logs.v1.response API documentation - + @@ -37,7 +37,7 @@

Classes

class AuditLogsResponse -(*, url: str, status_code: int, raw_body: Optional[str], headers: dict) +(*, url: str, status_code: int, raw_body: str | None, headers: dict)
@@ -75,7 +75,7 @@

Classes

Class variables

-
var body : Optional[Dict[str, Any]]
+
var body : Dict[str, Any] | None
@@ -83,7 +83,7 @@

Class variables

-
var raw_body : Optional[str]
+
var raw_body : str | None
@@ -98,7 +98,7 @@

Class variables

Instance variables

-
prop typed_body : Optional[LogsResponse]
+
prop typed_bodyLogsResponse | None
@@ -146,7 +146,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/errors/index.html b/docs/static/api-docs/slack_sdk/errors/index.html index ae18723f..4f348aab 100644 --- a/docs/static/api-docs/slack_sdk/errors/index.html +++ b/docs/static/api-docs/slack_sdk/errors/index.html @@ -3,13 +3,13 @@ - + slack_sdk.errors API documentation - + @@ -298,7 +298,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/http_retry/async_handler.html b/docs/static/api-docs/slack_sdk/http_retry/async_handler.html index 73bc23cf..01fa7efa 100644 --- a/docs/static/api-docs/slack_sdk/http_retry/async_handler.html +++ b/docs/static/api-docs/slack_sdk/http_retry/async_handler.html @@ -3,14 +3,14 @@ - + slack_sdk.http_retry.async_handler API documentation - + @@ -40,7 +40,7 @@

Classes

class BackoffRetryIntervalCalculator -(backoff_factor: float = 0.5, jitter: Optional[Jitter] = None) +(backoff_factor: float = 0.5,
jitter: Jitter | None = None)

Retry interval calculator that calculates in the manner of Exponential Backoff And Jitter @@ -106,7 +106,7 @@

Inherited members

class HttpRequest -(*, method: str, url: str, headers: Dict[str, Union[str, List[str]]], body_params: Optional[Dict[str, Any]] = None, data: Optional[bytes] = None) +(*,
method: str,
url: str,
headers: Dict[str, str | List[str]],
body_params: Dict[str, Any] | None = None,
data: bytes | None = None)

HTTP request representation

@@ -149,15 +149,15 @@

Inherited members

Class variables

-
var body_params : Optional[Dict[str, Any]]
+
var body_params : Dict[str, Any] | None
-
var data : Optional[bytes]
+
var data : bytes | None
-
var headers : Dict[str, Union[str, List[str]]]
+
var headers : Dict[str, str | List[str]]
@@ -182,7 +182,7 @@

Static methods

class HttpResponse -(*, status_code: Union[str, int], headers: Dict[str, Union[str, List[str]]], body: Optional[Dict[str, Any]] = None, data: Optional[bytes] = None) +(*,
status_code: str | int,
headers: Dict[str, str | List[str]],
body: Dict[str, Any] | None = None,
data: bytes | None = None)

HTTP response representation

@@ -213,11 +213,11 @@

Static methods

Class variables

-
var body : Optional[Dict[str, Any]]
+
var body : Dict[str, Any] | None
-
var data : Optional[bytes]
+
var data : bytes | None
@@ -277,7 +277,7 @@

Returns

class RetryState -(*, current_attempt: int = 0, custom_values: Optional[Dict[str, Any]] = None) +(*, current_attempt: int = 0, custom_values: Dict[str, Any] | None = None)
@@ -310,7 +310,7 @@

Class variables

-
var custom_values : Optional[Dict[str, Any]]
+
var custom_values : Dict[str, Any] | None
@@ -392,7 +392,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/http_retry/builtin_async_handlers.html b/docs/static/api-docs/slack_sdk/http_retry/builtin_async_handlers.html index e644951c..a88a4d64 100644 --- a/docs/static/api-docs/slack_sdk/http_retry/builtin_async_handlers.html +++ b/docs/static/api-docs/slack_sdk/http_retry/builtin_async_handlers.html @@ -3,13 +3,13 @@ - + slack_sdk.http_retry.builtin_async_handlers API documentation - + @@ -46,7 +46,7 @@

Classes

class AsyncConnectionErrorRetryHandler -(max_retry_count: int = 1, interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>, error_types: List[Type[Exception]] = [<class 'aiohttp.client_exceptions.ServerConnectionError'>, <class 'aiohttp.client_exceptions.ServerDisconnectedError'>, <class 'aiohttp.client_exceptions.ClientOSError'>]) +(max_retry_count: int = 1,
interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>,
error_types: List[Type[Exception]] = [<class 'aiohttp.client_exceptions.ServerConnectionError'>, <class 'aiohttp.client_exceptions.ServerDisconnectedError'>, <class 'aiohttp.client_exceptions.ClientOSError'>])

RetryHandler that does retries for connectivity issues.

@@ -113,7 +113,7 @@

Class variables

class AsyncRateLimitErrorRetryHandler -(max_retry_count: int = 1, interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>) +(max_retry_count: int = 1,
interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>)

RetryHandler that does retries for rate limited errors.

@@ -186,7 +186,7 @@

Class variables

Methods

-async def prepare_for_next_attempt_async(self, *, state: RetryState, request: HttpRequest, response: Optional[HttpResponse] = None, error: Optional[Exception] = None) ‑> None +async def prepare_for_next_attempt_async(self,
*,
state: RetryState,
request: HttpRequest,
response: HttpResponse | None = None,
error: Exception | None = None) ‑> None
@@ -195,7 +195,7 @@

Methods

class AsyncServerErrorRetryHandler -(max_retry_count: int = 1, interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>) +(max_retry_count: int = 1,
interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>)

RetryHandler that does retries for server errors.

@@ -295,7 +295,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/http_retry/builtin_handlers.html b/docs/static/api-docs/slack_sdk/http_retry/builtin_handlers.html index 2e4a5129..f97d80d0 100644 --- a/docs/static/api-docs/slack_sdk/http_retry/builtin_handlers.html +++ b/docs/static/api-docs/slack_sdk/http_retry/builtin_handlers.html @@ -3,13 +3,13 @@ - + slack_sdk.http_retry.builtin_handlers API documentation - + @@ -37,7 +37,7 @@

Classes

class ConnectionErrorRetryHandler -(max_retry_count: int = 1, interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>, error_types: List[Type[Exception]] = [<class 'urllib.error.URLError'>, <class 'ConnectionResetError'>, <class 'http.client.RemoteDisconnected'>]) +(max_retry_count: int = 1,
interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>,
error_types: List[Type[Exception]] = [<class 'urllib.error.URLError'>, <class 'ConnectionResetError'>, <class 'http.client.RemoteDisconnected'>])

RetryHandler that does retries for connectivity issues.

@@ -108,7 +108,7 @@

Class variables

class RateLimitErrorRetryHandler -(max_retry_count: int = 1, interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>) +(max_retry_count: int = 1,
interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>)

RetryHandler that does retries for rate limited errors.

@@ -181,7 +181,7 @@

Class variables

Methods

-def prepare_for_next_attempt(self, *, state: RetryState, request: HttpRequest, response: Optional[HttpResponse] = None, error: Optional[Exception] = None) ‑> None +def prepare_for_next_attempt(self,
*,
state: RetryState,
request: HttpRequest,
response: HttpResponse | None = None,
error: Exception | None = None) ‑> None
@@ -190,7 +190,7 @@

Methods

class ServerErrorRetryHandler -(max_retry_count: int = 1, interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>) +(max_retry_count: int = 1,
interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>)

RetryHandler that does retries for server errors.

@@ -285,7 +285,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/http_retry/builtin_interval_calculators.html b/docs/static/api-docs/slack_sdk/http_retry/builtin_interval_calculators.html index 71138d0f..5114806d 100644 --- a/docs/static/api-docs/slack_sdk/http_retry/builtin_interval_calculators.html +++ b/docs/static/api-docs/slack_sdk/http_retry/builtin_interval_calculators.html @@ -3,13 +3,13 @@ - + slack_sdk.http_retry.builtin_interval_calculators API documentation - + @@ -37,7 +37,7 @@

Classes

class BackoffRetryIntervalCalculator -(backoff_factor: float = 0.5, jitter: Optional[Jitter] = None) +(backoff_factor: float = 0.5,
jitter: Jitter | None = None)

Retry interval calculator that calculates in the manner of Exponential Backoff And Jitter @@ -187,7 +187,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/http_retry/handler.html b/docs/static/api-docs/slack_sdk/http_retry/handler.html index 07767cce..bb355822 100644 --- a/docs/static/api-docs/slack_sdk/http_retry/handler.html +++ b/docs/static/api-docs/slack_sdk/http_retry/handler.html @@ -3,14 +3,14 @@ - + slack_sdk.http_retry.handler API documentation - + @@ -40,7 +40,7 @@

Classes

class RetryHandler -(max_retry_count: int = 1, interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>) +(max_retry_count: int = 1,
interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>)

RetryHandler interface. @@ -139,13 +139,13 @@

Class variables

Methods

-def can_retry(self, *, state: RetryState, request: HttpRequest, response: Optional[HttpResponse] = None, error: Optional[Exception] = None) ‑> bool +def can_retry(self,
*,
state: RetryState,
request: HttpRequest,
response: HttpResponse | None = None,
error: Exception | None = None) ‑> bool
-def prepare_for_next_attempt(self, *, state: RetryState, request: HttpRequest, response: Optional[HttpResponse] = None, error: Optional[Exception] = None) ‑> None +def prepare_for_next_attempt(self,
*,
state: RetryState,
request: HttpRequest,
response: HttpResponse | None = None,
error: Exception | None = None) ‑> None
@@ -182,7 +182,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/http_retry/index.html b/docs/static/api-docs/slack_sdk/http_retry/index.html index 041a4575..b137915b 100644 --- a/docs/static/api-docs/slack_sdk/http_retry/index.html +++ b/docs/static/api-docs/slack_sdk/http_retry/index.html @@ -3,13 +3,13 @@ - + slack_sdk.http_retry API documentation - + @@ -97,7 +97,7 @@

Classes

class BackoffRetryIntervalCalculator -(backoff_factor: float = 0.5, jitter: Optional[Jitter] = None) +(backoff_factor: float = 0.5,
jitter: Jitter | None = None)

Retry interval calculator that calculates in the manner of Exponential Backoff And Jitter @@ -163,7 +163,7 @@

Inherited members

class ConnectionErrorRetryHandler -(max_retry_count: int = 1, interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>, error_types: List[Type[Exception]] = [<class 'urllib.error.URLError'>, <class 'ConnectionResetError'>, <class 'http.client.RemoteDisconnected'>]) +(max_retry_count: int = 1,
interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>,
error_types: List[Type[Exception]] = [<class 'urllib.error.URLError'>, <class 'ConnectionResetError'>, <class 'http.client.RemoteDisconnected'>])

RetryHandler that does retries for connectivity issues.

@@ -286,7 +286,7 @@

Inherited members

class HttpRequest -(*, method: str, url: str, headers: Dict[str, Union[str, List[str]]], body_params: Optional[Dict[str, Any]] = None, data: Optional[bytes] = None) +(*,
method: str,
url: str,
headers: Dict[str, str | List[str]],
body_params: Dict[str, Any] | None = None,
data: bytes | None = None)

HTTP request representation

@@ -329,15 +329,15 @@

Inherited members

Class variables

-
var body_params : Optional[Dict[str, Any]]
+
var body_params : Dict[str, Any] | None
-
var data : Optional[bytes]
+
var data : bytes | None
-
var headers : Dict[str, Union[str, List[str]]]
+
var headers : Dict[str, str | List[str]]
@@ -362,7 +362,7 @@

Static methods

class HttpResponse -(*, status_code: Union[str, int], headers: Dict[str, Union[str, List[str]]], body: Optional[Dict[str, Any]] = None, data: Optional[bytes] = None) +(*,
status_code: str | int,
headers: Dict[str, str | List[str]],
body: Dict[str, Any] | None = None,
data: bytes | None = None)

HTTP response representation

@@ -393,11 +393,11 @@

Static methods

Class variables

-
var body : Optional[Dict[str, Any]]
+
var body : Dict[str, Any] | None
-
var data : Optional[bytes]
+
var data : bytes | None
@@ -459,7 +459,7 @@

Returns

class RateLimitErrorRetryHandler -(max_retry_count: int = 1, interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>) +(max_retry_count: int = 1,
interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>)

RetryHandler that does retries for rate limited errors.

@@ -532,7 +532,7 @@

Class variables

Methods

-def prepare_for_next_attempt(self, *, state: RetryState, request: HttpRequest, response: Optional[HttpResponse] = None, error: Optional[Exception] = None) ‑> None +def prepare_for_next_attempt(self,
*,
state: RetryState,
request: HttpRequest,
response: HttpResponse | None = None,
error: Exception | None = None) ‑> None
@@ -541,7 +541,7 @@

Methods

class RetryHandler -(max_retry_count: int = 1, interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>) +(max_retry_count: int = 1,
interval_calculator: RetryIntervalCalculator = <slack_sdk.http_retry.builtin_interval_calculators.BackoffRetryIntervalCalculator object>)

RetryHandler interface. @@ -640,13 +640,13 @@

Class variables

Methods

-def can_retry(self, *, state: RetryState, request: HttpRequest, response: Optional[HttpResponse] = None, error: Optional[Exception] = None) ‑> bool +def can_retry(self,
*,
state: RetryState,
request: HttpRequest,
response: HttpResponse | None = None,
error: Exception | None = None) ‑> bool
-def prepare_for_next_attempt(self, *, state: RetryState, request: HttpRequest, response: Optional[HttpResponse] = None, error: Optional[Exception] = None) ‑> None +def prepare_for_next_attempt(self,
*,
state: RetryState,
request: HttpRequest,
response: HttpResponse | None = None,
error: Exception | None = None) ‑> None
@@ -699,7 +699,7 @@

Returns

class RetryState -(*, current_attempt: int = 0, custom_values: Optional[Dict[str, Any]] = None) +(*, current_attempt: int = 0, custom_values: Dict[str, Any] | None = None)
@@ -732,7 +732,7 @@

Class variables

-
var custom_values : Optional[Dict[str, Any]]
+
var custom_values : Dict[str, Any] | None
@@ -870,7 +870,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/http_retry/interval_calculator.html b/docs/static/api-docs/slack_sdk/http_retry/interval_calculator.html index 6028330b..8786aa66 100644 --- a/docs/static/api-docs/slack_sdk/http_retry/interval_calculator.html +++ b/docs/static/api-docs/slack_sdk/http_retry/interval_calculator.html @@ -3,13 +3,13 @@ - + slack_sdk.http_retry.interval_calculator API documentation - + @@ -106,7 +106,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/http_retry/jitter.html b/docs/static/api-docs/slack_sdk/http_retry/jitter.html index 87541752..4a5fcf4f 100644 --- a/docs/static/api-docs/slack_sdk/http_retry/jitter.html +++ b/docs/static/api-docs/slack_sdk/http_retry/jitter.html @@ -3,13 +3,13 @@ - + slack_sdk.http_retry.jitter API documentation - + @@ -139,7 +139,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/http_retry/request.html b/docs/static/api-docs/slack_sdk/http_retry/request.html index 1e0d3f0e..64eabe04 100644 --- a/docs/static/api-docs/slack_sdk/http_retry/request.html +++ b/docs/static/api-docs/slack_sdk/http_retry/request.html @@ -3,13 +3,13 @@ - + slack_sdk.http_retry.request API documentation - + @@ -37,7 +37,7 @@

Classes

class HttpRequest -(*, method: str, url: str, headers: Dict[str, Union[str, List[str]]], body_params: Optional[Dict[str, Any]] = None, data: Optional[bytes] = None) +(*,
method: str,
url: str,
headers: Dict[str, str | List[str]],
body_params: Dict[str, Any] | None = None,
data: bytes | None = None)

HTTP request representation

@@ -80,15 +80,15 @@

Classes

Class variables

-
var body_params : Optional[Dict[str, Any]]
+
var body_params : Dict[str, Any] | None
-
var data : Optional[bytes]
+
var data : bytes | None
-
var headers : Dict[str, Union[str, List[str]]]
+
var headers : Dict[str, str | List[str]]
@@ -143,7 +143,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/http_retry/response.html b/docs/static/api-docs/slack_sdk/http_retry/response.html index da86e75d..331f014a 100644 --- a/docs/static/api-docs/slack_sdk/http_retry/response.html +++ b/docs/static/api-docs/slack_sdk/http_retry/response.html @@ -3,13 +3,13 @@ - + slack_sdk.http_retry.response API documentation - + @@ -37,7 +37,7 @@

Classes

class HttpResponse -(*, status_code: Union[str, int], headers: Dict[str, Union[str, List[str]]], body: Optional[Dict[str, Any]] = None, data: Optional[bytes] = None) +(*,
status_code: str | int,
headers: Dict[str, str | List[str]],
body: Dict[str, Any] | None = None,
data: bytes | None = None)

HTTP response representation

@@ -68,11 +68,11 @@

Classes

Class variables

-
var body : Optional[Dict[str, Any]]
+
var body : Dict[str, Any] | None
-
var data : Optional[bytes]
+
var data : bytes | None
@@ -116,7 +116,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/http_retry/state.html b/docs/static/api-docs/slack_sdk/http_retry/state.html index 50b7c94d..00e765fd 100644 --- a/docs/static/api-docs/slack_sdk/http_retry/state.html +++ b/docs/static/api-docs/slack_sdk/http_retry/state.html @@ -3,13 +3,13 @@ - + slack_sdk.http_retry.state API documentation - + @@ -37,7 +37,7 @@

Classes

class RetryState -(*, current_attempt: int = 0, custom_values: Optional[Dict[str, Any]] = None) +(*, current_attempt: int = 0, custom_values: Dict[str, Any] | None = None)
@@ -70,7 +70,7 @@

Class variables

-
var custom_values : Optional[Dict[str, Any]]
+
var custom_values : Dict[str, Any] | None
@@ -119,7 +119,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/index.html b/docs/static/api-docs/slack_sdk/index.html index 0f4fbaea..3c24b753 100644 --- a/docs/static/api-docs/slack_sdk/index.html +++ b/docs/static/api-docs/slack_sdk/index.html @@ -3,14 +3,14 @@ - + slack_sdk API documentation - + @@ -142,7 +142,7 @@

Classes

class WebClient -(token: Optional[str] = None, base_url: str = 'https://slack.com/api/', timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, headers: Optional[dict] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, team_id: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[RetryHandler]] = None) +(token: str | None = None,
base_url: str = 'https://slack.com/api/',
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
headers: dict | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
team_id: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[RetryHandler] | None = None)

A WebClient allows apps to communicate with the Slack Platform's Web API.

@@ -5612,21 +5612,21 @@

Ancestors

Methods

-def admin_analytics_getFile(self, *, type: str, date: Optional[str] = None, metadata_only: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_analytics_getFile(self,
*,
type: str,
date: str | None = None,
metadata_only: bool | None = None,
**kwargs) ‑> SlackResponse

Retrieve analytics data for a given date, presented as a compressed JSON file https://api.slack.com/methods/admin.analytics.getFile

-def admin_apps_activities_list(self, *, app_id: Optional[str] = None, component_id: Optional[str] = None, component_type: Optional[str] = None, log_event_type: Optional[str] = None, max_date_created: Optional[int] = None, min_date_created: Optional[int] = None, min_log_level: Optional[str] = None, sort_direction: Optional[str] = None, source: Optional[str] = None, team_id: Optional[str] = None, trace_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_apps_activities_list(self,
*,
app_id: str | None = None,
component_id: str | None = None,
component_type: str | None = None,
log_event_type: str | None = None,
max_date_created: int | None = None,
min_date_created: int | None = None,
min_log_level: str | None = None,
sort_direction: str | None = None,
source: str | None = None,
team_id: str | None = None,
trace_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse
-def admin_apps_approve(self, *, app_id: Optional[str] = None, request_id: Optional[str] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_approve(self,
*,
app_id: str | None = None,
request_id: str | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Approve an app for installation on a workspace. @@ -5636,49 +5636,49 @@

Methods

https://api.slack.com/methods/admin.apps.approve

-def admin_apps_approved_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_approved_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List approved apps for an org or workspace. https://api.slack.com/methods/admin.apps.approved.list

-def admin_apps_clearResolution(self, *, app_id: str, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_clearResolution(self,
*,
app_id: str,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def admin_apps_config_lookup(self, *, app_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_apps_config_lookup(self, *, app_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Look up the app config for connectors by their IDs https://api.slack.com/methods/admin.apps.config.lookup

-def admin_apps_config_set(self, *, app_id: str, domain_restrictions: Optional[Dict[str, Any]] = None, workflow_auth_strategy: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_config_set(self,
*,
app_id: str,
domain_restrictions: Dict[str, Any] | None = None,
workflow_auth_strategy: str | None = None,
**kwargs) ‑> SlackResponse

Set the app config for a connector https://api.slack.com/methods/admin.apps.config.set

-def admin_apps_requests_cancel(self, *, request_id: str, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_requests_cancel(self,
*,
request_id: str,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List app requests for a team/workspace. https://api.slack.com/methods/admin.apps.requests.cancel

-def admin_apps_requests_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_requests_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List app requests for a team/workspace. https://api.slack.com/methods/admin.apps.requests.list

-def admin_apps_restrict(self, *, app_id: Optional[str] = None, request_id: Optional[str] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_restrict(self,
*,
app_id: str | None = None,
request_id: str | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Restrict an app for installation on a workspace. @@ -5688,14 +5688,14 @@

Methods

https://api.slack.com/methods/admin.apps.restrict

-def admin_apps_restricted_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_restricted_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List restricted apps for an org or workspace. https://api.slack.com/methods/admin.apps.restricted.list

-def admin_apps_uninstall(self, *, app_id: str, enterprise_id: Optional[str] = None, team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_apps_uninstall(self,
*,
app_id: str,
enterprise_id: str | None = None,
team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Uninstall an app from one or many workspaces, or an entire enterprise organization. @@ -5703,28 +5703,28 @@

Methods

https://api.slack.com/methods/admin.apps.uninstall

-def admin_auth_policy_assignEntities(self, *, entity_ids: Union[str, Sequence[str]], policy_name: str, entity_type: str, **kwargs) ‑> SlackResponse +def admin_auth_policy_assignEntities(self,
*,
entity_ids: str | Sequence[str],
policy_name: str,
entity_type: str,
**kwargs) ‑> SlackResponse

Assign entities to a particular authentication policy. https://api.slack.com/methods/admin.auth.policy.assignEntities

-def admin_auth_policy_getEntities(self, *, policy_name: str, cursor: Optional[str] = None, entity_type: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_auth_policy_getEntities(self,
*,
policy_name: str,
cursor: str | None = None,
entity_type: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Fetch all the entities assigned to a particular authentication policy by name. https://api.slack.com/methods/admin.auth.policy.getEntities

-def admin_auth_policy_removeEntities(self, *, entity_ids: Union[str, Sequence[str]], policy_name: str, entity_type: str, **kwargs) ‑> SlackResponse +def admin_auth_policy_removeEntities(self,
*,
entity_ids: str | Sequence[str],
policy_name: str,
entity_type: str,
**kwargs) ‑> SlackResponse

Remove specified entities from a specified authentication policy. https://api.slack.com/methods/admin.auth.policy.removeEntities

-def admin_barriers_create(self, *, barriered_from_usergroup_ids: Union[str, Sequence[str]], primary_usergroup_id: str, restricted_subjects: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_barriers_create(self,
*,
barriered_from_usergroup_ids: str | Sequence[str],
primary_usergroup_id: str,
restricted_subjects: str | Sequence[str],
**kwargs) ‑> SlackResponse

Create an Information Barrier @@ -5738,14 +5738,14 @@

Methods

https://api.slack.com/methods/admin.barriers.delete

-def admin_barriers_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_barriers_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

Get all Information Barriers for your organization https://api.slack.com/methods/admin.barriers.list

-def admin_barriers_update(self, *, barrier_id: str, barriered_from_usergroup_ids: Union[str, Sequence[str]], primary_usergroup_id: str, restricted_subjects: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_barriers_update(self,
*,
barrier_id: str,
barriered_from_usergroup_ids: str | Sequence[str],
primary_usergroup_id: str,
restricted_subjects: str | Sequence[str],
**kwargs) ‑> SlackResponse

Update an existing Information Barrier @@ -5759,21 +5759,21 @@

Methods

https://api.slack.com/methods/admin.conversations.archive

-def admin_conversations_bulkArchive(self, *, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_conversations_bulkArchive(self, *, channel_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Archive public or private channels in bulk. https://api.slack.com/methods/admin.conversations.bulkArchive

-def admin_conversations_bulkDelete(self, *, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_conversations_bulkDelete(self, *, channel_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Delete public or private channels in bulk. https://slack.com/api/admin.conversations.bulkDelete

-def admin_conversations_bulkMove(self, *, channel_ids: Union[str, Sequence[str]], target_team_id: str, **kwargs) ‑> SlackResponse +def admin_conversations_bulkMove(self, *, channel_ids: str | Sequence[str], target_team_id: str, **kwargs) ‑> SlackResponse

Move public or private channels in bulk. @@ -5794,7 +5794,7 @@

Methods

https://api.slack.com/methods/admin.conversations.convertToPublic

-def admin_conversations_create(self, *, is_private: bool, name: str, description: Optional[str] = None, org_wide: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_conversations_create(self,
*,
is_private: bool,
name: str,
description: str | None = None,
org_wide: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Create a public or private channel-based conversation. @@ -5808,14 +5808,14 @@

Methods

https://api.slack.com/methods/admin.conversations.delete

-def admin_conversations_disconnectShared(self, *, channel_id: str, leaving_team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_conversations_disconnectShared(self,
*,
channel_id: str,
leaving_team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Disconnect a connected channel from one or more workspaces. https://api.slack.com/methods/admin.conversations.disconnectShared

-def admin_conversations_ekm_listOriginalConnectedChannelInfo(self, *, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, cursor: Optional[str] = None, limit: Optional[int] = None, team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_conversations_ekm_listOriginalConnectedChannelInfo(self,
*,
channel_ids: str | Sequence[str] | None = None,
cursor: str | None = None,
limit: int | None = None,
team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

List all disconnected channels—i.e., @@ -5838,21 +5838,21 @@

Methods

https://api.slack.com/methods/admin.conversations.getCustomRetention

-def admin_conversations_getTeams(self, *, channel_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_conversations_getTeams(self,
*,
channel_id: str,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Set the workspaces in an Enterprise grid org that connect to a channel. https://api.slack.com/methods/admin.conversations.getTeams

-def admin_conversations_invite(self, *, channel_id: str, user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_conversations_invite(self, *, channel_id: str, user_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Invite a user to a public or private channel. https://api.slack.com/methods/admin.conversations.invite

-def admin_conversations_lookup(self, *, last_message_activity_before: int, team_ids: Union[str, Sequence[str]], cursor: Optional[str] = None, limit: Optional[int] = None, max_member_count: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_conversations_lookup(self,
*,
last_message_activity_before: int,
team_ids: str | Sequence[str],
cursor: str | None = None,
limit: int | None = None,
max_member_count: int | None = None,
**kwargs) ‑> SlackResponse

Returns channels on the given team using the filters. @@ -5873,14 +5873,14 @@

Methods

https://api.slack.com/methods/admin.conversations.rename

-def admin_conversations_restrictAccess_addGroup(self, *, channel_id: str, group_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_conversations_restrictAccess_addGroup(self, *, channel_id: str, group_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

Add an allowlist of IDP groups for accessing a channel. https://api.slack.com/methods/admin.conversations.restrictAccess.addGroup

-def admin_conversations_restrictAccess_listGroups(self, *, channel_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_conversations_restrictAccess_listGroups(self, *, channel_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

List all IDP Groups linked to a channel. @@ -5894,14 +5894,14 @@

Methods

https://api.slack.com/methods/admin.conversations.restrictAccess.removeGroup

Search for public or private channels in an Enterprise organization. https://api.slack.com/methods/admin.conversations.search

-def admin_conversations_setConversationPrefs(self, *, channel_id: str, prefs: Union[str, Dict[str, str]], **kwargs) ‑> SlackResponse +def admin_conversations_setConversationPrefs(self, *, channel_id: str, prefs: str | Dict[str, str], **kwargs) ‑> SlackResponse

Set the posting permissions for a public or private channel. @@ -5915,7 +5915,7 @@

Methods

https://api.slack.com/methods/admin.conversations.setCustomRetention

-def admin_conversations_setTeams(self, *, channel_id: str, org_channel: Optional[bool] = None, target_team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_conversations_setTeams(self,
*,
channel_id: str,
org_channel: bool | None = None,
target_team_ids: str | Sequence[str] | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Set the workspaces in an Enterprise grid org that connect to a public or private channel. @@ -5943,7 +5943,7 @@

Methods

https://api.slack.com/methods/admin.emoji.addAlias

-def admin_emoji_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_emoji_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

List emoji for an Enterprise Grid organization. @@ -5964,14 +5964,14 @@

Methods

https://api.slack.com/methods/admin.emoji.rename

-def admin_functions_list(self, *, app_ids: Union[str, Sequence[str]], team_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_functions_list(self,
*,
app_ids: str | Sequence[str],
team_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Look up functions by a set of apps https://api.slack.com/methods/admin.functions.list

-def admin_functions_permissions_lookup(self, *, function_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_functions_permissions_lookup(self, *, function_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Lookup the visibility of multiple Slack functions @@ -5979,7 +5979,7 @@

Methods

https://api.slack.com/methods/admin.functions.permissions.lookup

-def admin_functions_permissions_set(self, *, function_id: str, visibility: str, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_functions_permissions_set(self,
*,
function_id: str,
visibility: str,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Set the visibility of a Slack function @@ -5987,28 +5987,28 @@

Methods

https://api.slack.com/methods/admin.functions.permissions.set

-def admin_inviteRequests_approve(self, *, invite_request_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_inviteRequests_approve(self, *, invite_request_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse
-def admin_inviteRequests_approved_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_inviteRequests_approved_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List all approved workspace invite requests. https://api.slack.com/methods/admin.inviteRequests.approved.list

-def admin_inviteRequests_denied_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_inviteRequests_denied_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List all denied workspace invite requests. https://api.slack.com/methods/admin.inviteRequests.denied.list

-def admin_inviteRequests_deny(self, *, invite_request_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_inviteRequests_deny(self, *, invite_request_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

Deny a workspace invite request. @@ -6021,14 +6021,14 @@

Methods

List all pending workspace invite requests.

-def admin_roles_addAssignments(self, *, role_id: str, entity_ids: Union[str, Sequence[str]], user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_roles_addAssignments(self,
*,
role_id: str,
entity_ids: str | Sequence[str],
user_ids: str | Sequence[str],
**kwargs) ‑> SlackResponse

Adds members to the specified role with the specified scopes https://api.slack.com/methods/admin.roles.addAssignments

-def admin_roles_listAssignments(self, *, role_ids: Union[str, Sequence[str], ForwardRef(None)] = None, entity_ids: Union[str, Sequence[str], ForwardRef(None)] = None, cursor: Optional[str] = None, limit: Union[str, int, ForwardRef(None)] = None, sort_dir: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_roles_listAssignments(self,
*,
role_ids: str | Sequence[str] | None = None,
entity_ids: str | Sequence[str] | None = None,
cursor: str | None = None,
limit: str | int | None = None,
sort_dir: str | None = None,
**kwargs) ‑> SlackResponse

Lists assignments for all roles across entities. @@ -6036,35 +6036,35 @@

Methods

https://api.slack.com/methods/admin.roles.listAssignments

-def admin_roles_removeAssignments(self, *, role_id: str, entity_ids: Union[str, Sequence[str]], user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_roles_removeAssignments(self,
*,
role_id: str,
entity_ids: str | Sequence[str],
user_ids: str | Sequence[str],
**kwargs) ‑> SlackResponse

Removes a set of users from a role for the given scopes and entities https://api.slack.com/methods/admin.roles.removeAssignments

-def admin_teams_admins_list(self, *, team_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_teams_admins_list(self, *, team_id: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

List all of the admins on a given workspace. https://api.slack.com/methods/admin.inviteRequests.list

-def admin_teams_create(self, *, team_domain: str, team_name: str, team_description: Optional[str] = None, team_discoverability: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_teams_create(self,
*,
team_domain: str,
team_name: str,
team_description: str | None = None,
team_discoverability: str | None = None,
**kwargs) ‑> SlackResponse
-def admin_teams_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_teams_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

List all teams on an Enterprise organization. https://api.slack.com/methods/admin.teams.list

-def admin_teams_owners_list(self, *, team_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_teams_owners_list(self, *, team_id: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

List all of the admins on a given workspace. @@ -6078,7 +6078,7 @@

Methods

https://api.slack.com/methods/admin.teams.settings.info

-def admin_teams_settings_setDefaultChannels(self, *, team_id: str, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_teams_settings_setDefaultChannels(self, *, team_id: str, channel_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Set the default channels of a workspace. @@ -6113,49 +6113,49 @@

Methods

https://api.slack.com/methods/admin.teams.settings.setName

-def admin_usergroups_addChannels(self, *, channel_ids: Union[str, Sequence[str]], usergroup_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_usergroups_addChannels(self,
*,
channel_ids: str | Sequence[str],
usergroup_id: str,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.addChannels

-def admin_usergroups_addTeams(self, *, usergroup_id: str, team_ids: Union[str, Sequence[str]], auto_provision: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_usergroups_addTeams(self,
*,
usergroup_id: str,
team_ids: str | Sequence[str],
auto_provision: bool | None = None,
**kwargs) ‑> SlackResponse

Associate one or more default workspaces with an organization-wide IDP group. https://api.slack.com/methods/admin.usergroups.addTeams

-def admin_usergroups_listChannels(self, *, usergroup_id: str, include_num_members: Optional[bool] = None, team_id: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_usergroups_listChannels(self,
*,
usergroup_id: str,
include_num_members: bool | None = None,
team_id: bool | None = None,
**kwargs) ‑> SlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.listChannels

-def admin_usergroups_removeChannels(self, *, usergroup_id: str, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_usergroups_removeChannels(self, *, usergroup_id: str, channel_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.removeChannels

-def admin_users_assign(self, *, team_id: str, user_id: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, is_restricted: Optional[bool] = None, is_ultra_restricted: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_users_assign(self,
*,
team_id: str,
user_id: str,
channel_ids: str | Sequence[str] | None = None,
is_restricted: bool | None = None,
is_ultra_restricted: bool | None = None,
**kwargs) ‑> SlackResponse

Add an Enterprise user to a workspace. https://api.slack.com/methods/admin.users.assign

-def admin_users_invite(self, *, team_id: str, email: str, channel_ids: Union[str, Sequence[str]], custom_message: Optional[str] = None, email_password_policy_enabled: Optional[bool] = None, guest_expiration_ts: Union[str, float, ForwardRef(None)] = None, is_restricted: Optional[bool] = None, is_ultra_restricted: Optional[bool] = None, real_name: Optional[str] = None, resend: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_users_invite(self,
*,
team_id: str,
email: str,
channel_ids: str | Sequence[str],
custom_message: str | None = None,
email_password_policy_enabled: bool | None = None,
guest_expiration_ts: str | float | None = None,
is_restricted: bool | None = None,
is_ultra_restricted: bool | None = None,
real_name: str | None = None,
resend: bool | None = None,
**kwargs) ‑> SlackResponse
-def admin_users_list(self, *, team_id: str, include_deactivated_user_workspaces: Optional[bool] = None, is_active: Optional[bool] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_users_list(self,
*,
team_id: str,
include_deactivated_user_workspaces: bool | None = None,
is_active: bool | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

List users on a workspace @@ -6169,7 +6169,7 @@

Methods

https://api.slack.com/methods/admin.users.remove

-def admin_users_session_clearSettings(self, *, user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_users_session_clearSettings(self, *, user_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Clear user-specific session settings—the session duration @@ -6177,7 +6177,7 @@

Methods

https://api.slack.com/methods/admin.users.session.clearSettings

-def admin_users_session_getSettings(self, *, user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_users_session_getSettings(self, *, user_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Get user-specific session settings—the session duration @@ -6192,28 +6192,28 @@

Methods

https://api.slack.com/methods/admin.users.session.invalidate

-def admin_users_session_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, user_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_users_session_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
user_id: str | None = None,
**kwargs) ‑> SlackResponse

Lists all active user sessions for an organization https://api.slack.com/methods/admin.users.session.list

-def admin_users_session_reset(self, *, user_id: str, mobile_only: Optional[bool] = None, web_only: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_users_session_reset(self,
*,
user_id: str,
mobile_only: bool | None = None,
web_only: bool | None = None,
**kwargs) ‑> SlackResponse

Wipes all valid sessions on all devices for a given user. https://api.slack.com/methods/admin.users.session.reset

-def admin_users_session_resetBulk(self, *, user_ids: Union[str, Sequence[str]], mobile_only: Optional[bool] = None, web_only: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_users_session_resetBulk(self,
*,
user_ids: str | Sequence[str],
mobile_only: bool | None = None,
web_only: bool | None = None,
**kwargs) ‑> SlackResponse

Enqueues an asynchronous job to wipe all valid sessions on all devices for a given list of users https://api.slack.com/methods/admin.users.session.resetBulk

-def admin_users_session_setSettings(self, *, user_ids: Union[str, Sequence[str]], desktop_app_browser_quit: Optional[bool] = None, duration: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_users_session_setSettings(self,
*,
user_ids: str | Sequence[str],
desktop_app_browser_quit: bool | None = None,
duration: int | None = None,
**kwargs) ‑> SlackResponse

Configure the user-level session settings—the session duration @@ -6228,7 +6228,7 @@

Methods

https://api.slack.com/methods/admin.users.setAdmin

-def admin_users_setExpiration(self, *, expiration_ts: int, user_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_users_setExpiration(self, *, expiration_ts: int, user_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

Set an expiration for a guest user. @@ -6249,7 +6249,7 @@

Methods

https://api.slack.com/methods/admin.users.setRegular

-def admin_users_unsupportedVersions_export(self, *, date_end_of_support: Union[str, int, ForwardRef(None)] = None, date_sessions_started: Union[str, int, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_users_unsupportedVersions_export(self,
*,
date_end_of_support: str | int | None = None,
date_sessions_started: str | int | None = None,
**kwargs) ‑> SlackResponse

Ask Slackbot to send you an export listing all workspace members using unsupported software, @@ -6257,42 +6257,42 @@

Methods

https://api.slack.com/methods/admin.users.unsupportedVersions.export

-def admin_workflows_collaborators_add(self, *, collaborator_ids: Union[str, Sequence[str]], workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_workflows_collaborators_add(self,
*,
collaborator_ids: str | Sequence[str],
workflow_ids: str | Sequence[str],
**kwargs) ‑> SlackResponse

Add collaborators to workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.collaborators.add

-def admin_workflows_collaborators_remove(self, *, collaborator_ids: Union[str, Sequence[str]], workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_workflows_collaborators_remove(self,
*,
collaborator_ids: str | Sequence[str],
workflow_ids: str | Sequence[str],
**kwargs) ‑> SlackResponse

Remove collaborators from workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.collaborators.remove

-def admin_workflows_permissions_lookup(self, *, workflow_ids: Union[str, Sequence[str]], max_workflow_triggers: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_workflows_permissions_lookup(self,
*,
workflow_ids: str | Sequence[str],
max_workflow_triggers: int | None = None,
**kwargs) ‑> SlackResponse

Look up the permissions for a set of workflows https://api.slack.com/methods/admin.workflows.permissions.lookup

Search workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.search

-def admin_workflows_unpublish(self, *, workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_workflows_unpublish(self, *, workflow_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Unpublish workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.unpublish

-def api_test(self, *, error: Optional[str] = None, **kwargs) ‑> SlackResponse +def api_test(self, *, error: str | None = None, **kwargs) ‑> SlackResponse

Checks API calling code. @@ -6307,7 +6307,7 @@

Methods

https://api.slack.com/methods/apps.connections.open

-def apps_event_authorizations_list(self, *, event_context: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def apps_event_authorizations_list(self,
*,
event_context: str,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Get a list of authorizations for the given event context. @@ -6315,7 +6315,7 @@

Methods

https://api.slack.com/methods/apps.event.authorizations.list

-def apps_manifest_create(self, *, manifest: Union[str, Dict[str, Any]], **kwargs) ‑> SlackResponse +def apps_manifest_create(self, *, manifest: str | Dict[str, Any], **kwargs) ‑> SlackResponse

Create an app from an app manifest @@ -6336,14 +6336,14 @@

Methods

https://api.slack.com/methods/apps.manifest.export

-def apps_manifest_update(self, *, app_id: str, manifest: Union[str, Dict[str, Any]], **kwargs) ‑> SlackResponse +def apps_manifest_update(self, *, app_id: str, manifest: str | Dict[str, Any], **kwargs) ‑> SlackResponse

Update an app from an app manifest https://api.slack.com/methods/apps.manifest.update

-def apps_manifest_validate(self, *, manifest: Union[str, Dict[str, Any]], app_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def apps_manifest_validate(self, *, manifest: str | Dict[str, Any], app_id: str | None = None, **kwargs) ‑> SlackResponse

Validate an app manifest @@ -6364,7 +6364,7 @@

Methods

https://api.slack.com/methods/assistant.threads.setStatus

-def assistant_threads_setSuggestedPrompts(self, *, channel_id: str, thread_ts: str, title: Optional[str] = None, prompts: List[Dict[str, str]], **kwargs) ‑> SlackResponse +def assistant_threads_setSuggestedPrompts(self,
*,
channel_id: str,
thread_ts: str,
title: str | None = None,
prompts: List[Dict[str, str]],
**kwargs) ‑> SlackResponse

Revokes a token. @@ -6378,14 +6378,14 @@

Methods

https://api.slack.com/methods/assistant.threads.setTitle

-def auth_revoke(self, *, test: Optional[bool] = None, **kwargs) ‑> SlackResponse +def auth_revoke(self, *, test: bool | None = None, **kwargs) ‑> SlackResponse
-def auth_teams_list(self, cursor: Optional[str] = None, limit: Optional[int] = None, include_icon: Optional[bool] = None, **kwargs) ‑> SlackResponse +def auth_teams_list(self,
cursor: str | None = None,
limit: int | None = None,
include_icon: bool | None = None,
**kwargs) ‑> SlackResponse

List the workspaces a token can access. @@ -6399,14 +6399,14 @@

Methods

https://api.slack.com/methods/auth.test

-def bookmarks_add(self, *, channel_id: str, title: str, type: str, emoji: Optional[str] = None, entity_id: Optional[str] = None, link: Optional[str] = None, parent_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def bookmarks_add(self,
*,
channel_id: str,
title: str,
type: str,
emoji: str | None = None,
entity_id: str | None = None,
link: str | None = None,
parent_id: str | None = None,
**kwargs) ‑> SlackResponse
-def bookmarks_edit(self, *, bookmark_id: str, channel_id: str, emoji: Optional[str] = None, link: Optional[str] = None, title: Optional[str] = None, **kwargs) ‑> SlackResponse +def bookmarks_edit(self,
*,
bookmark_id: str,
channel_id: str,
emoji: str | None = None,
link: str | None = None,
title: str | None = None,
**kwargs) ‑> SlackResponse

Edit bookmark. @@ -6427,21 +6427,21 @@

Methods

https://api.slack.com/methods/bookmarks.remove

-def bots_info(self, *, bot: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def bots_info(self, *, bot: str | None = None, team_id: str | None = None, **kwargs) ‑> SlackResponse

Gets information about a bot user. https://api.slack.com/methods/bots.info

-def calls_add(self, *, external_unique_id: str, join_url: str, created_by: Optional[str] = None, date_start: Optional[int] = None, desktop_app_join_url: Optional[str] = None, external_display_id: Optional[str] = None, title: Optional[str] = None, users: Union[str, Sequence[Dict[str, str]], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def calls_add(self,
*,
external_unique_id: str,
join_url: str,
created_by: str | None = None,
date_start: int | None = None,
desktop_app_join_url: str | None = None,
external_display_id: str | None = None,
title: str | None = None,
users: str | Sequence[Dict[str, str]] | None = None,
**kwargs) ‑> SlackResponse
-def calls_end(self, *, id: str, duration: Optional[int] = None, **kwargs) ‑> SlackResponse +def calls_end(self, *, id: str, duration: int | None = None, **kwargs) ‑> SlackResponse

Ends a Call. @@ -6455,42 +6455,42 @@

Methods

https://api.slack.com/methods/calls.info

-def calls_participants_add(self, *, id: str, users: Union[str, Sequence[Dict[str, str]]], **kwargs) ‑> SlackResponse +def calls_participants_add(self, *, id: str, users: str | Sequence[Dict[str, str]], **kwargs) ‑> SlackResponse

Registers new participants added to a Call. https://api.slack.com/methods/calls.participants.add

-def calls_participants_remove(self, *, id: str, users: Union[str, Sequence[Dict[str, str]]], **kwargs) ‑> SlackResponse +def calls_participants_remove(self, *, id: str, users: str | Sequence[Dict[str, str]], **kwargs) ‑> SlackResponse

Registers participants removed from a Call. https://api.slack.com/methods/calls.participants.remove

-def calls_update(self, *, id: str, desktop_app_join_url: Optional[str] = None, join_url: Optional[str] = None, title: Optional[str] = None, **kwargs) ‑> SlackResponse +def calls_update(self,
*,
id: str,
desktop_app_join_url: str | None = None,
join_url: str | None = None,
title: str | None = None,
**kwargs) ‑> SlackResponse

Updates information about a Call. https://api.slack.com/methods/calls.update

-def canvases_access_delete(self, *, canvas_id: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def canvases_access_delete(self,
*,
canvas_id: str,
channel_ids: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Create a Channel Canvas for a channel https://api.slack.com/methods/canvases.access.delete

-def canvases_access_set(self, *, canvas_id: str, access_level: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def canvases_access_set(self,
*,
canvas_id: str,
access_level: str,
channel_ids: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Sets the access level to a canvas for specified entities https://api.slack.com/methods/canvases.access.set

-def canvases_create(self, *, title: Optional[str] = None, document_content: Dict[str, str], **kwargs) ‑> SlackResponse +def canvases_create(self, *, title: str | None = None, document_content: Dict[str, str], **kwargs) ‑> SlackResponse

Create Canvas for a user @@ -6608,14 +6608,14 @@

Methods

Unarchives a channel.

-def chat_delete(self, *, channel: str, ts: str, as_user: Optional[bool] = None, **kwargs) ‑> SlackResponse +def chat_delete(self, *, channel: str, ts: str, as_user: bool | None = None, **kwargs) ‑> SlackResponse
-def chat_deleteScheduledMessage(self, *, channel: str, scheduled_message_id: str, as_user: Optional[bool] = None, **kwargs) ‑> SlackResponse +def chat_deleteScheduledMessage(self,
*,
channel: str,
scheduled_message_id: str,
as_user: bool | None = None,
**kwargs) ‑> SlackResponse

Deletes a scheduled message. @@ -6636,56 +6636,56 @@

Methods

https://api.slack.com/methods/chat.meMessage

-def chat_postEphemeral(self, *, channel: str, user: str, text: Optional[str] = None, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, icon_emoji: Optional[str] = None, icon_url: Optional[str] = None, link_names: Optional[bool] = None, username: Optional[str] = None, parse: Optional[str] = None, **kwargs) ‑> SlackResponse +def chat_postEphemeral(self,
*,
channel: str,
user: str,
text: str | None = None,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
icon_emoji: str | None = None,
icon_url: str | None = None,
link_names: bool | None = None,
username: str | None = None,
parse: str | None = None,
**kwargs) ‑> SlackResponse

Sends an ephemeral message to a user in a channel. https://api.slack.com/methods/chat.postEphemeral

-def chat_postMessage(self, *, channel: str, text: Optional[str] = None, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, reply_broadcast: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, container_id: Optional[str] = None, icon_emoji: Optional[str] = None, icon_url: Optional[str] = None, mrkdwn: Optional[bool] = None, link_names: Optional[bool] = None, username: Optional[str] = None, parse: Optional[str] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def chat_postMessage(self,
*,
channel: str,
text: str | None = None,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
reply_broadcast: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
container_id: str | None = None,
icon_emoji: str | None = None,
icon_url: str | None = None,
mrkdwn: bool | None = None,
link_names: bool | None = None,
username: str | None = None,
parse: str | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> SlackResponse
-def chat_scheduleMessage(self, *, channel: str, post_at: Union[str, int], text: str, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, parse: Optional[str] = None, reply_broadcast: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, link_names: Optional[bool] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def chat_scheduleMessage(self,
*,
channel: str,
post_at: str | int,
text: str,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
parse: str | None = None,
reply_broadcast: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
link_names: bool | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> SlackResponse
-def chat_scheduledMessages_list(self, *, channel: Optional[str] = None, cursor: Optional[str] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def chat_scheduledMessages_list(self,
*,
channel: str | None = None,
cursor: str | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def chat_unfurl(self, *, channel: Optional[str] = None, ts: Optional[str] = None, source: Optional[str] = None, unfurl_id: Optional[str] = None, unfurls: Optional[Dict[str, Dict]] = None, user_auth_blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, user_auth_message: Optional[str] = None, user_auth_required: Optional[bool] = None, user_auth_url: Optional[str] = None, **kwargs) ‑> SlackResponse +def chat_unfurl(self,
*,
channel: str | None = None,
ts: str | None = None,
source: str | None = None,
unfurl_id: str | None = None,
unfurls: Dict[str, Dict] | None = None,
user_auth_blocks: str | Sequence[Dict | Block] | None = None,
user_auth_message: str | None = None,
user_auth_required: bool | None = None,
user_auth_url: str | None = None,
**kwargs) ‑> SlackResponse

Provide custom unfurl behavior for user-posted URLs. https://api.slack.com/methods/chat.unfurl

-def chat_update(self, *, channel: str, ts: str, text: Optional[str] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, as_user: Optional[bool] = None, file_ids: Union[str, Sequence[str], ForwardRef(None)] = None, link_names: Optional[bool] = None, parse: Optional[str] = None, reply_broadcast: Optional[bool] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def chat_update(self,
*,
channel: str,
ts: str,
text: str | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
as_user: bool | None = None,
file_ids: str | Sequence[str] | None = None,
link_names: bool | None = None,
parse: str | None = None,
reply_broadcast: bool | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> SlackResponse

Updates a message in a channel. https://api.slack.com/methods/chat.update

-def conversations_acceptSharedInvite(self, *, channel_name: str, channel_id: Optional[str] = None, invite_id: Optional[str] = None, free_trial_accepted: Optional[bool] = None, is_private: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_acceptSharedInvite(self,
*,
channel_name: str,
channel_id: str | None = None,
invite_id: str | None = None,
free_trial_accepted: bool | None = None,
is_private: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Accepts an invitation to a Slack Connect channel. https://api.slack.com/methods/conversations.acceptSharedInvite

-def conversations_approveSharedInvite(self, *, invite_id: str, target_team: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_approveSharedInvite(self, *, invite_id: str, target_team: str | None = None, **kwargs) ‑> SlackResponse

Approves an invitation to a Slack Connect channel. @@ -6713,14 +6713,14 @@

Methods

https://api.slack.com/methods/conversations.close

-def conversations_create(self, *, name: str, is_private: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_create(self,
*,
name: str,
is_private: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Initiates a public or private channel-based conversation https://api.slack.com/methods/conversations.create

-def conversations_declineSharedInvite(self, *, invite_id: str, target_team: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_declineSharedInvite(self, *, invite_id: str, target_team: str | None = None, **kwargs) ‑> SlackResponse

Declines a Slack Connect channel invite. @@ -6734,28 +6734,28 @@

Methods

https://api.slack.com/methods/conversations.externalInvitePermissions.set

-def conversations_history(self, *, channel: str, cursor: Optional[str] = None, inclusive: Optional[bool] = None, include_all_metadata: Optional[bool] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_history(self,
*,
channel: str,
cursor: str | None = None,
inclusive: bool | None = None,
include_all_metadata: bool | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
**kwargs) ‑> SlackResponse

Fetches a conversation's history of messages and events. https://api.slack.com/methods/conversations.history

-def conversations_info(self, *, channel: str, include_locale: Optional[bool] = None, include_num_members: Optional[bool] = None, **kwargs) ‑> SlackResponse +def conversations_info(self,
*,
channel: str,
include_locale: bool | None = None,
include_num_members: bool | None = None,
**kwargs) ‑> SlackResponse

Retrieve information about a conversation. https://api.slack.com/methods/conversations.info

-def conversations_invite(self, *, channel: str, users: Union[str, Sequence[str]], force: Optional[bool] = None, **kwargs) ‑> SlackResponse +def conversations_invite(self,
*,
channel: str,
users: str | Sequence[str],
force: bool | None = None,
**kwargs) ‑> SlackResponse
-def conversations_inviteShared(self, *, channel: str, emails: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def conversations_inviteShared(self,
*,
channel: str,
emails: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Sends an invitation to a Slack Connect channel. @@ -6783,14 +6783,14 @@

Methods

https://api.slack.com/methods/conversations.leave

-def conversations_list(self, *, cursor: Optional[str] = None, exclude_archived: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def conversations_list(self,
*,
cursor: str | None = None,
exclude_archived: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
types: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Lists all channels in a Slack team. https://api.slack.com/methods/conversations.list

-def conversations_listConnectInvites(self, *, count: Optional[int] = None, cursor: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_listConnectInvites(self,
*,
count: int | None = None,
cursor: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List shared channel invites that have been generated @@ -6805,14 +6805,14 @@

Methods

https://api.slack.com/methods/conversations.mark

-def conversations_members(self, *, channel: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def conversations_members(self, *, channel: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

Retrieve members of a conversation. https://api.slack.com/methods/conversations.members

-def conversations_open(self, *, channel: Optional[str] = None, return_im: Optional[bool] = None, users: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def conversations_open(self,
*,
channel: str | None = None,
return_im: bool | None = None,
users: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Opens or resumes a direct message or multi-person direct message. @@ -6826,28 +6826,28 @@

Methods

https://api.slack.com/methods/conversations.rename

-def conversations_replies(self, *, channel: str, ts: str, cursor: Optional[str] = None, inclusive: Optional[bool] = None, include_all_metadata: Optional[bool] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_replies(self,
*,
channel: str,
ts: str,
cursor: str | None = None,
inclusive: bool | None = None,
include_all_metadata: bool | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
**kwargs) ‑> SlackResponse

Retrieve a thread of messages posted to a conversation https://api.slack.com/methods/conversations.replies

-def conversations_requestSharedInvite_approve(self, *, invite_id: str, channel_id: Optional[str] = None, is_external_limited: Optional[str] = None, message: Optional[Dict[str, Any]] = None, **kwargs) ‑> SlackResponse +def conversations_requestSharedInvite_approve(self,
*,
invite_id: str,
channel_id: str | None = None,
is_external_limited: str | None = None,
message: Dict[str, Any] | None = None,
**kwargs) ‑> SlackResponse

Approve a request to add an external user to a channel. This also sends them a Slack Connect invite. https://api.slack.com/methods/conversations.requestSharedInvite.approve

-def conversations_requestSharedInvite_deny(self, *, invite_id: str, message: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_requestSharedInvite_deny(self, *, invite_id: str, message: str | None = None, **kwargs) ‑> SlackResponse

Deny a request to invite an external user to a channel. https://api.slack.com/methods/conversations.requestSharedInvite.deny

-def conversations_requestSharedInvite_list(self, *, cursor: Optional[str] = None, include_approved: Optional[bool] = None, include_denied: Optional[bool] = None, include_expired: Optional[bool] = None, invite_ids: Union[str, Sequence[str], ForwardRef(None)] = None, limit: Optional[int] = None, user_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_requestSharedInvite_list(self,
*,
cursor: str | None = None,
include_approved: bool | None = None,
include_denied: bool | None = None,
include_expired: bool | None = None,
invite_ids: str | Sequence[str] | None = None,
limit: int | None = None,
user_id: str | None = None,
**kwargs) ‑> SlackResponse

Lists requests to add external users to channels with ability to filter. @@ -6896,28 +6896,28 @@

Methods

https://api.slack.com/methods/dnd.endSnooze

-def dnd_info(self, *, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def dnd_info(self, *, team_id: str | None = None, user: str | None = None, **kwargs) ‑> SlackResponse

Retrieves a user's current Do Not Disturb status. https://api.slack.com/methods/dnd.info

-def dnd_setSnooze(self, *, num_minutes: Union[str, int], **kwargs) ‑> SlackResponse +def dnd_setSnooze(self, *, num_minutes: str | int, **kwargs) ‑> SlackResponse

Turns on Do Not Disturb mode for the current user, or changes its duration. https://api.slack.com/methods/dnd.setSnooze

-def dnd_teamInfo(self, users: Union[str, Sequence[str]], team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def dnd_teamInfo(self, users: str | Sequence[str], team_id: str | None = None, **kwargs) ‑> SlackResponse

Retrieves the Do Not Disturb status for users on a team. https://api.slack.com/methods/dnd.teamInfo

-def emoji_list(self, include_categories: Optional[bool] = None, **kwargs) ‑> SlackResponse +def emoji_list(self, include_categories: bool | None = None, **kwargs) ‑> SlackResponse

Lists custom emoji for a team. @@ -6931,7 +6931,7 @@

Methods

https://api.slack.com/methods/files.comments.delete

-def files_completeUploadExternal(self, *, files: List[Dict[str, str]], channel_id: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_completeUploadExternal(self,
*,
files: List[Dict[str, str]],
channel_id: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
**kwargs) ‑> SlackResponse

Finishes an upload started with files.getUploadURLExternal. @@ -6945,63 +6945,63 @@

Methods

https://api.slack.com/methods/files.delete

-def files_getUploadURLExternal(self, *, filename: str, length: int, alt_txt: Optional[str] = None, snippet_type: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_getUploadURLExternal(self,
*,
filename: str,
length: int,
alt_txt: str | None = None,
snippet_type: str | None = None,
**kwargs) ‑> SlackResponse

Gets a URL for an edge external upload. https://api.slack.com/methods/files.getUploadURLExternal

-def files_info(self, *, file: str, count: Optional[int] = None, cursor: Optional[str] = None, limit: Optional[int] = None, page: Optional[int] = None, **kwargs) ‑> SlackResponse +def files_info(self,
*,
file: str,
count: int | None = None,
cursor: str | None = None,
limit: int | None = None,
page: int | None = None,
**kwargs) ‑> SlackResponse

Gets information about a team file. https://api.slack.com/methods/files.info

-def files_list(self, *, channel: Optional[str] = None, count: Optional[int] = None, page: Optional[int] = None, show_files_hidden_by_limit: Optional[bool] = None, team_id: Optional[str] = None, ts_from: Optional[str] = None, ts_to: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_list(self,
*,
channel: str | None = None,
count: int | None = None,
page: int | None = None,
show_files_hidden_by_limit: bool | None = None,
team_id: str | None = None,
ts_from: str | None = None,
ts_to: str | None = None,
types: str | Sequence[str] | None = None,
user: str | None = None,
**kwargs) ‑> SlackResponse

Lists & filters team files. https://api.slack.com/methods/files.list

-def files_remote_add(self, *, external_id: str, external_url: str, title: str, filetype: Optional[str] = None, indexable_file_contents: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, preview_image: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def files_remote_add(self,
*,
external_id: str,
external_url: str,
title: str,
filetype: str | None = None,
indexable_file_contents: str | bytes | io.IOBase | None = None,
preview_image: str | bytes | io.IOBase | None = None,
**kwargs) ‑> SlackResponse

Adds a file from a remote service. https://api.slack.com/methods/files.remote.add

-def files_remote_info(self, *, external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_info(self, *, external_id: str | None = None, file: str | None = None, **kwargs) ‑> SlackResponse

Retrieve information about a remote file added to Slack. https://api.slack.com/methods/files.remote.info

-def files_remote_list(self, *, channel: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, ts_from: Optional[str] = None, ts_to: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_list(self,
*,
channel: str | None = None,
cursor: str | None = None,
limit: int | None = None,
ts_from: str | None = None,
ts_to: str | None = None,
**kwargs) ‑> SlackResponse

Retrieve information about a remote file added to Slack. https://api.slack.com/methods/files.remote.list

-def files_remote_remove(self, *, external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_remove(self, *, external_id: str | None = None, file: str | None = None, **kwargs) ‑> SlackResponse
-def files_remote_share(self, *, channels: Union[str, Sequence[str]], external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_share(self,
*,
channels: str | Sequence[str],
external_id: str | None = None,
file: str | None = None,
**kwargs) ‑> SlackResponse

Share a remote file into a channel. https://api.slack.com/methods/files.remote.share

-def files_remote_update(self, *, external_id: Optional[str] = None, external_url: Optional[str] = None, file: Optional[str] = None, title: Optional[str] = None, filetype: Optional[str] = None, indexable_file_contents: Optional[str] = None, preview_image: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_update(self,
*,
external_id: str | None = None,
external_url: str | None = None,
file: str | None = None,
title: str | None = None,
filetype: str | None = None,
indexable_file_contents: str | None = None,
preview_image: str | None = None,
**kwargs) ‑> SlackResponse

Updates an existing remote file. @@ -7022,14 +7022,14 @@

Methods

https://api.slack.com/methods/files.sharedPublicURL

-def files_upload(self, *, file: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, content: Union[str, bytes, ForwardRef(None)] = None, filename: Optional[str] = None, filetype: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, title: Optional[str] = None, channels: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def files_upload(self,
*,
file: str | bytes | io.IOBase | None = None,
content: str | bytes | None = None,
filename: str | None = None,
filetype: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
title: str | None = None,
channels: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse
-def files_upload_v2(self, *, filename: Optional[str] = None, file: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, content: Union[str, bytes, ForwardRef(None)] = None, title: Optional[str] = None, alt_txt: Optional[str] = None, snippet_type: Optional[str] = None, file_uploads: Optional[List[Dict[str, Any]]] = None, channel: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, request_file_info: bool = True, **kwargs) ‑> SlackResponse +def files_upload_v2(self,
*,
filename: str | None = None,
file: str | bytes | io.IOBase | None = None,
content: str | bytes | None = None,
title: str | None = None,
alt_txt: str | None = None,
snippet_type: str | None = None,
file_uploads: List[Dict[str, Any]] | None = None,
channel: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
request_file_info: bool = True,
**kwargs) ‑> SlackResponse

This wrapper method provides an easy way to upload files using the following endpoints:

@@ -7193,7 +7193,7 @@

Methods

Retrieve a thread of messages posted to a direct message conversation

-def migration_exchange(self, *, users: Union[str, Sequence[str]], team_id: Optional[str] = None, to_old: Optional[bool] = None, **kwargs) ‑> SlackResponse +def migration_exchange(self,
*,
users: str | Sequence[str],
team_id: str | None = None,
to_old: bool | None = None,
**kwargs) ‑> SlackResponse

For Enterprise Grid workspaces, map local user IDs to global user IDs @@ -7224,7 +7224,7 @@

Methods

Sets the read cursor in a multiparty direct message channel.

-def mpim_open(self, *, users: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def mpim_open(self, *, users: str | Sequence[str], **kwargs) ‑> SlackResponse

This method opens a multiparty direct message.

@@ -7237,14 +7237,14 @@

Methods

multiparty direct message.

-def oauth_access(self, *, client_id: str, client_secret: str, code: str, redirect_uri: Optional[str] = None, **kwargs) ‑> SlackResponse +def oauth_access(self,
*,
client_id: str,
client_secret: str,
code: str,
redirect_uri: str | None = None,
**kwargs) ‑> SlackResponse

Exchanges a temporary OAuth verifier code for an access token. https://api.slack.com/methods/oauth.access

-def oauth_v2_access(self, *, client_id: str, client_secret: str, code: Optional[str] = None, redirect_uri: Optional[str] = None, grant_type: Optional[str] = None, refresh_token: Optional[str] = None, **kwargs) ‑> SlackResponse +def oauth_v2_access(self,
*,
client_id: str,
client_secret: str,
code: str | None = None,
redirect_uri: str | None = None,
grant_type: str | None = None,
refresh_token: str | None = None,
**kwargs) ‑> SlackResponse

Exchanges a temporary OAuth verifier code for an access token. @@ -7258,7 +7258,7 @@

Methods

https://api.slack.com/methods/oauth.v2.exchange

-def openid_connect_token(self, client_id: str, client_secret: str, code: Optional[str] = None, redirect_uri: Optional[str] = None, grant_type: Optional[str] = None, refresh_token: Optional[str] = None, **kwargs) ‑> SlackResponse +def openid_connect_token(self,
client_id: str,
client_secret: str,
code: str | None = None,
redirect_uri: str | None = None,
grant_type: str | None = None,
refresh_token: str | None = None,
**kwargs) ‑> SlackResponse

Exchanges a temporary OAuth verifier code for an access token for Sign in with Slack. @@ -7272,7 +7272,7 @@

Methods

https://api.slack.com/methods/openid.connect.userInfo

-def pins_add(self, *, channel: str, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def pins_add(self, *, channel: str, timestamp: str | None = None, **kwargs) ‑> SlackResponse

Pins an item to a channel. @@ -7286,7 +7286,7 @@

Methods

https://api.slack.com/methods/pins.list

-def pins_remove(self, *, channel: str, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def pins_remove(self, *, channel: str, timestamp: str | None = None, **kwargs) ‑> SlackResponse

Un-pins an item from a channel. @@ -7300,126 +7300,126 @@

Methods

https://api.slack.com/methods/reactions.add

-def reactions_get(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, full: Optional[bool] = None, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def reactions_get(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
full: bool | None = None,
timestamp: str | None = None,
**kwargs) ‑> SlackResponse
-def reactions_list(self, *, count: Optional[int] = None, cursor: Optional[str] = None, full: Optional[bool] = None, limit: Optional[int] = None, page: Optional[int] = None, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def reactions_list(self,
*,
count: int | None = None,
cursor: str | None = None,
full: bool | None = None,
limit: int | None = None,
page: int | None = None,
team_id: str | None = None,
user: str | None = None,
**kwargs) ‑> SlackResponse

Lists reactions made by a user. https://api.slack.com/methods/reactions.list

-def reactions_remove(self, *, name: str, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def reactions_remove(self,
*,
name: str,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> SlackResponse

Removes a reaction from an item. https://api.slack.com/methods/reactions.remove

-def reminders_add(self, *, text: str, time: str, team_id: Optional[str] = None, user: Optional[str] = None, recurrence: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_add(self,
*,
text: str,
time: str,
team_id: str | None = None,
user: str | None = None,
recurrence: str | None = None,
**kwargs) ‑> SlackResponse
-def reminders_complete(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_complete(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> SlackResponse
-def reminders_delete(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_delete(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> SlackResponse
-def reminders_info(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_info(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

Gets information about a reminder. https://api.slack.com/methods/reminders.info

-def reminders_list(self, *, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_list(self, *, team_id: str | None = None, **kwargs) ‑> SlackResponse

Lists all reminders created by or for a given user. https://api.slack.com/methods/reminders.list

-def rtm_connect(self, *, batch_presence_aware: Optional[bool] = None, presence_sub: Optional[bool] = None, **kwargs) ‑> SlackResponse +def rtm_connect(self,
*,
batch_presence_aware: bool | None = None,
presence_sub: bool | None = None,
**kwargs) ‑> SlackResponse

Starts a Real Time Messaging session. https://api.slack.com/methods/rtm.connect

-def rtm_start(self, *, batch_presence_aware: Optional[bool] = None, include_locale: Optional[bool] = None, mpim_aware: Optional[bool] = None, no_latest: Optional[bool] = None, no_unreads: Optional[bool] = None, presence_sub: Optional[bool] = None, simple_latest: Optional[bool] = None, **kwargs) ‑> SlackResponse +def rtm_start(self,
*,
batch_presence_aware: bool | None = None,
include_locale: bool | None = None,
mpim_aware: bool | None = None,
no_latest: bool | None = None,
no_unreads: bool | None = None,
presence_sub: bool | None = None,
simple_latest: bool | None = None,
**kwargs) ‑> SlackResponse

Starts a Real Time Messaging session. https://api.slack.com/methods/rtm.start

-def search_all(self, *, query: str, count: Optional[int] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def search_all(self,
*,
query: str,
count: int | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Searches for messages and files matching a query. https://api.slack.com/methods/search.all

-def search_files(self, *, query: str, count: Optional[int] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def search_files(self,
*,
query: str,
count: int | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Searches for files matching a query. https://api.slack.com/methods/search.files

-def search_messages(self, *, query: str, count: Optional[int] = None, cursor: Optional[str] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def search_messages(self,
*,
query: str,
count: int | None = None,
cursor: str | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Searches for messages matching a query. https://api.slack.com/methods/search.messages

-def stars_add(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def stars_add(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> SlackResponse
-def stars_list(self, *, count: Optional[int] = None, cursor: Optional[str] = None, limit: Optional[int] = None, page: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def stars_list(self,
*,
count: int | None = None,
cursor: str | None = None,
limit: int | None = None,
page: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def stars_remove(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def stars_remove(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> SlackResponse

Removes a star from an item. https://api.slack.com/methods/stars.remove

-def team_accessLogs(self, *, before: Union[str, int, ForwardRef(None)] = None, count: Union[str, int, ForwardRef(None)] = None, page: Union[str, int, ForwardRef(None)] = None, team_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def team_accessLogs(self,
*,
before: str | int | None = None,
count: str | int | None = None,
page: str | int | None = None,
team_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Gets the access logs for the current team. https://api.slack.com/methods/team.accessLogs

-def team_billableInfo(self, *, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def team_billableInfo(self, *, team_id: str | None = None, user: str | None = None, **kwargs) ‑> SlackResponse

Gets billable users information for the current team. @@ -7440,21 +7440,21 @@

Methods

https://api.slack.com/methods/team.externalTeams.disconnect

-def team_externalTeams_list(self, *, connection_status_filter: Optional[str] = None, slack_connect_pref_filter: Optional[Sequence[str]] = None, sort_direction: Optional[str] = None, sort_field: Optional[str] = None, workspace_filter: Optional[Sequence[str]] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def team_externalTeams_list(self,
*,
connection_status_filter: str | None = None,
slack_connect_pref_filter: Sequence[str] | None = None,
sort_direction: str | None = None,
sort_field: str | None = None,
workspace_filter: Sequence[str] | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Returns a list of all the external teams connected and details about the connection. https://api.slack.com/methods/team.externalTeams.list

-def team_info(self, *, team: Optional[str] = None, domain: Optional[str] = None, **kwargs) ‑> SlackResponse +def team_info(self, *, team: str | None = None, domain: str | None = None, **kwargs) ‑> SlackResponse

Gets information about the current team. https://api.slack.com/methods/team.info

-def team_integrationLogs(self, *, app_id: Optional[str] = None, change_type: Optional[str] = None, count: Union[str, int, ForwardRef(None)] = None, page: Union[str, int, ForwardRef(None)] = None, service_id: Optional[str] = None, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def team_integrationLogs(self,
*,
app_id: str | None = None,
change_type: str | None = None,
count: str | int | None = None,
page: str | int | None = None,
service_id: str | None = None,
team_id: str | None = None,
user: str | None = None,
**kwargs) ‑> SlackResponse

Gets the integration logs for the current team. @@ -7468,7 +7468,7 @@

Methods

https://api.slack.com/methods/team.preferences.list

-def team_profile_get(self, *, visibility: Optional[str] = None, **kwargs) ‑> SlackResponse +def team_profile_get(self, *, visibility: str | None = None, **kwargs) ‑> SlackResponse

Retrieve a team's profile. @@ -7482,56 +7482,56 @@

Methods

https://api.slack.com/methods/tooling.tokens.rotate

-def usergroups_create(self, *, name: str, channels: Union[str, Sequence[str], ForwardRef(None)] = None, description: Optional[str] = None, handle: Optional[str] = None, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_create(self,
*,
name: str,
channels: str | Sequence[str] | None = None,
description: str | None = None,
handle: str | None = None,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_disable(self, *, usergroup: str, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_disable(self,
*,
usergroup: str,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_enable(self, *, usergroup: str, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_enable(self,
*,
usergroup: str,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_list(self, *, include_count: Optional[bool] = None, include_disabled: Optional[bool] = None, include_users: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_list(self,
*,
include_count: bool | None = None,
include_disabled: bool | None = None,
include_users: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List all User Groups for a team https://api.slack.com/methods/usergroups.list

-def usergroups_update(self, *, usergroup: str, channels: Union[str, Sequence[str], ForwardRef(None)] = None, description: Optional[str] = None, handle: Optional[str] = None, include_count: Optional[bool] = None, name: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_update(self,
*,
usergroup: str,
channels: str | Sequence[str] | None = None,
description: str | None = None,
handle: str | None = None,
include_count: bool | None = None,
name: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_users_list(self, *, usergroup: str, include_disabled: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_users_list(self,
*,
usergroup: str,
include_disabled: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_users_update(self, *, usergroup: str, users: Union[str, Sequence[str]], include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_users_update(self,
*,
usergroup: str,
users: str | Sequence[str],
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Update the list of users for a User Group https://api.slack.com/methods/usergroups.users.update

-def users_conversations(self, *, cursor: Optional[str] = None, exclude_archived: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def users_conversations(self,
*,
cursor: str | None = None,
exclude_archived: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
types: str | Sequence[str] | None = None,
user: str | None = None,
**kwargs) ‑> SlackResponse

List conversations the calling user may access. @@ -7566,14 +7566,14 @@

Methods

https://api.slack.com/methods/users.identity

-def users_info(self, *, user: str, include_locale: Optional[bool] = None, **kwargs) ‑> SlackResponse +def users_info(self, *, user: str, include_locale: bool | None = None, **kwargs) ‑> SlackResponse

Gets information about a user. https://api.slack.com/methods/users.info

-def users_list(self, *, cursor: Optional[str] = None, include_locale: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def users_list(self,
*,
cursor: str | None = None,
include_locale: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Lists all users in a Slack team. @@ -7587,21 +7587,21 @@

Methods

https://api.slack.com/methods/users.lookupByEmail

-def users_profile_get(self, *, user: Optional[str] = None, include_labels: Optional[bool] = None, **kwargs) ‑> SlackResponse +def users_profile_get(self, *, user: str | None = None, include_labels: bool | None = None, **kwargs) ‑> SlackResponse

Retrieves a user's profile information. https://api.slack.com/methods/users.profile.get

-def users_profile_set(self, *, name: Optional[str] = None, value: Optional[str] = None, user: Optional[str] = None, profile: Optional[Dict] = None, **kwargs) ‑> SlackResponse +def users_profile_set(self,
*,
name: str | None = None,
value: str | None = None,
user: str | None = None,
profile: Dict | None = None,
**kwargs) ‑> SlackResponse

Set the profile information for a user. https://api.slack.com/methods/users.profile.set

-def users_setPhoto(self, *, image: Union[str, io.IOBase], crop_w: Union[str, int, ForwardRef(None)] = None, crop_x: Union[str, int, ForwardRef(None)] = None, crop_y: Union[str, int, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def users_setPhoto(self,
*,
image: str | io.IOBase,
crop_w: str | int | None = None,
crop_x: str | int | None = None,
crop_y: str | int | None = None,
**kwargs) ‑> SlackResponse

Set the user profile photo @@ -7615,7 +7615,7 @@

Methods

https://api.slack.com/methods/users.setPresence

-def views_open(self, *, trigger_id: Optional[str] = None, interactivity_pointer: Optional[str] = None, view: Union[dict, View], **kwargs) ‑> SlackResponse +def views_open(self,
*,
trigger_id: str | None = None,
interactivity_pointer: str | None = None,
view: dict | View,
**kwargs) ‑> SlackResponse

Open a view for a user. @@ -7623,7 +7623,7 @@

Methods

See https://api.slack.com/surfaces/modals for details.

-def views_publish(self, *, user_id: str, view: Union[dict, View], hash: Optional[str] = None, **kwargs) ‑> SlackResponse +def views_publish(self,
*,
user_id: str,
view: dict | View,
hash: str | None = None,
**kwargs) ‑> SlackResponse

Publish a static view for a User. @@ -7632,7 +7632,7 @@

Methods

https://api.slack.com/methods/views.publish

-def views_push(self, *, trigger_id: Optional[str] = None, interactivity_pointer: Optional[str] = None, view: Union[dict, View], **kwargs) ‑> SlackResponse +def views_push(self,
*,
trigger_id: str | None = None,
interactivity_pointer: str | None = None,
view: dict | View,
**kwargs) ‑> SlackResponse

Push a view onto the stack of a root view. @@ -7644,7 +7644,7 @@

Methods

https://api.slack.com/methods/views.push

-def views_update(self, *, view: Union[dict, View], external_id: Optional[str] = None, view_id: Optional[str] = None, hash: Optional[str] = None, **kwargs) ‑> SlackResponse +def views_update(self,
*,
view: dict | View,
external_id: str | None = None,
view_id: str | None = None,
hash: str | None = None,
**kwargs) ‑> SlackResponse

Update an existing view. @@ -7655,7 +7655,7 @@

Methods

https://api.slack.com/methods/views.update

-def workflows_stepCompleted(self, *, workflow_step_execute_id: str, outputs: Optional[dict] = None, **kwargs) ‑> SlackResponse +def workflows_stepCompleted(self, *, workflow_step_execute_id: str, outputs: dict | None = None, **kwargs) ‑> SlackResponse

Indicate a successful outcome of a workflow step's execution. @@ -7669,7 +7669,7 @@

Methods

https://api.slack.com/methods/workflows.stepFailed

-def workflows_updateStep(self, *, workflow_step_edit_id: str, inputs: Optional[Dict[str, Any]] = None, outputs: Optional[List[Dict[str, str]]] = None, **kwargs) ‑> SlackResponse +def workflows_updateStep(self,
*,
workflow_step_edit_id: str,
inputs: Dict[str, Any] | None = None,
outputs: List[Dict[str, str]] | None = None,
**kwargs) ‑> SlackResponse

Update the configuration for a workflow extension step. @@ -7694,7 +7694,7 @@

Inherited members

class WebhookClient -(url: str, timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, default_headers: Optional[Dict[str, str]] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[RetryHandler]] = None) +(url: str,
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
default_headers: Dict[str, str] | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[RetryHandler] | None = None)

API client for Incoming Webhooks and response_url

@@ -7988,7 +7988,7 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
@@ -7996,7 +7996,7 @@

Class variables

-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -8012,7 +8012,7 @@

Class variables

Methods

-def send(self, *, text: Optional[str] = None, attachments: Optional[Sequence[Union[Dict[str, Any], Attachment]]] = None, blocks: Optional[Sequence[Union[Dict[str, Any], Block]]] = None, response_type: Optional[str] = None, replace_original: Optional[bool] = None, delete_original: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, metadata: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> WebhookResponse +def send(self,
*,
text: str | None = None,
attachments: Sequence[Dict[str, Any] | Attachment] | None = None,
blocks: Sequence[Dict[str, Any] | Block] | None = None,
response_type: str | None = None,
replace_original: bool | None = None,
delete_original: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
metadata: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> WebhookResponse

Performs a Slack API request and returns the result.

@@ -8044,7 +8044,7 @@

Returns

Webhook response

-def send_dict(self, body: Dict[str, Any], headers: Optional[Dict[str, str]] = None) ‑> WebhookResponse +def send_dict(self, body: Dict[str, Any], headers: Dict[str, str] | None = None) ‑> WebhookResponse

Performs a Slack API request and returns the result.

@@ -8417,7 +8417,7 @@

Web diff --git a/docs/static/api-docs/slack_sdk/models/attachments/index.html b/docs/static/api-docs/slack_sdk/models/attachments/index.html index 52a4b835..465ab0f7 100644 --- a/docs/static/api-docs/slack_sdk/models/attachments/index.html +++ b/docs/static/api-docs/slack_sdk/models/attachments/index.html @@ -3,13 +3,13 @@ - + slack_sdk.models.attachments API documentation - + @@ -37,7 +37,7 @@

Classes

class AbstractActionSelector -(*, name: str, text: str, selected_option: Optional[Option] = None) +(*,
name: str,
text: str,
selected_option: Option | None = None)

Action in attachments @@ -137,7 +137,7 @@

Inherited members

class Action -(*, text: str, subtype: str, name: Optional[str] = None, url: Optional[str] = None) +(*, text: str, subtype: str, name: str | None = None, url: str | None = None)

Action in attachments @@ -211,7 +211,7 @@

Inherited members

class ActionButton -(*, name: str, text: str, value: str, confirm: Optional[ConfirmObject] = None, style: Optional[str] = None) +(*,
name: str,
text: str,
value: str,
confirm: ConfirmObject | None = None,
style: str | None = None)

Action in attachments @@ -358,7 +358,7 @@

Inherited members

class ActionChannelSelector -(name: str, text: str, selected_channel: Optional[Option] = None) +(name: str,
text: str,
selected_channel: Option | None = None)

Action in attachments @@ -437,7 +437,7 @@

Inherited members

class ActionConversationSelector -(name: str, text: str, selected_conversation: Optional[Option] = None) +(name: str,
text: str,
selected_conversation: Option | None = None)

Action in attachments @@ -516,7 +516,7 @@

Inherited members

class ActionExternalSelector -(*, name: str, text: str, selected_option: Optional[Option] = None, min_query_length: Optional[int] = None) +(*,
name: str,
text: str,
selected_option: Option | None = None,
min_query_length: int | None = None)

Action in attachments @@ -677,7 +677,7 @@

Inherited members

class ActionUserSelector -(name: str, text: str, selected_user: Optional[Option] = None) +(name: str,
text: str,
selected_user: Option | None = None)

Action in attachments @@ -753,7 +753,7 @@

Inherited members

class Attachment -(*, text: str, fallback: Optional[str] = None, fields: Optional[Sequence[AttachmentField]] = None, color: Optional[str] = None, markdown_in: Optional[Sequence[str]] = None, title: Optional[str] = None, title_link: Optional[str] = None, pretext: Optional[str] = None, author_name: Optional[str] = None, author_subname: Optional[str] = None, author_link: Optional[str] = None, author_icon: Optional[str] = None, image_url: Optional[str] = None, thumb_url: Optional[str] = None, footer: Optional[str] = None, footer_icon: Optional[str] = None, ts: Optional[int] = None) +(*,
text: str,
fallback: str | None = None,
fields: Sequence[AttachmentField] | None = None,
color: str | None = None,
markdown_in: Sequence[str] | None = None,
title: str | None = None,
title_link: str | None = None,
pretext: str | None = None,
author_name: str | None = None,
author_subname: str | None = None,
author_link: str | None = None,
author_icon: str | None = None,
image_url: str | None = None,
thumb_url: str | None = None,
footer: str | None = None,
footer_icon: str | None = None,
ts: int | None = None)

The base class for JSON serializable class objects

@@ -1083,7 +1083,7 @@

Inherited members

class AttachmentField -(*, title: Optional[str] = None, value: Optional[str] = None, short: bool = True) +(*, title: str | None = None, value: str | None = None, short: bool = True)

The base class for JSON serializable class objects

@@ -1124,7 +1124,7 @@

Inherited members

class BlockAttachment -(*, blocks: Sequence[Block], color: Optional[str] = None, fallback: Optional[str] = None) +(*,
blocks: Sequence[Block],
color: str | None = None,
fallback: str | None = None)

The base class for JSON serializable class objects

@@ -1238,7 +1238,7 @@

Inherited members

class InteractiveAttachment -(*, actions: Sequence[Action], callback_id: str, text: str, fallback: Optional[str] = None, fields: Optional[Sequence[AttachmentField]] = None, color: Optional[str] = None, markdown_in: Optional[Sequence[str]] = None, title: Optional[str] = None, title_link: Optional[str] = None, pretext: Optional[str] = None, author_name: Optional[str] = None, author_subname: Optional[str] = None, author_link: Optional[str] = None, author_icon: Optional[str] = None, image_url: Optional[str] = None, thumb_url: Optional[str] = None, footer: Optional[str] = None, footer_icon: Optional[str] = None, ts: Optional[int] = None) +(*,
actions: Sequence[Action],
callback_id: str,
text: str,
fallback: str | None = None,
fields: Sequence[AttachmentField] | None = None,
color: str | None = None,
markdown_in: Sequence[str] | None = None,
title: str | None = None,
title_link: str | None = None,
pretext: str | None = None,
author_name: str | None = None,
author_subname: str | None = None,
author_link: str | None = None,
author_icon: str | None = None,
image_url: str | None = None,
thumb_url: str | None = None,
footer: str | None = None,
footer_icon: str | None = None,
ts: int | None = None)

The base class for JSON serializable class objects

@@ -1615,7 +1615,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/models/basic_objects.html b/docs/static/api-docs/slack_sdk/models/basic_objects.html index b1b229aa..ce36316a 100644 --- a/docs/static/api-docs/slack_sdk/models/basic_objects.html +++ b/docs/static/api-docs/slack_sdk/models/basic_objects.html @@ -3,13 +3,13 @@ - + slack_sdk.models.basic_objects API documentation - + @@ -329,7 +329,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/models/blocks/basic_components.html b/docs/static/api-docs/slack_sdk/models/blocks/basic_components.html index 4b6f2f6c..64e19509 100644 --- a/docs/static/api-docs/slack_sdk/models/blocks/basic_components.html +++ b/docs/static/api-docs/slack_sdk/models/blocks/basic_components.html @@ -3,13 +3,13 @@ - + slack_sdk.models.blocks.basic_components API documentation - + @@ -37,7 +37,7 @@

Classes

class ConfirmObject -(*, title: Union[str, Dict[str, Any], PlainTextObject], text: Union[str, Dict[str, Any], TextObject], confirm: Union[str, Dict[str, Any], PlainTextObject] = 'Yes', deny: Union[str, Dict[str, Any], PlainTextObject] = 'No', style: Optional[str] = None) +(*,
title: str | Dict[str, Any] | PlainTextObject,
text: str | Dict[str, Any] | TextObject,
confirm: str | Dict[str, Any] | PlainTextObject = 'Yes',
deny: str | Dict[str, Any] | PlainTextObject = 'No',
style: str | None = None)

The base class for JSON serializable class objects

@@ -173,7 +173,7 @@

Class variables

Static methods

-def parse(confirm: Union[ForwardRef('ConfirmObject'), Dict[str, Any]]) +def parse(confirm: ForwardRef('ConfirmObject') | Dict[str, Any])
@@ -220,7 +220,7 @@

Inherited members

class DispatchActionConfig -(*, trigger_actions_on: Optional[List[Any]] = None) +(*, trigger_actions_on: List[Any] | None = None)

The base class for JSON serializable class objects

@@ -271,7 +271,7 @@

Ancestors

Static methods

-def parse(config: Union[ForwardRef('DispatchActionConfig'), Dict[str, Any]]) +def parse(config: ForwardRef('DispatchActionConfig') | Dict[str, Any])
@@ -291,7 +291,7 @@

Inherited members

class MarkdownTextObject -(*, text: str, verbatim: Optional[bool] = None) +(*, text: str, verbatim: bool | None = None)

mrkdwn typed text object

@@ -382,7 +382,7 @@

Class variables

Static methods

Transform a Link object directly into the required object shape @@ -395,7 +395,7 @@

Static methods

Transforms a string into the required object shape to act as a MarkdownTextObject

Transform a Link object directly into the required object shape @@ -438,7 +438,7 @@

Inherited members

class Option -(*, value: str, label: Optional[str] = None, text: Union[str, Dict[str, Any], TextObject, ForwardRef(None)] = None, description: Union[str, Dict[str, Any], TextObject, ForwardRef(None)] = None, url: Optional[str] = None, **others: Dict[str, Any]) +(*,
value: str,
label: str | None = None,
text: str | Dict[str, Any] | TextObject | None = None,
description: str | Dict[str, Any] | TextObject | None = None,
url: str | None = None,
**others: Dict[str, Any])

Option object used in dialogs, legacy message actions (interactivity in attachments), @@ -646,7 +646,7 @@

Static methods

Creates a simple Option instance with the same value and label

-def parse_all(options: Optional[Sequence[Union[Dict[str, Any], ForwardRef('Option')]]]) ‑> Optional[List[Option]] +def parse_all(options: Sequence[Dict[str, Any] | ForwardRef('Option')] | None) ‑> List[Option] | None
@@ -676,7 +676,7 @@

Inherited members

class OptionGroup -(*, label: Union[str, Dict[str, Any], TextObject, ForwardRef(None)] = None, options: Sequence[Union[Dict[str, Any], Option]], **others: Dict[str, Any]) +(*,
label: str | Dict[str, Any] | TextObject | None = None,
options: Sequence[Dict[str, Any] | Option],
**others: Dict[str, Any])

JSON must be retrieved with an explicit option_type - the Slack API has @@ -809,7 +809,7 @@

Class variables

Static methods

-def parse_all(option_groups: Optional[Sequence[Union[Dict[str, Any], ForwardRef('OptionGroup')]]]) ‑> Optional[List[OptionGroup]] +def parse_all(option_groups: Sequence[Dict[str, Any] | ForwardRef('OptionGroup')] | None) ‑> List[OptionGroup] | None
@@ -829,7 +829,7 @@

Inherited members

class PlainTextObject -(*, text: str, emoji: Optional[bool] = None) +(*, text: str, emoji: bool | None = None)

plain_text typed text object

@@ -939,7 +939,7 @@

Inherited members

class SlackFile -(*, id: Optional[str] = None, url: Optional[str] = None) +(*, id: str | None = None, url: str | None = None)

The base class for JSON serializable class objects

@@ -1003,7 +1003,7 @@

Inherited members

class TextObject -(text: str, type: Optional[str] = None, subtype: Optional[str] = None, emoji: Optional[bool] = None, **kwargs) +(text: str,
type: str | None = None,
subtype: str | None = None,
emoji: bool | None = None,
**kwargs)

The interface for text objects (types: plain_text, mrkdwn)

@@ -1090,7 +1090,7 @@

Class variables

Static methods

-def parse(text: Union[str, Dict[str, Any], ForwardRef('TextObject')], default_type: str = 'mrkdwn') ‑> Optional[TextObject] +def parse(text: str | Dict[str, Any] | ForwardRef('TextObject'),
default_type: str = 'mrkdwn') ‑> TextObject | None
@@ -1098,7 +1098,7 @@

Static methods

Instance variables

-
prop subtype : Optional[str]
+
prop subtype : str | None
@@ -1125,7 +1125,7 @@

Inherited members

class Workflow -(*, trigger: Union[WorkflowTrigger, dict]) +(*,
trigger: WorkflowTrigger | dict)

The base class for JSON serializable class objects

@@ -1171,7 +1171,7 @@

Inherited members

class WorkflowTrigger -(*, url: str, customizable_input_parameters: Optional[List[Dict[str, str]]] = None) +(*, url: str, customizable_input_parameters: List[Dict[str, str]] | None = None)

The base class for JSON serializable class objects

@@ -1308,7 +1308,7 @@

diff --git a/docs/static/api-docs/slack_sdk/models/blocks/block_elements.html b/docs/static/api-docs/slack_sdk/models/blocks/block_elements.html index 69119d04..27c4478e 100644 --- a/docs/static/api-docs/slack_sdk/models/blocks/block_elements.html +++ b/docs/static/api-docs/slack_sdk/models/blocks/block_elements.html @@ -3,13 +3,13 @@ - + slack_sdk.models.blocks.block_elements API documentation - + @@ -37,7 +37,7 @@

Classes

class BlockElement -(*, type: Optional[str] = None, subtype: Optional[str] = None, **others: dict) +(*, type: str | None = None, subtype: str | None = None, **others: dict)

Block Elements are things that exists inside of your Blocks. @@ -130,13 +130,13 @@

Class variables

Static methods

-def parse(block_element: Union[dict, ForwardRef('BlockElement')]) ‑> Union[BlockElementTextObject, ForwardRef(None)] +def parse(block_element: dict | ForwardRef('BlockElement')) ‑> BlockElement | TextObject | None
-def parse_all(block_elements: Sequence[Union[dict, ForwardRef('BlockElement'), TextObject]]) ‑> List[Union[BlockElementTextObject]] +def parse_all(block_elements: Sequence[dict | ForwardRef('BlockElement') | TextObject]) ‑> List[BlockElement | TextObject]
@@ -144,7 +144,7 @@

Static methods

Instance variables

-
prop subtype : Optional[str]
+
prop subtype : str | None
@@ -171,7 +171,7 @@

Inherited members

class ButtonElement -(*, text: Union[str, dict, TextObject], action_id: Optional[str] = None, url: Optional[str] = None, value: Optional[str] = None, style: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, accessibility_label: Optional[str] = None, **others: dict) +(*,
text: str | dict | TextObject,
action_id: str | None = None,
url: str | None = None,
value: str | None = None,
style: str | None = None,
confirm: dict | ConfirmObject | None = None,
accessibility_label: str | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -342,7 +342,7 @@

Inherited members

class ChannelMultiSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, initial_channels: Optional[Sequence[str]] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, max_selected_items: Optional[int] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
initial_channels: Sequence[str] | None = None,
confirm: dict | ConfirmObject | None = None,
max_selected_items: int | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -461,7 +461,7 @@

Inherited members

class ChannelSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, initial_channel: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, response_url_enabled: Optional[bool] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
initial_channel: str | None = None,
confirm: dict | ConfirmObject | None = None,
response_url_enabled: bool | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -582,7 +582,7 @@

Inherited members

class CheckboxesElement -(*, action_id: Optional[str] = None, options: Optional[Sequence[Union[dict, Option]]] = None, initial_options: Optional[Sequence[Union[dict, Option]]] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
options: Sequence[dict | Option] | None = None,
initial_options: Sequence[dict | Option] | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -689,7 +689,7 @@

Inherited members

class ConversationFilter -(*, include: Optional[Sequence[str]] = None, exclude_bot_users: Optional[bool] = None, exclude_external_shared_channels: Optional[bool] = None) +(*,
include: Sequence[str] | None = None,
exclude_bot_users: bool | None = None,
exclude_external_shared_channels: bool | None = None)

The base class for JSON serializable class objects

@@ -769,7 +769,7 @@

Class variables

Static methods

-def parse(filter: Union[dict, ForwardRef('ConversationFilter')]) +def parse(filter: dict | ForwardRef('ConversationFilter'))
@@ -789,7 +789,7 @@

Inherited members

class ConversationMultiSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, initial_conversations: Optional[Sequence[str]] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, max_selected_items: Optional[int] = None, default_to_current_conversation: Optional[bool] = None, filter: Union[dict, ConversationFilter, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
initial_conversations: Sequence[str] | None = None,
confirm: dict | ConfirmObject | None = None,
max_selected_items: int | None = None,
default_to_current_conversation: bool | None = None,
filter: dict | ConversationFilter | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -929,7 +929,7 @@

Inherited members

class ConversationSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, initial_conversation: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, response_url_enabled: Optional[bool] = None, default_to_current_conversation: Optional[bool] = None, filter: Optional[ConversationFilter] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
initial_conversation: str | None = None,
confirm: dict | ConfirmObject | None = None,
response_url_enabled: bool | None = None,
default_to_current_conversation: bool | None = None,
filter: ConversationFilter | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1071,7 +1071,7 @@

Inherited members

class DatePickerElement -(*, action_id: Optional[str] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, initial_date: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | dict | TextObject | None = None,
initial_date: str | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1190,7 +1190,7 @@

Inherited members

class DateTimePickerElement -(*, action_id: Optional[str] = None, initial_date_time: Optional[int] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
initial_date_time: int | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1307,7 +1307,7 @@

Inherited members

class EmailInputElement -(*, action_id: Optional[str] = None, initial_value: Optional[str] = None, dispatch_action_config: Union[dict, DispatchActionConfig, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, **others: dict) +(*,
action_id: str | None = None,
initial_value: str | None = None,
dispatch_action_config: dict | DispatchActionConfig | None = None,
focus_on_load: bool | None = None,
placeholder: str | dict | TextObject | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1418,7 +1418,7 @@

Inherited members

class ExternalDataMultiSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, min_query_length: Optional[int] = None, initial_options: Optional[Sequence[Union[dict, Option]]] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, max_selected_items: Optional[int] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
min_query_length: int | None = None,
initial_options: Sequence[dict | Option] | None = None,
confirm: dict | ConfirmObject | None = None,
max_selected_items: int | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1550,7 +1550,7 @@

Inherited members

class ExternalDataSelectElement -(*, action_id: Optional[str] = None, placeholder: Union[str, TextObject, ForwardRef(None)] = None, initial_option: Union[Option, ForwardRef(None), OptionGroup] = None, min_query_length: Optional[int] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | TextObject | None = None,
initial_option: Option | OptionGroup | None = None,
min_query_length: int | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1677,7 +1677,7 @@

Inherited members

class FileInputElement -(*, action_id: Optional[str] = None, filetypes: Optional[List[str]] = None, max_files: Optional[int] = None, **others: dict) +(*,
action_id: str | None = None,
filetypes: List[str] | None = None,
max_files: int | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1778,7 +1778,7 @@

Inherited members

class ImageElement -(*, alt_text: Optional[str] = None, image_url: Optional[str] = None, slack_file: Union[Dict[str, Any], SlackFile, ForwardRef(None)] = None, **others: dict) +(*,
alt_text: str | None = None,
image_url: str | None = None,
slack_file: Dict[str, Any] | SlackFile | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1893,7 +1893,7 @@

Inherited members

class InputInteractiveElement -(*, action_id: Optional[str] = None, placeholder: Union[str, TextObject, ForwardRef(None)] = None, type: Optional[str] = None, subtype: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | TextObject | None = None,
type: str | None = None,
subtype: str | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1989,7 +1989,7 @@

Class variables

Instance variables

-
prop subtype : Optional[str]
+
prop subtype : str | None
@@ -2016,7 +2016,7 @@

Inherited members

class InteractiveElement -(*, action_id: Optional[str] = None, type: Optional[str] = None, subtype: Optional[str] = None, **others: dict) +(*,
action_id: str | None = None,
type: str | None = None,
subtype: str | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -2110,7 +2110,7 @@

Inherited members

class LinkButtonElement -(*, text: Union[str, dict, PlainTextObject], url: str, action_id: Optional[str] = None, style: Optional[str] = None, **others: dict) +(*,
text: str | dict | PlainTextObject,
url: str,
action_id: str | None = None,
style: str | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -2213,7 +2213,7 @@

Inherited members

class NumberInputElement -(*, action_id: Optional[str] = None, is_decimal_allowed: Optional[bool] = False, initial_value: Union[int, float, str, ForwardRef(None)] = None, min_value: Union[int, float, str, ForwardRef(None)] = None, max_value: Union[int, float, str, ForwardRef(None)] = None, dispatch_action_config: Union[dict, DispatchActionConfig, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, **others: dict) +(*,
action_id: str | None = None,
is_decimal_allowed: bool | None = False,
initial_value: int | float | str | None = None,
min_value: int | float | str | None = None,
max_value: int | float | str | None = None,
dispatch_action_config: dict | DispatchActionConfig | None = None,
focus_on_load: bool | None = None,
placeholder: str | dict | TextObject | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -2344,7 +2344,7 @@

Inherited members

class OverflowMenuElement -(*, action_id: Optional[str] = None, options: Sequence[Option], confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, **others: dict) +(*,
action_id: str | None = None,
options: Sequence[Option],
confirm: dict | ConfirmObject | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -2462,7 +2462,7 @@

Inherited members

class PlainTextInputElement -(*, action_id: Optional[str] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, initial_value: Optional[str] = None, multiline: Optional[bool] = None, min_length: Optional[int] = None, max_length: Optional[int] = None, dispatch_action_config: Union[dict, DispatchActionConfig, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | dict | TextObject | None = None,
initial_value: str | None = None,
multiline: bool | None = None,
min_length: int | None = None,
max_length: int | None = None,
dispatch_action_config: dict | DispatchActionConfig | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -2605,7 +2605,7 @@

Inherited members

class RadioButtonsElement -(*, action_id: Optional[str] = None, options: Optional[Sequence[Union[dict, Option]]] = None, initial_option: Union[dict, Option, ForwardRef(None)] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
options: Sequence[dict | Option] | None = None,
initial_option: dict | Option | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -2712,7 +2712,7 @@

Inherited members

class RichTextElement -(*, type: Optional[str] = None, subtype: Optional[str] = None, **others: dict) +(*, type: str | None = None, subtype: str | None = None, **others: dict)

Block Elements are things that exists inside of your Blocks. @@ -3052,7 +3052,7 @@

Class variables

class RichTextInputElement -(*, action_id: Optional[str] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, initial_value: Union[Dict[str, Any], ForwardRef('RichTextBlock'), ForwardRef(None)] = None, dispatch_action_config: Union[dict, DispatchActionConfig, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | dict | TextObject | None = None,
initial_value: Dict[str, Any] | ForwardRef('RichTextBlock') | None = None,
dispatch_action_config: dict | DispatchActionConfig | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -3130,7 +3130,7 @@

Inherited members

class RichTextListElement -(*, elements: Sequence[Union[dict, RichTextElement]], style: Optional[str] = None, indent: Optional[int] = None, offset: Optional[int] = None, border: Optional[int] = None, **others: dict) +(*,
elements: Sequence[dict | RichTextElement],
style: str | None = None,
indent: int | None = None,
offset: int | None = None,
border: int | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -3208,7 +3208,7 @@

Inherited members

class RichTextPreformattedElement -(*, elements: Sequence[Union[dict, RichTextElement]], border: Optional[int] = None, **others: dict) +(*,
elements: Sequence[dict | RichTextElement],
border: int | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -3280,7 +3280,7 @@

Inherited members

class RichTextQuoteElement -(*, elements: Sequence[Union[dict, RichTextElement]], **others: dict) +(*,
elements: Sequence[dict | RichTextElement],
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -3350,7 +3350,7 @@

Inherited members

class RichTextSectionElement -(*, elements: Sequence[Union[dict, RichTextElement]], **others: dict) +(*,
elements: Sequence[dict | RichTextElement],
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -3420,7 +3420,7 @@

Inherited members

class SelectElement -(*, action_id: Optional[str] = None, placeholder: Optional[str] = None, options: Optional[Sequence[Option]] = None, option_groups: Optional[Sequence[OptionGroup]] = None, initial_option: Optional[Option] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | None = None,
options: Sequence[Option] | None = None,
option_groups: Sequence[OptionGroup] | None = None,
initial_option: Option | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -3573,7 +3573,7 @@

Inherited members

class StaticMultiSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, options: Optional[Sequence[Option]] = None, option_groups: Optional[Sequence[OptionGroup]] = None, initial_options: Optional[Sequence[Option]] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, max_selected_items: Optional[int] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
options: Sequence[Option] | None = None,
option_groups: Sequence[OptionGroup] | None = None,
initial_options: Sequence[Option] | None = None,
confirm: dict | ConfirmObject | None = None,
max_selected_items: int | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -3734,7 +3734,7 @@

Inherited members

class StaticSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, options: Optional[Sequence[Union[dict, Option]]] = None, option_groups: Optional[Sequence[Union[dict, OptionGroup]]] = None, initial_option: Union[dict, Option, ForwardRef(None)] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
options: Sequence[dict | Option] | None = None,
option_groups: Sequence[dict | OptionGroup] | None = None,
initial_option: dict | Option | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -3887,7 +3887,7 @@

Inherited members

class TimePickerElement -(*, action_id: Optional[str] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, initial_time: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, timezone: Optional[str] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | dict | TextObject | None = None,
initial_time: str | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
timezone: str | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -4014,7 +4014,7 @@

Inherited members

class UrlInputElement -(*, action_id: Optional[str] = None, initial_value: Optional[str] = None, dispatch_action_config: Union[dict, DispatchActionConfig, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, **others: dict) +(*,
action_id: str | None = None,
initial_value: str | None = None,
dispatch_action_config: dict | DispatchActionConfig | None = None,
focus_on_load: bool | None = None,
placeholder: str | dict | TextObject | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -4129,7 +4129,7 @@

Inherited members

class UserMultiSelectElement -(*, action_id: Optional[str] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, initial_users: Optional[Sequence[str]] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, max_selected_items: Optional[int] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | dict | TextObject | None = None,
initial_users: Sequence[str] | None = None,
confirm: dict | ConfirmObject | None = None,
max_selected_items: int | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -4246,7 +4246,7 @@

Inherited members

class UserSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, initial_user: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
initial_user: str | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -4356,7 +4356,7 @@

Inherited members

class WorkflowButtonElement -(*, text: Union[str, dict, TextObject], action_id: Optional[str] = None, workflow: Union[dict, Workflow, ForwardRef(None)] = None, style: Optional[str] = None, accessibility_label: Optional[str] = None, **others: dict) +(*,
text: str | dict | TextObject,
action_id: str | None = None,
workflow: dict | Workflow | None = None,
style: str | None = None,
accessibility_label: str | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -4743,7 +4743,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/models/blocks/blocks.html b/docs/static/api-docs/slack_sdk/models/blocks/blocks.html index 47ccf551..9e9a1a5b 100644 --- a/docs/static/api-docs/slack_sdk/models/blocks/blocks.html +++ b/docs/static/api-docs/slack_sdk/models/blocks/blocks.html @@ -3,13 +3,13 @@ - + slack_sdk.models.blocks.blocks API documentation - + @@ -37,7 +37,7 @@

Classes

class ActionsBlock -(*, elements: Sequence[Union[dict, InteractiveElement]], block_id: Optional[str] = None, **others: dict) +(*,
elements: Sequence[dict | InteractiveElement],
block_id: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -146,7 +146,7 @@

Inherited members

class Block -(*, type: Optional[str] = None, subtype: Optional[str] = None, block_id: Optional[str] = None) +(*,
type: str | None = None,
subtype: str | None = None,
block_id: str | None = None)

Blocks are a series of components that can be combined @@ -268,13 +268,13 @@

Class variables

Static methods

-def parse(block: Union[dict, ForwardRef('Block')]) ‑> Optional[Block] +def parse(block: dict | ForwardRef('Block')) ‑> Block | None
-def parse_all(blocks: Optional[Sequence[Union[dict, ForwardRef('Block')]]]) ‑> List[Block] +def parse_all(blocks: Sequence[dict | ForwardRef('Block')] | None) ‑> List[Block]
@@ -282,7 +282,7 @@

Static methods

Instance variables

-
prop subtype : Optional[str]
+
prop subtype : str | None
@@ -309,7 +309,7 @@

Inherited members

class CallBlock -(*, call_id: str, api_decoration_available: Optional[bool] = None, call: Optional[Dict[str, Dict[str, Any]]] = None, block_id: Optional[str] = None, **others: dict) +(*,
call_id: str,
api_decoration_available: bool | None = None,
call: Dict[str, Dict[str, Any]] | None = None,
block_id: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -390,7 +390,7 @@

Inherited members

class ContextBlock -(*, elements: Sequence[Union[dict, ImageElementTextObject]], block_id: Optional[str] = None, **others: dict) +(*,
elements: Sequence[dict | ImageElement | TextObject],
block_id: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -493,7 +493,7 @@

Inherited members

class DividerBlock -(*, block_id: Optional[str] = None, **others: dict) +(*, block_id: str | None = None, **others: dict)

Blocks are a series of components that can be combined @@ -567,7 +567,7 @@

Inherited members

class FileBlock -(*, external_id: str, source: str = 'remote', block_id: Optional[str] = None, **others: dict) +(*,
external_id: str,
source: str = 'remote',
block_id: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -666,7 +666,7 @@

Inherited members

class HeaderBlock -(*, block_id: Optional[str] = None, text: Union[str, dict, TextObject, ForwardRef(None)] = None, **others: dict) +(*,
block_id: str | None = None,
text: str | dict | TextObject | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -775,7 +775,7 @@

Inherited members

class ImageBlock -(*, alt_text: str, image_url: Optional[str] = None, slack_file: Union[Dict[str, Any], SlackFile, ForwardRef(None)] = None, title: Union[str, dict, PlainTextObject, ForwardRef(None)] = None, block_id: Optional[str] = None, **others: dict) +(*,
alt_text: str,
image_url: str | None = None,
slack_file: Dict[str, Any] | SlackFile | None = None,
title: str | dict | PlainTextObject | None = None,
block_id: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -933,7 +933,7 @@

Inherited members

class InputBlock -(*, label: Union[str, dict, PlainTextObject], element: Union[str, dict, InputInteractiveElement], block_id: Optional[str] = None, hint: Union[str, dict, PlainTextObject, ForwardRef(None)] = None, dispatch_action: Optional[bool] = None, optional: Optional[bool] = None, **others: dict) +(*,
label: str | dict | PlainTextObject,
element: str | dict | InputInteractiveElement,
block_id: str | None = None,
hint: str | dict | PlainTextObject | None = None,
dispatch_action: bool | None = None,
optional: bool | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -1088,7 +1088,7 @@

Inherited members

class RichTextBlock -(*, elements: Sequence[Union[dict, RichTextElement]], block_id: Optional[str] = None, **others: dict) +(*,
elements: Sequence[dict | RichTextElement],
block_id: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -1184,7 +1184,7 @@

Inherited members

class SectionBlock -(*, block_id: Optional[str] = None, text: Union[str, dict, TextObject, ForwardRef(None)] = None, fields: Optional[Sequence[Union[str, dict, TextObject]]] = None, accessory: Union[dict, BlockElement, ForwardRef(None)] = None, **others: dict) +(*,
block_id: str | None = None,
text: str | dict | TextObject | None = None,
fields: Sequence[str | dict | TextObject] | None = None,
accessory: dict | BlockElement | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -1339,7 +1339,7 @@

Inherited members

class VideoBlock -(*, block_id: Optional[str] = None, alt_text: Optional[str] = None, video_url: Optional[str] = None, thumbnail_url: Optional[str] = None, title: Union[str, dict, PlainTextObject, ForwardRef(None)] = None, title_url: Optional[str] = None, description: Union[str, dict, PlainTextObject, ForwardRef(None)] = None, provider_icon_url: Optional[str] = None, provider_name: Optional[str] = None, author_name: Optional[str] = None, **others: dict) +(*,
block_id: str | None = None,
alt_text: str | None = None,
video_url: str | None = None,
thumbnail_url: str | None = None,
title: str | dict | PlainTextObject | None = None,
title_url: str | None = None,
description: str | dict | PlainTextObject | None = None,
provider_icon_url: str | None = None,
provider_name: str | None = None,
author_name: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -1658,7 +1658,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/models/blocks/index.html b/docs/static/api-docs/slack_sdk/models/blocks/index.html index 98e0ee6d..ace27b28 100644 --- a/docs/static/api-docs/slack_sdk/models/blocks/index.html +++ b/docs/static/api-docs/slack_sdk/models/blocks/index.html @@ -3,13 +3,13 @@ - + slack_sdk.models.blocks API documentation - + @@ -59,7 +59,7 @@

Classes

class ActionsBlock -(*, elements: Sequence[Union[dict, InteractiveElement]], block_id: Optional[str] = None, **others: dict) +(*,
elements: Sequence[dict | InteractiveElement],
block_id: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -168,7 +168,7 @@

Inherited members

class Block -(*, type: Optional[str] = None, subtype: Optional[str] = None, block_id: Optional[str] = None) +(*,
type: str | None = None,
subtype: str | None = None,
block_id: str | None = None)

Blocks are a series of components that can be combined @@ -290,13 +290,13 @@

Class variables

Static methods

-def parse(block: Union[dict, ForwardRef('Block')]) ‑> Optional[Block] +def parse(block: dict | ForwardRef('Block')) ‑> Block | None
-def parse_all(blocks: Optional[Sequence[Union[dict, ForwardRef('Block')]]]) ‑> List[Block] +def parse_all(blocks: Sequence[dict | ForwardRef('Block')] | None) ‑> List[Block]
@@ -304,7 +304,7 @@

Static methods

Instance variables

-
prop subtype : Optional[str]
+
prop subtype : str | None
@@ -331,7 +331,7 @@

Inherited members

class BlockElement -(*, type: Optional[str] = None, subtype: Optional[str] = None, **others: dict) +(*, type: str | None = None, subtype: str | None = None, **others: dict)

Block Elements are things that exists inside of your Blocks. @@ -424,13 +424,13 @@

Class variables

Static methods

-def parse(block_element: Union[dict, ForwardRef('BlockElement')]) ‑> Union[BlockElementTextObject, ForwardRef(None)] +def parse(block_element: dict | ForwardRef('BlockElement')) ‑> BlockElement | TextObject | None
-def parse_all(block_elements: Sequence[Union[dict, ForwardRef('BlockElement'), TextObject]]) ‑> List[Union[BlockElementTextObject]] +def parse_all(block_elements: Sequence[dict | ForwardRef('BlockElement') | TextObject]) ‑> List[BlockElement | TextObject]
@@ -438,7 +438,7 @@

Static methods

Instance variables

-
prop subtype : Optional[str]
+
prop subtype : str | None
@@ -465,7 +465,7 @@

Inherited members

class ButtonElement -(*, text: Union[str, dict, TextObject], action_id: Optional[str] = None, url: Optional[str] = None, value: Optional[str] = None, style: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, accessibility_label: Optional[str] = None, **others: dict) +(*,
text: str | dict | TextObject,
action_id: str | None = None,
url: str | None = None,
value: str | None = None,
style: str | None = None,
confirm: dict | ConfirmObject | None = None,
accessibility_label: str | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -636,7 +636,7 @@

Inherited members

class CallBlock -(*, call_id: str, api_decoration_available: Optional[bool] = None, call: Optional[Dict[str, Dict[str, Any]]] = None, block_id: Optional[str] = None, **others: dict) +(*,
call_id: str,
api_decoration_available: bool | None = None,
call: Dict[str, Dict[str, Any]] | None = None,
block_id: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -717,7 +717,7 @@

Inherited members

class ChannelMultiSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, initial_channels: Optional[Sequence[str]] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, max_selected_items: Optional[int] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
initial_channels: Sequence[str] | None = None,
confirm: dict | ConfirmObject | None = None,
max_selected_items: int | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -836,7 +836,7 @@

Inherited members

class ChannelSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, initial_channel: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, response_url_enabled: Optional[bool] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
initial_channel: str | None = None,
confirm: dict | ConfirmObject | None = None,
response_url_enabled: bool | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -957,7 +957,7 @@

Inherited members

class CheckboxesElement -(*, action_id: Optional[str] = None, options: Optional[Sequence[Union[dict, Option]]] = None, initial_options: Optional[Sequence[Union[dict, Option]]] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
options: Sequence[dict | Option] | None = None,
initial_options: Sequence[dict | Option] | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1064,7 +1064,7 @@

Inherited members

class ConfirmObject -(*, title: Union[str, Dict[str, Any], PlainTextObject], text: Union[str, Dict[str, Any], TextObject], confirm: Union[str, Dict[str, Any], PlainTextObject] = 'Yes', deny: Union[str, Dict[str, Any], PlainTextObject] = 'No', style: Optional[str] = None) +(*,
title: str | Dict[str, Any] | PlainTextObject,
text: str | Dict[str, Any] | TextObject,
confirm: str | Dict[str, Any] | PlainTextObject = 'Yes',
deny: str | Dict[str, Any] | PlainTextObject = 'No',
style: str | None = None)

The base class for JSON serializable class objects

@@ -1200,7 +1200,7 @@

Class variables

Static methods

-def parse(confirm: Union[ForwardRef('ConfirmObject'), Dict[str, Any]]) +def parse(confirm: ForwardRef('ConfirmObject') | Dict[str, Any])
@@ -1247,7 +1247,7 @@

Inherited members

class ContextBlock -(*, elements: Sequence[Union[dict, ImageElementTextObject]], block_id: Optional[str] = None, **others: dict) +(*,
elements: Sequence[dict | ImageElement | TextObject],
block_id: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -1350,7 +1350,7 @@

Inherited members

class ConversationFilter -(*, include: Optional[Sequence[str]] = None, exclude_bot_users: Optional[bool] = None, exclude_external_shared_channels: Optional[bool] = None) +(*,
include: Sequence[str] | None = None,
exclude_bot_users: bool | None = None,
exclude_external_shared_channels: bool | None = None)

The base class for JSON serializable class objects

@@ -1430,7 +1430,7 @@

Class variables

Static methods

-def parse(filter: Union[dict, ForwardRef('ConversationFilter')]) +def parse(filter: dict | ForwardRef('ConversationFilter'))
@@ -1450,7 +1450,7 @@

Inherited members

class ConversationMultiSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, initial_conversations: Optional[Sequence[str]] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, max_selected_items: Optional[int] = None, default_to_current_conversation: Optional[bool] = None, filter: Union[dict, ConversationFilter, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
initial_conversations: Sequence[str] | None = None,
confirm: dict | ConfirmObject | None = None,
max_selected_items: int | None = None,
default_to_current_conversation: bool | None = None,
filter: dict | ConversationFilter | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1590,7 +1590,7 @@

Inherited members

class ConversationSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, initial_conversation: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, response_url_enabled: Optional[bool] = None, default_to_current_conversation: Optional[bool] = None, filter: Optional[ConversationFilter] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
initial_conversation: str | None = None,
confirm: dict | ConfirmObject | None = None,
response_url_enabled: bool | None = None,
default_to_current_conversation: bool | None = None,
filter: ConversationFilter | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1732,7 +1732,7 @@

Inherited members

class DatePickerElement -(*, action_id: Optional[str] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, initial_date: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | dict | TextObject | None = None,
initial_date: str | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1851,7 +1851,7 @@

Inherited members

class DateTimePickerElement -(*, action_id: Optional[str] = None, initial_date_time: Optional[int] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
initial_date_time: int | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -1968,7 +1968,7 @@

Inherited members

class DividerBlock -(*, block_id: Optional[str] = None, **others: dict) +(*, block_id: str | None = None, **others: dict)

Blocks are a series of components that can be combined @@ -2042,7 +2042,7 @@

Inherited members

class EmailInputElement -(*, action_id: Optional[str] = None, initial_value: Optional[str] = None, dispatch_action_config: Union[dict, DispatchActionConfig, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, **others: dict) +(*,
action_id: str | None = None,
initial_value: str | None = None,
dispatch_action_config: dict | DispatchActionConfig | None = None,
focus_on_load: bool | None = None,
placeholder: str | dict | TextObject | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -2153,7 +2153,7 @@

Inherited members

class ExternalDataMultiSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, min_query_length: Optional[int] = None, initial_options: Optional[Sequence[Union[dict, Option]]] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, max_selected_items: Optional[int] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
min_query_length: int | None = None,
initial_options: Sequence[dict | Option] | None = None,
confirm: dict | ConfirmObject | None = None,
max_selected_items: int | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -2285,7 +2285,7 @@

Inherited members

class ExternalDataSelectElement -(*, action_id: Optional[str] = None, placeholder: Union[str, TextObject, ForwardRef(None)] = None, initial_option: Union[Option, ForwardRef(None), OptionGroup] = None, min_query_length: Optional[int] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | TextObject | None = None,
initial_option: Option | OptionGroup | None = None,
min_query_length: int | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -2412,7 +2412,7 @@

Inherited members

class FileBlock -(*, external_id: str, source: str = 'remote', block_id: Optional[str] = None, **others: dict) +(*,
external_id: str,
source: str = 'remote',
block_id: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -2511,7 +2511,7 @@

Inherited members

class HeaderBlock -(*, block_id: Optional[str] = None, text: Union[str, dict, TextObject, ForwardRef(None)] = None, **others: dict) +(*,
block_id: str | None = None,
text: str | dict | TextObject | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -2620,7 +2620,7 @@

Inherited members

class ImageBlock -(*, alt_text: str, image_url: Optional[str] = None, slack_file: Union[Dict[str, Any], SlackFile, ForwardRef(None)] = None, title: Union[str, dict, PlainTextObject, ForwardRef(None)] = None, block_id: Optional[str] = None, **others: dict) +(*,
alt_text: str,
image_url: str | None = None,
slack_file: Dict[str, Any] | SlackFile | None = None,
title: str | dict | PlainTextObject | None = None,
block_id: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -2778,7 +2778,7 @@

Inherited members

class ImageElement -(*, alt_text: Optional[str] = None, image_url: Optional[str] = None, slack_file: Union[Dict[str, Any], SlackFile, ForwardRef(None)] = None, **others: dict) +(*,
alt_text: str | None = None,
image_url: str | None = None,
slack_file: Dict[str, Any] | SlackFile | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -2893,7 +2893,7 @@

Inherited members

class InputBlock -(*, label: Union[str, dict, PlainTextObject], element: Union[str, dict, InputInteractiveElement], block_id: Optional[str] = None, hint: Union[str, dict, PlainTextObject, ForwardRef(None)] = None, dispatch_action: Optional[bool] = None, optional: Optional[bool] = None, **others: dict) +(*,
label: str | dict | PlainTextObject,
element: str | dict | InputInteractiveElement,
block_id: str | None = None,
hint: str | dict | PlainTextObject | None = None,
dispatch_action: bool | None = None,
optional: bool | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -3048,7 +3048,7 @@

Inherited members

class InputInteractiveElement -(*, action_id: Optional[str] = None, placeholder: Union[str, TextObject, ForwardRef(None)] = None, type: Optional[str] = None, subtype: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | TextObject | None = None,
type: str | None = None,
subtype: str | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -3144,7 +3144,7 @@

Class variables

Instance variables

-
prop subtype : Optional[str]
+
prop subtype : str | None
@@ -3171,7 +3171,7 @@

Inherited members

class InteractiveElement -(*, action_id: Optional[str] = None, type: Optional[str] = None, subtype: Optional[str] = None, **others: dict) +(*,
action_id: str | None = None,
type: str | None = None,
subtype: str | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -3265,7 +3265,7 @@

Inherited members

class LinkButtonElement -(*, text: Union[str, dict, PlainTextObject], url: str, action_id: Optional[str] = None, style: Optional[str] = None, **others: dict) +(*,
text: str | dict | PlainTextObject,
url: str,
action_id: str | None = None,
style: str | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -3368,7 +3368,7 @@

Inherited members

class MarkdownTextObject -(*, text: str, verbatim: Optional[bool] = None) +(*, text: str, verbatim: bool | None = None)

mrkdwn typed text object

@@ -3459,7 +3459,7 @@

Class variables

Static methods

Transform a Link object directly into the required object shape @@ -3472,7 +3472,7 @@

Static methods

Transforms a string into the required object shape to act as a MarkdownTextObject

Transform a Link object directly into the required object shape @@ -3515,7 +3515,7 @@

Inherited members

class NumberInputElement -(*, action_id: Optional[str] = None, is_decimal_allowed: Optional[bool] = False, initial_value: Union[int, float, str, ForwardRef(None)] = None, min_value: Union[int, float, str, ForwardRef(None)] = None, max_value: Union[int, float, str, ForwardRef(None)] = None, dispatch_action_config: Union[dict, DispatchActionConfig, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, **others: dict) +(*,
action_id: str | None = None,
is_decimal_allowed: bool | None = False,
initial_value: int | float | str | None = None,
min_value: int | float | str | None = None,
max_value: int | float | str | None = None,
dispatch_action_config: dict | DispatchActionConfig | None = None,
focus_on_load: bool | None = None,
placeholder: str | dict | TextObject | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -3646,7 +3646,7 @@

Inherited members

class Option -(*, value: str, label: Optional[str] = None, text: Union[str, Dict[str, Any], TextObject, ForwardRef(None)] = None, description: Union[str, Dict[str, Any], TextObject, ForwardRef(None)] = None, url: Optional[str] = None, **others: Dict[str, Any]) +(*,
value: str,
label: str | None = None,
text: str | Dict[str, Any] | TextObject | None = None,
description: str | Dict[str, Any] | TextObject | None = None,
url: str | None = None,
**others: Dict[str, Any])

Option object used in dialogs, legacy message actions (interactivity in attachments), @@ -3854,7 +3854,7 @@

Static methods

Creates a simple Option instance with the same value and label

-def parse_all(options: Optional[Sequence[Union[Dict[str, Any], ForwardRef('Option')]]]) ‑> Optional[List[Option]] +def parse_all(options: Sequence[Dict[str, Any] | ForwardRef('Option')] | None) ‑> List[Option] | None
@@ -3884,7 +3884,7 @@

Inherited members

class OptionGroup -(*, label: Union[str, Dict[str, Any], TextObject, ForwardRef(None)] = None, options: Sequence[Union[Dict[str, Any], Option]], **others: Dict[str, Any]) +(*,
label: str | Dict[str, Any] | TextObject | None = None,
options: Sequence[Dict[str, Any] | Option],
**others: Dict[str, Any])

JSON must be retrieved with an explicit option_type - the Slack API has @@ -4017,7 +4017,7 @@

Class variables

Static methods

-def parse_all(option_groups: Optional[Sequence[Union[Dict[str, Any], ForwardRef('OptionGroup')]]]) ‑> Optional[List[OptionGroup]] +def parse_all(option_groups: Sequence[Dict[str, Any] | ForwardRef('OptionGroup')] | None) ‑> List[OptionGroup] | None
@@ -4037,7 +4037,7 @@

Inherited members

class OverflowMenuElement -(*, action_id: Optional[str] = None, options: Sequence[Option], confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, **others: dict) +(*,
action_id: str | None = None,
options: Sequence[Option],
confirm: dict | ConfirmObject | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -4155,7 +4155,7 @@

Inherited members

class PlainTextInputElement -(*, action_id: Optional[str] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, initial_value: Optional[str] = None, multiline: Optional[bool] = None, min_length: Optional[int] = None, max_length: Optional[int] = None, dispatch_action_config: Union[dict, DispatchActionConfig, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | dict | TextObject | None = None,
initial_value: str | None = None,
multiline: bool | None = None,
min_length: int | None = None,
max_length: int | None = None,
dispatch_action_config: dict | DispatchActionConfig | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -4298,7 +4298,7 @@

Inherited members

class PlainTextObject -(*, text: str, emoji: Optional[bool] = None) +(*, text: str, emoji: bool | None = None)

plain_text typed text object

@@ -4408,7 +4408,7 @@

Inherited members

class RadioButtonsElement -(*, action_id: Optional[str] = None, options: Optional[Sequence[Union[dict, Option]]] = None, initial_option: Union[dict, Option, ForwardRef(None)] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
options: Sequence[dict | Option] | None = None,
initial_option: dict | Option | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -4515,7 +4515,7 @@

Inherited members

class RichTextBlock -(*, elements: Sequence[Union[dict, RichTextElement]], block_id: Optional[str] = None, **others: dict) +(*,
elements: Sequence[dict | RichTextElement],
block_id: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -4611,7 +4611,7 @@

Inherited members

class RichTextElement -(*, type: Optional[str] = None, subtype: Optional[str] = None, **others: dict) +(*, type: str | None = None, subtype: str | None = None, **others: dict)

Block Elements are things that exists inside of your Blocks. @@ -4951,7 +4951,7 @@

Class variables

class RichTextInputElement -(*, action_id: Optional[str] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, initial_value: Union[Dict[str, Any], ForwardRef('RichTextBlock'), ForwardRef(None)] = None, dispatch_action_config: Union[dict, DispatchActionConfig, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | dict | TextObject | None = None,
initial_value: Dict[str, Any] | ForwardRef('RichTextBlock') | None = None,
dispatch_action_config: dict | DispatchActionConfig | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -5029,7 +5029,7 @@

Inherited members

class RichTextListElement -(*, elements: Sequence[Union[dict, RichTextElement]], style: Optional[str] = None, indent: Optional[int] = None, offset: Optional[int] = None, border: Optional[int] = None, **others: dict) +(*,
elements: Sequence[dict | RichTextElement],
style: str | None = None,
indent: int | None = None,
offset: int | None = None,
border: int | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -5107,7 +5107,7 @@

Inherited members

class RichTextPreformattedElement -(*, elements: Sequence[Union[dict, RichTextElement]], border: Optional[int] = None, **others: dict) +(*,
elements: Sequence[dict | RichTextElement],
border: int | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -5179,7 +5179,7 @@

Inherited members

class RichTextQuoteElement -(*, elements: Sequence[Union[dict, RichTextElement]], **others: dict) +(*,
elements: Sequence[dict | RichTextElement],
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -5249,7 +5249,7 @@

Inherited members

class RichTextSectionElement -(*, elements: Sequence[Union[dict, RichTextElement]], **others: dict) +(*,
elements: Sequence[dict | RichTextElement],
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -5319,7 +5319,7 @@

Inherited members

class SectionBlock -(*, block_id: Optional[str] = None, text: Union[str, dict, TextObject, ForwardRef(None)] = None, fields: Optional[Sequence[Union[str, dict, TextObject]]] = None, accessory: Union[dict, BlockElement, ForwardRef(None)] = None, **others: dict) +(*,
block_id: str | None = None,
text: str | dict | TextObject | None = None,
fields: Sequence[str | dict | TextObject] | None = None,
accessory: dict | BlockElement | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -5474,7 +5474,7 @@

Inherited members

class SelectElement -(*, action_id: Optional[str] = None, placeholder: Optional[str] = None, options: Optional[Sequence[Option]] = None, option_groups: Optional[Sequence[OptionGroup]] = None, initial_option: Optional[Option] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | None = None,
options: Sequence[Option] | None = None,
option_groups: Sequence[OptionGroup] | None = None,
initial_option: Option | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -5627,7 +5627,7 @@

Inherited members

class StaticMultiSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, options: Optional[Sequence[Option]] = None, option_groups: Optional[Sequence[OptionGroup]] = None, initial_options: Optional[Sequence[Option]] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, max_selected_items: Optional[int] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
options: Sequence[Option] | None = None,
option_groups: Sequence[OptionGroup] | None = None,
initial_options: Sequence[Option] | None = None,
confirm: dict | ConfirmObject | None = None,
max_selected_items: int | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -5788,7 +5788,7 @@

Inherited members

class StaticSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, options: Optional[Sequence[Union[dict, Option]]] = None, option_groups: Optional[Sequence[Union[dict, OptionGroup]]] = None, initial_option: Union[dict, Option, ForwardRef(None)] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
options: Sequence[dict | Option] | None = None,
option_groups: Sequence[dict | OptionGroup] | None = None,
initial_option: dict | Option | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -5941,7 +5941,7 @@

Inherited members

class TextObject -(text: str, type: Optional[str] = None, subtype: Optional[str] = None, emoji: Optional[bool] = None, **kwargs) +(text: str,
type: str | None = None,
subtype: str | None = None,
emoji: bool | None = None,
**kwargs)

The interface for text objects (types: plain_text, mrkdwn)

@@ -6028,7 +6028,7 @@

Class variables

Static methods

-def parse(text: Union[str, Dict[str, Any], ForwardRef('TextObject')], default_type: str = 'mrkdwn') ‑> Optional[TextObject] +def parse(text: str | Dict[str, Any] | ForwardRef('TextObject'),
default_type: str = 'mrkdwn') ‑> TextObject | None
@@ -6036,7 +6036,7 @@

Static methods

Instance variables

-
prop subtype : Optional[str]
+
prop subtype : str | None
@@ -6063,7 +6063,7 @@

Inherited members

class TimePickerElement -(*, action_id: Optional[str] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, initial_time: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, timezone: Optional[str] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | dict | TextObject | None = None,
initial_time: str | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
timezone: str | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -6190,7 +6190,7 @@

Inherited members

class UrlInputElement -(*, action_id: Optional[str] = None, initial_value: Optional[str] = None, dispatch_action_config: Union[dict, DispatchActionConfig, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, **others: dict) +(*,
action_id: str | None = None,
initial_value: str | None = None,
dispatch_action_config: dict | DispatchActionConfig | None = None,
focus_on_load: bool | None = None,
placeholder: str | dict | TextObject | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -6305,7 +6305,7 @@

Inherited members

class UserMultiSelectElement -(*, action_id: Optional[str] = None, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, initial_users: Optional[Sequence[str]] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, max_selected_items: Optional[int] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
action_id: str | None = None,
placeholder: str | dict | TextObject | None = None,
initial_users: Sequence[str] | None = None,
confirm: dict | ConfirmObject | None = None,
max_selected_items: int | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -6422,7 +6422,7 @@

Inherited members

class UserSelectElement -(*, placeholder: Union[str, dict, TextObject, ForwardRef(None)] = None, action_id: Optional[str] = None, initial_user: Optional[str] = None, confirm: Union[dict, ConfirmObject, ForwardRef(None)] = None, focus_on_load: Optional[bool] = None, **others: dict) +(*,
placeholder: str | dict | TextObject | None = None,
action_id: str | None = None,
initial_user: str | None = None,
confirm: dict | ConfirmObject | None = None,
focus_on_load: bool | None = None,
**others: dict)

Block Elements are things that exists inside of your Blocks. @@ -6532,7 +6532,7 @@

Inherited members

class VideoBlock -(*, block_id: Optional[str] = None, alt_text: Optional[str] = None, video_url: Optional[str] = None, thumbnail_url: Optional[str] = None, title: Union[str, dict, PlainTextObject, ForwardRef(None)] = None, title_url: Optional[str] = None, description: Union[str, dict, PlainTextObject, ForwardRef(None)] = None, provider_icon_url: Optional[str] = None, provider_name: Optional[str] = None, author_name: Optional[str] = None, **others: dict) +(*,
block_id: str | None = None,
alt_text: str | None = None,
video_url: str | None = None,
thumbnail_url: str | None = None,
title: str | dict | PlainTextObject | None = None,
title_url: str | None = None,
description: str | dict | PlainTextObject | None = None,
provider_icon_url: str | None = None,
provider_name: str | None = None,
author_name: str | None = None,
**others: dict)

Blocks are a series of components that can be combined @@ -7158,7 +7158,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/models/dialoags.html b/docs/static/api-docs/slack_sdk/models/dialoags.html index 521e89c1..8c0b068b 100644 --- a/docs/static/api-docs/slack_sdk/models/dialoags.html +++ b/docs/static/api-docs/slack_sdk/models/dialoags.html @@ -3,13 +3,13 @@ - + slack_sdk.models.dialoags API documentation - + @@ -37,7 +37,7 @@

Classes

class AbstractDialogSelector -(*, name: str, label: str, optional: bool = False, value: Union[Option, str, ForwardRef(None)] = None, placeholder: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
value: Option | str | None = None,
placeholder: str | None = None)

The base class for JSON serializable class objects

@@ -679,7 +679,7 @@

Args

-def channel_selector(self, *, name: str, label: str, optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) ‑> DialogBuilder +def channel_selector(self,
*,
name: str,
label: str,
optional: bool = False,
value: str | None = None,
placeholder: str | None = None) ‑> DialogBuilder

You can also provide a select menu with a list of channels. Specify your @@ -702,7 +702,7 @@

Args

-def conversation_selector(self, *, name: str, label: str, optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) ‑> DialogBuilder +def conversation_selector(self,
*,
name: str,
label: str,
optional: bool = False,
value: str | None = None,
placeholder: str | None = None) ‑> DialogBuilder

You can also provide a select menu with a list of conversations - including @@ -732,7 +732,7 @@

Args

-def external_selector(self, *, name: str, label: str, optional: bool = False, value: Optional[Option] = None, placeholder: Optional[str] = None, min_query_length: Optional[int] = None) ‑> DialogBuilder +def external_selector(self,
*,
name: str,
label: str,
optional: bool = False,
value: Option | None = None,
placeholder: str | None = None,
min_query_length: int | None = None) ‑> DialogBuilder

Use the select element for multiple choice selections allowing users to pick @@ -777,7 +777,7 @@

Args

-def state(self, state: Union[dict, str]) ‑> DialogBuilder +def state(self, state: dict | str) ‑> DialogBuilder

Pass state into this dialog - dictionaries will be automatically formatted to @@ -796,7 +796,7 @@

Args

-def static_selector(self, *, name: str, label: str, options: Union[Sequence[Option], Sequence[OptionGroup]], optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) ‑> DialogBuilder +def static_selector(self,
*,
name: str,
label: str,
options: Sequence[Option] | Sequence[OptionGroup],
optional: bool = False,
value: str | None = None,
placeholder: str | None = None) ‑> DialogBuilder

Use the select element for multiple choice selections allowing users to pick @@ -850,7 +850,7 @@

Args

-def text_area(self, *, name: str, label: str, optional: bool = False, placeholder: Optional[str] = None, hint: Optional[str] = None, value: Optional[str] = None, min_length: int = 0, max_length: int = 3000, subtype: Optional[str] = None) ‑> DialogBuilder +def text_area(self,
*,
name: str,
label: str,
optional: bool = False,
placeholder: str | None = None,
hint: str | None = None,
value: str | None = None,
min_length: int = 0,
max_length: int = 3000,
subtype: str | None = None) ‑> DialogBuilder

A textarea is a multi-line plain text editing control. You've likely @@ -889,7 +889,7 @@

Args

-def text_field(self, *, name: str, label: str, optional: bool = False, placeholder: Optional[str] = None, hint: Optional[str] = None, value: Optional[str] = None, min_length: int = 0, max_length: int = 150, subtype: Optional[str] = None) ‑> DialogBuilder +def text_field(self,
*,
name: str,
label: str,
optional: bool = False,
placeholder: str | None = None,
hint: str | None = None,
value: str | None = None,
min_length: int = 0,
max_length: int = 150,
subtype: str | None = None) ‑> DialogBuilder

Text elements are single-line plain text fields.

@@ -947,7 +947,7 @@

Args

-def user_selector(self, *, name: str, label: str, optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) ‑> DialogBuilder +def user_selector(self,
*,
name: str,
label: str,
optional: bool = False,
value: str | None = None,
placeholder: str | None = None) ‑> DialogBuilder

Now you can easily populate a select menu with a list of users. For example, @@ -986,7 +986,7 @@

Inherited members

class DialogChannelSelector -(*, name: str, label: str, optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
value: str | None = None,
placeholder: str | None = None)

The base class for JSON serializable class objects

@@ -1078,7 +1078,7 @@

Inherited members

class DialogConversationSelector -(*, name: str, label: str, optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
value: str | None = None,
placeholder: str | None = None)

The base class for JSON serializable class objects

@@ -1172,7 +1172,7 @@

Inherited members

class DialogExternalSelector -(*, name: str, label: str, value: Optional[Option] = None, min_query_length: Optional[int] = None, optional: Optional[bool] = False, placeholder: Optional[str] = None) +(*,
name: str,
label: str,
value: Option | None = None,
min_query_length: int | None = None,
optional: bool | None = False,
placeholder: str | None = None)

The base class for JSON serializable class objects

@@ -1298,7 +1298,7 @@

Inherited members

class DialogStaticSelector -(*, name: str, label: str, options: Union[Sequence[Option], Sequence[OptionGroup]], optional: bool = False, value: Union[Option, str, ForwardRef(None)] = None, placeholder: Optional[str] = None) +(*,
name: str,
label: str,
options: Sequence[Option] | Sequence[OptionGroup],
optional: bool = False,
value: Option | str | None = None,
placeholder: str | None = None)

Use the select element for multiple choice selections allowing users to pick a @@ -1442,7 +1442,7 @@

Inherited members

class DialogTextArea -(*, name: str, label: str, optional: bool = False, placeholder: Optional[str] = None, hint: Optional[str] = None, value: Optional[str] = None, min_length: int = 0, max_length: Optional[int] = None, subtype: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
placeholder: str | None = None,
hint: str | None = None,
value: str | None = None,
min_length: int = 0,
max_length: int | None = None,
subtype: str | None = None)

A textarea is a multi-line plain text editing control. You've likely encountered @@ -1502,7 +1502,7 @@

Inherited members

class DialogTextComponent -(*, name: str, label: str, optional: bool = False, placeholder: Optional[str] = None, hint: Optional[str] = None, value: Optional[str] = None, min_length: int = 0, max_length: Optional[int] = None, subtype: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
placeholder: str | None = None,
hint: str | None = None,
value: str | None = None,
min_length: int = 0,
max_length: int | None = None,
subtype: str | None = None)

The base class for JSON serializable class objects

@@ -1747,7 +1747,7 @@

Inherited members

class DialogTextField -(*, name: str, label: str, optional: bool = False, placeholder: Optional[str] = None, hint: Optional[str] = None, value: Optional[str] = None, min_length: int = 0, max_length: Optional[int] = None, subtype: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
placeholder: str | None = None,
hint: str | None = None,
value: str | None = None,
min_length: int = 0,
max_length: int | None = None,
subtype: str | None = None)

Text elements are single-line plain text fields.

@@ -1801,7 +1801,7 @@

Inherited members

class DialogUserSelector -(*, name: str, label: str, optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
value: str | None = None,
placeholder: str | None = None)

The base class for JSON serializable class objects

@@ -2027,7 +2027,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/models/dialogs/index.html b/docs/static/api-docs/slack_sdk/models/dialogs/index.html index b3ac044f..e9639de9 100644 --- a/docs/static/api-docs/slack_sdk/models/dialogs/index.html +++ b/docs/static/api-docs/slack_sdk/models/dialogs/index.html @@ -3,13 +3,13 @@ - + slack_sdk.models.dialogs API documentation - + @@ -37,7 +37,7 @@

Classes

class AbstractDialogSelector -(*, name: str, label: str, optional: bool = False, value: Union[Option, str, ForwardRef(None)] = None, placeholder: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
value: Option | str | None = None,
placeholder: str | None = None)

The base class for JSON serializable class objects

@@ -679,7 +679,7 @@

Args

-def channel_selector(self, *, name: str, label: str, optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) ‑> DialogBuilder +def channel_selector(self,
*,
name: str,
label: str,
optional: bool = False,
value: str | None = None,
placeholder: str | None = None) ‑> DialogBuilder

You can also provide a select menu with a list of channels. Specify your @@ -702,7 +702,7 @@

Args

-def conversation_selector(self, *, name: str, label: str, optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) ‑> DialogBuilder +def conversation_selector(self,
*,
name: str,
label: str,
optional: bool = False,
value: str | None = None,
placeholder: str | None = None) ‑> DialogBuilder

You can also provide a select menu with a list of conversations - including @@ -732,7 +732,7 @@

Args

-def external_selector(self, *, name: str, label: str, optional: bool = False, value: Optional[Option] = None, placeholder: Optional[str] = None, min_query_length: Optional[int] = None) ‑> DialogBuilder +def external_selector(self,
*,
name: str,
label: str,
optional: bool = False,
value: Option | None = None,
placeholder: str | None = None,
min_query_length: int | None = None) ‑> DialogBuilder

Use the select element for multiple choice selections allowing users to pick @@ -777,7 +777,7 @@

Args

-def state(self, state: Union[dict, str]) ‑> DialogBuilder +def state(self, state: dict | str) ‑> DialogBuilder

Pass state into this dialog - dictionaries will be automatically formatted to @@ -796,7 +796,7 @@

Args

-def static_selector(self, *, name: str, label: str, options: Union[Sequence[Option], Sequence[OptionGroup]], optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) ‑> DialogBuilder +def static_selector(self,
*,
name: str,
label: str,
options: Sequence[Option] | Sequence[OptionGroup],
optional: bool = False,
value: str | None = None,
placeholder: str | None = None) ‑> DialogBuilder

Use the select element for multiple choice selections allowing users to pick @@ -850,7 +850,7 @@

Args

-def text_area(self, *, name: str, label: str, optional: bool = False, placeholder: Optional[str] = None, hint: Optional[str] = None, value: Optional[str] = None, min_length: int = 0, max_length: int = 3000, subtype: Optional[str] = None) ‑> DialogBuilder +def text_area(self,
*,
name: str,
label: str,
optional: bool = False,
placeholder: str | None = None,
hint: str | None = None,
value: str | None = None,
min_length: int = 0,
max_length: int = 3000,
subtype: str | None = None) ‑> DialogBuilder

A textarea is a multi-line plain text editing control. You've likely @@ -889,7 +889,7 @@

Args

-def text_field(self, *, name: str, label: str, optional: bool = False, placeholder: Optional[str] = None, hint: Optional[str] = None, value: Optional[str] = None, min_length: int = 0, max_length: int = 150, subtype: Optional[str] = None) ‑> DialogBuilder +def text_field(self,
*,
name: str,
label: str,
optional: bool = False,
placeholder: str | None = None,
hint: str | None = None,
value: str | None = None,
min_length: int = 0,
max_length: int = 150,
subtype: str | None = None) ‑> DialogBuilder

Text elements are single-line plain text fields.

@@ -947,7 +947,7 @@

Args

-def user_selector(self, *, name: str, label: str, optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) ‑> DialogBuilder +def user_selector(self,
*,
name: str,
label: str,
optional: bool = False,
value: str | None = None,
placeholder: str | None = None) ‑> DialogBuilder

Now you can easily populate a select menu with a list of users. For example, @@ -986,7 +986,7 @@

Inherited members

class DialogChannelSelector -(*, name: str, label: str, optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
value: str | None = None,
placeholder: str | None = None)

The base class for JSON serializable class objects

@@ -1078,7 +1078,7 @@

Inherited members

class DialogConversationSelector -(*, name: str, label: str, optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
value: str | None = None,
placeholder: str | None = None)

The base class for JSON serializable class objects

@@ -1172,7 +1172,7 @@

Inherited members

class DialogExternalSelector -(*, name: str, label: str, value: Optional[Option] = None, min_query_length: Optional[int] = None, optional: Optional[bool] = False, placeholder: Optional[str] = None) +(*,
name: str,
label: str,
value: Option | None = None,
min_query_length: int | None = None,
optional: bool | None = False,
placeholder: str | None = None)

The base class for JSON serializable class objects

@@ -1298,7 +1298,7 @@

Inherited members

class DialogStaticSelector -(*, name: str, label: str, options: Union[Sequence[Option], Sequence[OptionGroup]], optional: bool = False, value: Union[Option, str, ForwardRef(None)] = None, placeholder: Optional[str] = None) +(*,
name: str,
label: str,
options: Sequence[Option] | Sequence[OptionGroup],
optional: bool = False,
value: Option | str | None = None,
placeholder: str | None = None)

Use the select element for multiple choice selections allowing users to pick a @@ -1442,7 +1442,7 @@

Inherited members

class DialogTextArea -(*, name: str, label: str, optional: bool = False, placeholder: Optional[str] = None, hint: Optional[str] = None, value: Optional[str] = None, min_length: int = 0, max_length: Optional[int] = None, subtype: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
placeholder: str | None = None,
hint: str | None = None,
value: str | None = None,
min_length: int = 0,
max_length: int | None = None,
subtype: str | None = None)

A textarea is a multi-line plain text editing control. You've likely encountered @@ -1502,7 +1502,7 @@

Inherited members

class DialogTextComponent -(*, name: str, label: str, optional: bool = False, placeholder: Optional[str] = None, hint: Optional[str] = None, value: Optional[str] = None, min_length: int = 0, max_length: Optional[int] = None, subtype: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
placeholder: str | None = None,
hint: str | None = None,
value: str | None = None,
min_length: int = 0,
max_length: int | None = None,
subtype: str | None = None)

The base class for JSON serializable class objects

@@ -1747,7 +1747,7 @@

Inherited members

class DialogTextField -(*, name: str, label: str, optional: bool = False, placeholder: Optional[str] = None, hint: Optional[str] = None, value: Optional[str] = None, min_length: int = 0, max_length: Optional[int] = None, subtype: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
placeholder: str | None = None,
hint: str | None = None,
value: str | None = None,
min_length: int = 0,
max_length: int | None = None,
subtype: str | None = None)

Text elements are single-line plain text fields.

@@ -1801,7 +1801,7 @@

Inherited members

class DialogUserSelector -(*, name: str, label: str, optional: bool = False, value: Optional[str] = None, placeholder: Optional[str] = None) +(*,
name: str,
label: str,
optional: bool = False,
value: str | None = None,
placeholder: str | None = None)

The base class for JSON serializable class objects

@@ -2027,7 +2027,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/models/index.html b/docs/static/api-docs/slack_sdk/models/index.html index a80a730d..ccfd2ac9 100644 --- a/docs/static/api-docs/slack_sdk/models/index.html +++ b/docs/static/api-docs/slack_sdk/models/index.html @@ -3,13 +3,13 @@ - + slack_sdk.models API documentation - + @@ -70,7 +70,7 @@

Sub-modules

Functions

-def extract_json(item_or_items: Union[JsonObject, Sequence[JsonObject]], *format_args) ‑> Union[Dict[Any, Any], List[Dict[Any, Any]]] +def extract_json(item_or_items: JsonObject | Sequence[JsonObject],
*format_args) ‑> Dict[Any, Any] | List[Dict[Any, Any]]

Given a sequence (or single item), attempt to call the to_dict() method on each @@ -86,7 +86,7 @@

Args

-def show_unknown_key_warning(name: Union[str, object], others: dict) +def show_unknown_key_warning(name: str | object, others: dict)
@@ -408,7 +408,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/models/messages/index.html b/docs/static/api-docs/slack_sdk/models/messages/index.html index 85156550..45570b9e 100644 --- a/docs/static/api-docs/slack_sdk/models/messages/index.html +++ b/docs/static/api-docs/slack_sdk/models/messages/index.html @@ -3,13 +3,13 @@ - + slack_sdk.models.messages API documentation - + @@ -68,7 +68,7 @@

Ancestors

The base class for all model objects in this module

@@ -283,7 +283,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/models/messages/message.html b/docs/static/api-docs/slack_sdk/models/messages/message.html index 6ce35b54..fb13f3c2 100644 --- a/docs/static/api-docs/slack_sdk/models/messages/message.html +++ b/docs/static/api-docs/slack_sdk/models/messages/message.html @@ -3,13 +3,13 @@ - + slack_sdk.models.messages.message API documentation - + @@ -37,7 +37,7 @@

Classes

class Message -(*, text: str, attachments: Optional[Sequence[Attachment]] = None, blocks: Optional[Sequence[Block]] = None, markdown: bool = True) +(*,
text: str,
attachments: Sequence[Attachment] | None = None,
blocks: Sequence[Block] | None = None,
markdown: bool = True)

The base class for JSON serializable class objects

@@ -181,7 +181,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/models/metadata/index.html b/docs/static/api-docs/slack_sdk/models/metadata/index.html index 3067f5dc..3305b531 100644 --- a/docs/static/api-docs/slack_sdk/models/metadata/index.html +++ b/docs/static/api-docs/slack_sdk/models/metadata/index.html @@ -3,13 +3,13 @@ - + slack_sdk.models.metadata API documentation - + @@ -114,7 +114,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/models/views/index.html b/docs/static/api-docs/slack_sdk/models/views/index.html index ea57a21e..82b50f9d 100644 --- a/docs/static/api-docs/slack_sdk/models/views/index.html +++ b/docs/static/api-docs/slack_sdk/models/views/index.html @@ -3,13 +3,13 @@ - + slack_sdk.models.views API documentation - + @@ -37,7 +37,7 @@

Classes

class View -(type: str, id: Optional[str] = None, callback_id: Optional[str] = None, external_id: Optional[str] = None, team_id: Optional[str] = None, bot_id: Optional[str] = None, app_id: Optional[str] = None, root_view_id: Optional[str] = None, previous_view_id: Optional[str] = None, title: Union[str, dict, PlainTextObject, ForwardRef(None)] = None, submit: Union[str, dict, PlainTextObject, ForwardRef(None)] = None, close: Union[str, dict, PlainTextObject, ForwardRef(None)] = None, blocks: Optional[Sequence[Union[dict, Block]]] = None, private_metadata: Optional[str] = None, state: Union[dict, ForwardRef('ViewState'), ForwardRef(None)] = None, hash: Optional[str] = None, clear_on_close: Optional[bool] = None, notify_on_close: Optional[bool] = None, **kwargs) +(type: str,
id: str | None = None,
callback_id: str | None = None,
external_id: str | None = None,
team_id: str | None = None,
bot_id: str | None = None,
app_id: str | None = None,
root_view_id: str | None = None,
previous_view_id: str | None = None,
title: str | dict | PlainTextObject | None = None,
submit: str | dict | PlainTextObject | None = None,
close: str | dict | PlainTextObject | None = None,
blocks: Sequence[dict | Block] | None = None,
private_metadata: str | None = None,
state: dict | ForwardRef('ViewState') | None = None,
hash: str | None = None,
clear_on_close: bool | None = None,
notify_on_close: bool | None = None,
**kwargs)

View object for modals and Home tabs.

@@ -215,7 +215,7 @@

Inherited members

class ViewState -(*, values: Dict[str, Dict[str, Union[dict, ForwardRef('ViewStateValue')]]]) +(*,
values: Dict[str, Dict[str, dict | ForwardRef('ViewStateValue')]])

The base class for JSON serializable class objects

@@ -302,7 +302,7 @@

Inherited members

class ViewStateValue -(*, type: Optional[str] = None, value: Optional[str] = None, selected_date: Optional[str] = None, selected_time: Optional[str] = None, selected_conversation: Optional[str] = None, selected_channel: Optional[str] = None, selected_user: Optional[str] = None, selected_option: Union[dict, Option, ForwardRef(None)] = None, selected_conversations: Optional[Sequence[str]] = None, selected_channels: Optional[Sequence[str]] = None, selected_users: Optional[Sequence[str]] = None, selected_options: Optional[Sequence[Union[dict, Option]]] = None) +(*,
type: str | None = None,
value: str | None = None,
selected_date: str | None = None,
selected_time: str | None = None,
selected_conversation: str | None = None,
selected_channel: str | None = None,
selected_user: str | None = None,
selected_option: dict | Option | None = None,
selected_conversations: Sequence[str] | None = None,
selected_channels: Sequence[str] | None = None,
selected_users: Sequence[str] | None = None,
selected_options: Sequence[dict | Option] | None = None)

The base class for JSON serializable class objects

@@ -423,7 +423,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/authorize_url_generator/index.html b/docs/static/api-docs/slack_sdk/oauth/authorize_url_generator/index.html index eddf5b53..a6d12dfd 100644 --- a/docs/static/api-docs/slack_sdk/oauth/authorize_url_generator/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/authorize_url_generator/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.authorize_url_generator API documentation - + @@ -37,7 +37,7 @@

Classes

class AuthorizeUrlGenerator -(*, client_id: str, redirect_uri: Optional[str] = None, scopes: Optional[Sequence[str]] = None, user_scopes: Optional[Sequence[str]] = None, authorization_url: str = 'https://slack.com/oauth/v2/authorize') +(*,
client_id: str,
redirect_uri: str | None = None,
scopes: Sequence[str] | None = None,
user_scopes: Sequence[str] | None = None,
authorization_url: str = 'https://slack.com/oauth/v2/authorize')
@@ -80,7 +80,7 @@

Classes

Methods

-def generate(self, state: str, team: Optional[str] = None) ‑> str +def generate(self, state: str, team: str | None = None) ‑> str
@@ -89,7 +89,7 @@

Methods

class OpenIDConnectAuthorizeUrlGenerator -(*, client_id: str, redirect_uri: str, scopes: Optional[Sequence[str]] = None, authorization_url: str = 'https://slack.com/openid/connect/authorize') +(*,
client_id: str,
redirect_uri: str,
scopes: Sequence[str] | None = None,
authorization_url: str = 'https://slack.com/openid/connect/authorize')
@@ -132,7 +132,7 @@

Methods

Methods

-def generate(self, state: str, nonce: Optional[str] = None, team: Optional[str] = None) ‑> str +def generate(self, state: str, nonce: str | None = None, team: str | None = None) ‑> str
@@ -172,7 +172,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/index.html b/docs/static/api-docs/slack_sdk/oauth/index.html index 2bb9ddd5..bcd9c4b2 100644 --- a/docs/static/api-docs/slack_sdk/oauth/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth API documentation - + @@ -66,7 +66,7 @@

Classes

class AuthorizeUrlGenerator -(*, client_id: str, redirect_uri: Optional[str] = None, scopes: Optional[Sequence[str]] = None, user_scopes: Optional[Sequence[str]] = None, authorization_url: str = 'https://slack.com/oauth/v2/authorize') +(*,
client_id: str,
redirect_uri: str | None = None,
scopes: Sequence[str] | None = None,
user_scopes: Sequence[str] | None = None,
authorization_url: str = 'https://slack.com/oauth/v2/authorize')
@@ -109,7 +109,7 @@

Classes

Methods

-def generate(self, state: str, team: Optional[str] = None) ‑> str +def generate(self, state: str, team: str | None = None) ‑> str
@@ -255,44 +255,44 @@

Instance variables

Methods

-def delete_all(self, *, enterprise_id: Optional[str], team_id: Optional[str]) +def delete_all(self, *, enterprise_id: str | None, team_id: str | None)

Deletes all installation data for the given workspace / org

-def delete_bot(self, *, enterprise_id: Optional[str], team_id: Optional[str]) ‑> None +def delete_bot(self, *, enterprise_id: str | None, team_id: str | None) ‑> None

Deletes a bot scope installation per workspace / org

-def delete_installation(self, *, enterprise_id: Optional[str], team_id: Optional[str], user_id: Optional[str] = None) ‑> None +def delete_installation(self, *, enterprise_id: str | None, team_id: str | None, user_id: str | None = None) ‑> None

Deletes an installation that matches the given IDs

-def find_bot(self, *, enterprise_id: Optional[str], team_id: Optional[str], is_enterprise_install: Optional[bool] = False) ‑> Optional[Bot] +def find_bot(self,
*,
enterprise_id: str | None,
team_id: str | None,
is_enterprise_install: bool | None = False) ‑> Bot | None

Finds a bot scope installation per workspace / org

-def find_installation(self, *, enterprise_id: Optional[str], team_id: Optional[str], user_id: Optional[str] = None, is_enterprise_install: Optional[bool] = False) ‑> Optional[Installation] +def find_installation(self,
*,
enterprise_id: str | None,
team_id: str | None,
user_id: str | None = None,
is_enterprise_install: bool | None = False) ‑> Installation | None

Finds a relevant installation for the given IDs. If the user_id is absent, this method may return the latest installation in the workspace / org.

-def save(self, installation: Installation) +def save(self,
installation: Installation)

Saves an installation data

-def save_bot(self, bot: Bot) +def save_bot(self,
bot: Bot)

Saves a bot installation data

@@ -440,7 +440,7 @@

Methods

-def is_valid_browser(self, state: Optional[str], request_headers: Dict[str, Union[str, Sequence[str]]]) ‑> bool +def is_valid_browser(self, state: str | None, request_headers: Dict[str, str | Sequence[str]]) ‑> bool
@@ -449,7 +449,7 @@

Methods

class OpenIDConnectAuthorizeUrlGenerator -(*, client_id: str, redirect_uri: str, scopes: Optional[Sequence[str]] = None, authorization_url: str = 'https://slack.com/openid/connect/authorize') +(*,
client_id: str,
redirect_uri: str,
scopes: Sequence[str] | None = None,
authorization_url: str = 'https://slack.com/openid/connect/authorize')
@@ -492,7 +492,7 @@

Methods

Methods

-def generate(self, state: str, nonce: Optional[str] = None, team: Optional[str] = None) ‑> str +def generate(self, state: str, nonce: str | None = None, team: str | None = None) ‑> str
@@ -501,7 +501,7 @@

Methods

class RedirectUriPageRenderer -(*, install_path: str, redirect_uri_path: str, success_url: Optional[str] = None, failure_url: Optional[str] = None) +(*,
install_path: str,
redirect_uri_path: str,
success_url: str | None = None,
failure_url: str | None = None)
@@ -587,7 +587,7 @@

Methods

-def render_success_page(self, app_id: str, team_id: Optional[str], is_enterprise_install: Optional[bool] = None, enterprise_url: Optional[str] = None) ‑> str +def render_success_page(self,
app_id: str,
team_id: str | None,
is_enterprise_install: bool | None = None,
enterprise_url: str | None = None) ‑> str
@@ -677,7 +677,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/installation_store/amazon_s3/index.html b/docs/static/api-docs/slack_sdk/oauth/installation_store/amazon_s3/index.html index 23f74f25..41db9932 100644 --- a/docs/static/api-docs/slack_sdk/oauth/installation_store/amazon_s3/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/installation_store/amazon_s3/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.installation_store.amazon_s3 API documentation - + @@ -37,7 +37,7 @@

Classes

class AmazonS3InstallationStore -(*, s3_client: botocore.client.BaseClient, bucket_name: str, client_id: str, historical_data_enabled: bool = True, logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.amazon_s3 (WARNING)>) +(*,
s3_client: botocore.client.BaseClient,
bucket_name: str,
client_id: str,
historical_data_enabled: bool = True,
logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.amazon_s3 (WARNING)>)

The installation store interface.

@@ -510,7 +510,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/installation_store/async_cacheable_installation_store.html b/docs/static/api-docs/slack_sdk/oauth/installation_store/async_cacheable_installation_store.html index 4299ba1c..c2287313 100644 --- a/docs/static/api-docs/slack_sdk/oauth/installation_store/async_cacheable_installation_store.html +++ b/docs/static/api-docs/slack_sdk/oauth/installation_store/async_cacheable_installation_store.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.installation_store.async_cacheable_installation_store API documentation - + @@ -276,7 +276,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/installation_store/async_installation_store.html b/docs/static/api-docs/slack_sdk/oauth/installation_store/async_installation_store.html index f83f9ce2..dc33745b 100644 --- a/docs/static/api-docs/slack_sdk/oauth/installation_store/async_installation_store.html +++ b/docs/static/api-docs/slack_sdk/oauth/installation_store/async_installation_store.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.installation_store.async_installation_store API documentation - + @@ -173,44 +173,44 @@

Instance variables

Methods

-async def async_delete_all(self, *, enterprise_id: Optional[str], team_id: Optional[str]) +async def async_delete_all(self, *, enterprise_id: str | None, team_id: str | None)

Deletes all installation data for the given workspace / org

-async def async_delete_bot(self, *, enterprise_id: Optional[str], team_id: Optional[str]) ‑> None +async def async_delete_bot(self, *, enterprise_id: str | None, team_id: str | None) ‑> None

Deletes a bot scope installation per workspace / org

-async def async_delete_installation(self, *, enterprise_id: Optional[str], team_id: Optional[str], user_id: Optional[str] = None) ‑> None +async def async_delete_installation(self, *, enterprise_id: str | None, team_id: str | None, user_id: str | None = None) ‑> None

Deletes an installation that matches the given IDs

-async def async_find_bot(self, *, enterprise_id: Optional[str], team_id: Optional[str], is_enterprise_install: Optional[bool] = False) ‑> Optional[Bot] +async def async_find_bot(self,
*,
enterprise_id: str | None,
team_id: str | None,
is_enterprise_install: bool | None = False) ‑> Bot | None

Finds a bot scope installation per workspace / org

-async def async_find_installation(self, *, enterprise_id: Optional[str], team_id: Optional[str], user_id: Optional[str] = None, is_enterprise_install: Optional[bool] = False) ‑> Optional[Installation] +async def async_find_installation(self,
*,
enterprise_id: str | None,
team_id: str | None,
user_id: str | None = None,
is_enterprise_install: bool | None = False) ‑> Installation | None

Finds a relevant installation for the given IDs. If the user_id is absent, this method may return the latest installation in the workspace / org.

-async def async_save(self, installation: Installation) +async def async_save(self,
installation: Installation)

Saves an installation data

-async def async_save_bot(self, bot: Bot) +async def async_save_bot(self,
bot: Bot)

Saves a bot installation data

@@ -251,7 +251,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/installation_store/cacheable_installation_store.html b/docs/static/api-docs/slack_sdk/oauth/installation_store/cacheable_installation_store.html index 07aba272..6f8d68f3 100644 --- a/docs/static/api-docs/slack_sdk/oauth/installation_store/cacheable_installation_store.html +++ b/docs/static/api-docs/slack_sdk/oauth/installation_store/cacheable_installation_store.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.installation_store.cacheable_installation_store API documentation - + @@ -278,7 +278,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/installation_store/file/index.html b/docs/static/api-docs/slack_sdk/oauth/installation_store/file/index.html index 4728d330..67bdcf82 100644 --- a/docs/static/api-docs/slack_sdk/oauth/installation_store/file/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/installation_store/file/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.installation_store.file API documentation - + @@ -37,7 +37,7 @@

Classes

class FileInstallationStore -(*, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.file (WARNING)>) +(*,
base_dir: str = '/Users/kazuhiro.sera/.bolt-app-installation',
historical_data_enabled: bool = True,
client_id: str | None = None,
logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.file (WARNING)>)

The installation store interface.

@@ -411,7 +411,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/installation_store/index.html b/docs/static/api-docs/slack_sdk/oauth/installation_store/index.html index 11ee25a2..91ee9379 100644 --- a/docs/static/api-docs/slack_sdk/oauth/installation_store/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/installation_store/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.installation_store API documentation - + @@ -80,7 +80,7 @@

Classes

class Bot -(*, app_id: Optional[str] = None, enterprise_id: Optional[str] = None, enterprise_name: Optional[str] = None, team_id: Optional[str] = None, team_name: Optional[str] = None, bot_token: str, bot_id: str, bot_user_id: str, bot_scopes: Union[str, Sequence[str]] = '', bot_refresh_token: Optional[str] = None, bot_token_expires_in: Optional[int] = None, bot_token_expires_at: Union[int, datetime.datetime, str, ForwardRef(None)] = None, is_enterprise_install: Optional[bool] = False, installed_at: Union[float, datetime.datetime, str], custom_values: Optional[Dict[str, Any]] = None) +(*,
app_id: str | None = None,
enterprise_id: str | None = None,
enterprise_name: str | None = None,
team_id: str | None = None,
team_name: str | None = None,
bot_token: str,
bot_id: str,
bot_user_id: str,
bot_scopes: str | Sequence[str] = '',
bot_refresh_token: str | None = None,
bot_token_expires_in: int | None = None,
bot_token_expires_at: int | datetime.datetime | str | None = None,
is_enterprise_install: bool | None = False,
installed_at: float | datetime.datetime | str,
custom_values: Dict[str, Any] | None = None)
@@ -194,7 +194,7 @@

Classes

Class variables

-
var app_id : Optional[str]
+
var app_id : str | None
@@ -202,7 +202,7 @@

Class variables

-
var bot_refresh_token : Optional[str]
+
var bot_refresh_token : str | None
@@ -214,7 +214,7 @@

Class variables

-
var bot_token_expires_at : Optional[int]
+
var bot_token_expires_at : int | None
@@ -226,11 +226,11 @@

Class variables

-
var enterprise_id : Optional[str]
+
var enterprise_id : str | None
-
var enterprise_name : Optional[str]
+
var enterprise_name : str | None
@@ -242,11 +242,11 @@

Class variables

-
var team_id : Optional[str]
+
var team_id : str | None
-
var team_name : Optional[str]
+
var team_name : str | None
@@ -254,7 +254,7 @@

Class variables

Methods

-def get_custom_value(self, name: str) ‑> Optional[Any] +def get_custom_value(self, name: str) ‑> Any | None
@@ -275,7 +275,7 @@

Methods

class FileInstallationStore -(*, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.file (WARNING)>) +(*,
base_dir: str = '/Users/kazuhiro.sera/.bolt-app-installation',
historical_data_enabled: bool = True,
client_id: str | None = None,
logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.file (WARNING)>)

The installation store interface.

@@ -624,7 +624,7 @@

Inherited members

class Installation -(*, app_id: Optional[str] = None, enterprise_id: Optional[str] = None, enterprise_name: Optional[str] = None, enterprise_url: Optional[str] = None, team_id: Optional[str] = None, team_name: Optional[str] = None, bot_token: Optional[str] = None, bot_id: Optional[str] = None, bot_user_id: Optional[str] = None, bot_scopes: Union[str, Sequence[str]] = '', bot_refresh_token: Optional[str] = None, bot_token_expires_in: Optional[int] = None, bot_token_expires_at: Union[int, datetime.datetime, str, ForwardRef(None)] = None, user_id: str, user_token: Optional[str] = None, user_scopes: Union[str, Sequence[str]] = '', user_refresh_token: Optional[str] = None, user_token_expires_in: Optional[int] = None, user_token_expires_at: Union[int, datetime.datetime, str, ForwardRef(None)] = None, incoming_webhook_url: Optional[str] = None, incoming_webhook_channel: Optional[str] = None, incoming_webhook_channel_id: Optional[str] = None, incoming_webhook_configuration_url: Optional[str] = None, is_enterprise_install: Optional[bool] = False, token_type: Optional[str] = None, installed_at: Union[float, datetime.datetime, str, ForwardRef(None)] = None, custom_values: Optional[Dict[str, Any]] = None) +(*,
app_id: str | None = None,
enterprise_id: str | None = None,
enterprise_name: str | None = None,
enterprise_url: str | None = None,
team_id: str | None = None,
team_name: str | None = None,
bot_token: str | None = None,
bot_id: str | None = None,
bot_user_id: str | None = None,
bot_scopes: str | Sequence[str] = '',
bot_refresh_token: str | None = None,
bot_token_expires_in: int | None = None,
bot_token_expires_at: int | datetime.datetime | str | None = None,
user_id: str,
user_token: str | None = None,
user_scopes: str | Sequence[str] = '',
user_refresh_token: str | None = None,
user_token_expires_in: int | None = None,
user_token_expires_at: int | datetime.datetime | str | None = None,
incoming_webhook_url: str | None = None,
incoming_webhook_channel: str | None = None,
incoming_webhook_channel_id: str | None = None,
incoming_webhook_configuration_url: str | None = None,
is_enterprise_install: bool | None = False,
token_type: str | None = None,
installed_at: float | datetime.datetime | str | None = None,
custom_values: Dict[str, Any] | None = None)
@@ -822,31 +822,31 @@

Inherited members

Class variables

-
var app_id : Optional[str]
+
var app_id : str | None
-
var bot_id : Optional[str]
+
var bot_id : str | None
-
var bot_refresh_token : Optional[str]
+
var bot_refresh_token : str | None
-
var bot_scopes : Optional[Sequence[str]]
+
var bot_scopes : Sequence[str] | None
-
var bot_token : Optional[str]
+
var bot_token : str | None
-
var bot_token_expires_at : Optional[int]
+
var bot_token_expires_at : int | None
-
var bot_user_id : Optional[str]
+
var bot_user_id : str | None
@@ -854,31 +854,31 @@

Class variables

-
var enterprise_id : Optional[str]
+
var enterprise_id : str | None
-
var enterprise_name : Optional[str]
+
var enterprise_name : str | None
-
var enterprise_url : Optional[str]
+
var enterprise_url : str | None
-
var incoming_webhook_channel : Optional[str]
+
var incoming_webhook_channel : str | None
-
var incoming_webhook_channel_id : Optional[str]
+
var incoming_webhook_channel_id : str | None
-
var incoming_webhook_configuration_url : Optional[str]
+
var incoming_webhook_configuration_url : str | None
-
var incoming_webhook_url : Optional[str]
+
var incoming_webhook_url : str | None
@@ -890,15 +890,15 @@

Class variables

-
var team_id : Optional[str]
+
var team_id : str | None
-
var team_name : Optional[str]
+
var team_name : str | None
-
var token_type : Optional[str]
+
var token_type : str | None
@@ -906,19 +906,19 @@

Class variables

-
var user_refresh_token : Optional[str]
+
var user_refresh_token : str | None
-
var user_scopes : Optional[Sequence[str]]
+
var user_scopes : Sequence[str] | None
-
var user_token : Optional[str]
+
var user_token : str | None
-
var user_token_expires_at : Optional[int]
+
var user_token_expires_at : int | None
@@ -926,7 +926,7 @@

Class variables

Methods

-def get_custom_value(self, name: str) ‑> Optional[Any] +def get_custom_value(self, name: str) ‑> Any | None
@@ -1090,44 +1090,44 @@

Instance variables

Methods

-def delete_all(self, *, enterprise_id: Optional[str], team_id: Optional[str]) +def delete_all(self, *, enterprise_id: str | None, team_id: str | None)

Deletes all installation data for the given workspace / org

-def delete_bot(self, *, enterprise_id: Optional[str], team_id: Optional[str]) ‑> None +def delete_bot(self, *, enterprise_id: str | None, team_id: str | None) ‑> None

Deletes a bot scope installation per workspace / org

-def delete_installation(self, *, enterprise_id: Optional[str], team_id: Optional[str], user_id: Optional[str] = None) ‑> None +def delete_installation(self, *, enterprise_id: str | None, team_id: str | None, user_id: str | None = None) ‑> None

Deletes an installation that matches the given IDs

-def find_bot(self, *, enterprise_id: Optional[str], team_id: Optional[str], is_enterprise_install: Optional[bool] = False) ‑> Optional[Bot] +def find_bot(self,
*,
enterprise_id: str | None,
team_id: str | None,
is_enterprise_install: bool | None = False) ‑> Bot | None

Finds a bot scope installation per workspace / org

-def find_installation(self, *, enterprise_id: Optional[str], team_id: Optional[str], user_id: Optional[str] = None, is_enterprise_install: Optional[bool] = False) ‑> Optional[Installation] +def find_installation(self,
*,
enterprise_id: str | None,
team_id: str | None,
user_id: str | None = None,
is_enterprise_install: bool | None = False) ‑> Installation | None

Finds a relevant installation for the given IDs. If the user_id is absent, this method may return the latest installation in the workspace / org.

-def save(self, installation: Installation) +def save(self,
installation: Installation)

Saves an installation data

-def save_bot(self, bot: Bot) +def save_bot(self,
bot: Bot)

Saves a bot installation data

@@ -1244,7 +1244,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/installation_store/installation_store.html b/docs/static/api-docs/slack_sdk/oauth/installation_store/installation_store.html index 44fd9b40..b889403e 100644 --- a/docs/static/api-docs/slack_sdk/oauth/installation_store/installation_store.html +++ b/docs/static/api-docs/slack_sdk/oauth/installation_store/installation_store.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.installation_store.installation_store API documentation - + @@ -176,44 +176,44 @@

Instance variables

Methods

-def delete_all(self, *, enterprise_id: Optional[str], team_id: Optional[str]) +def delete_all(self, *, enterprise_id: str | None, team_id: str | None)

Deletes all installation data for the given workspace / org

-def delete_bot(self, *, enterprise_id: Optional[str], team_id: Optional[str]) ‑> None +def delete_bot(self, *, enterprise_id: str | None, team_id: str | None) ‑> None

Deletes a bot scope installation per workspace / org

-def delete_installation(self, *, enterprise_id: Optional[str], team_id: Optional[str], user_id: Optional[str] = None) ‑> None +def delete_installation(self, *, enterprise_id: str | None, team_id: str | None, user_id: str | None = None) ‑> None

Deletes an installation that matches the given IDs

-def find_bot(self, *, enterprise_id: Optional[str], team_id: Optional[str], is_enterprise_install: Optional[bool] = False) ‑> Optional[Bot] +def find_bot(self,
*,
enterprise_id: str | None,
team_id: str | None,
is_enterprise_install: bool | None = False) ‑> Bot | None

Finds a bot scope installation per workspace / org

-def find_installation(self, *, enterprise_id: Optional[str], team_id: Optional[str], user_id: Optional[str] = None, is_enterprise_install: Optional[bool] = False) ‑> Optional[Installation] +def find_installation(self,
*,
enterprise_id: str | None,
team_id: str | None,
user_id: str | None = None,
is_enterprise_install: bool | None = False) ‑> Installation | None

Finds a relevant installation for the given IDs. If the user_id is absent, this method may return the latest installation in the workspace / org.

-def save(self, installation: Installation) +def save(self,
installation: Installation)

Saves an installation data

-def save_bot(self, bot: Bot) +def save_bot(self,
bot: Bot)

Saves a bot installation data

@@ -254,7 +254,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/installation_store/internals.html b/docs/static/api-docs/slack_sdk/oauth/installation_store/internals.html index 156a831a..2ea4ad14 100644 --- a/docs/static/api-docs/slack_sdk/oauth/installation_store/internals.html +++ b/docs/static/api-docs/slack_sdk/oauth/installation_store/internals.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.installation_store.internals API documentation - + @@ -49,7 +49,7 @@

Module slack_sdk.oauth.installation_store.internals diff --git a/docs/static/api-docs/slack_sdk/oauth/installation_store/models/bot.html b/docs/static/api-docs/slack_sdk/oauth/installation_store/models/bot.html index 045b1aac..c4801007 100644 --- a/docs/static/api-docs/slack_sdk/oauth/installation_store/models/bot.html +++ b/docs/static/api-docs/slack_sdk/oauth/installation_store/models/bot.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.installation_store.models.bot API documentation - + @@ -37,7 +37,7 @@

Classes

class Bot -(*, app_id: Optional[str] = None, enterprise_id: Optional[str] = None, enterprise_name: Optional[str] = None, team_id: Optional[str] = None, team_name: Optional[str] = None, bot_token: str, bot_id: str, bot_user_id: str, bot_scopes: Union[str, Sequence[str]] = '', bot_refresh_token: Optional[str] = None, bot_token_expires_in: Optional[int] = None, bot_token_expires_at: Union[int, datetime.datetime, str, ForwardRef(None)] = None, is_enterprise_install: Optional[bool] = False, installed_at: Union[float, datetime.datetime, str], custom_values: Optional[Dict[str, Any]] = None) +(*,
app_id: str | None = None,
enterprise_id: str | None = None,
enterprise_name: str | None = None,
team_id: str | None = None,
team_name: str | None = None,
bot_token: str,
bot_id: str,
bot_user_id: str,
bot_scopes: str | Sequence[str] = '',
bot_refresh_token: str | None = None,
bot_token_expires_in: int | None = None,
bot_token_expires_at: int | datetime.datetime | str | None = None,
is_enterprise_install: bool | None = False,
installed_at: float | datetime.datetime | str,
custom_values: Dict[str, Any] | None = None)
@@ -151,7 +151,7 @@

Classes

Class variables

-
var app_id : Optional[str]
+
var app_id : str | None
@@ -159,7 +159,7 @@

Class variables

-
var bot_refresh_token : Optional[str]
+
var bot_refresh_token : str | None
@@ -171,7 +171,7 @@

Class variables

-
var bot_token_expires_at : Optional[int]
+
var bot_token_expires_at : int | None
@@ -183,11 +183,11 @@

Class variables

-
var enterprise_id : Optional[str]
+
var enterprise_id : str | None
-
var enterprise_name : Optional[str]
+
var enterprise_name : str | None
@@ -199,11 +199,11 @@

Class variables

-
var team_id : Optional[str]
+
var team_id : str | None
-
var team_name : Optional[str]
+
var team_name : str | None
@@ -211,7 +211,7 @@

Class variables

Methods

-def get_custom_value(self, name: str) ‑> Optional[Any] +def get_custom_value(self, name: str) ‑> Any | None
@@ -273,7 +273,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/installation_store/models/index.html b/docs/static/api-docs/slack_sdk/oauth/installation_store/models/index.html index d83e78fd..01ad36c1 100644 --- a/docs/static/api-docs/slack_sdk/oauth/installation_store/models/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/installation_store/models/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.installation_store.models API documentation - + @@ -48,7 +48,7 @@

Classes

class Bot -(*, app_id: Optional[str] = None, enterprise_id: Optional[str] = None, enterprise_name: Optional[str] = None, team_id: Optional[str] = None, team_name: Optional[str] = None, bot_token: str, bot_id: str, bot_user_id: str, bot_scopes: Union[str, Sequence[str]] = '', bot_refresh_token: Optional[str] = None, bot_token_expires_in: Optional[int] = None, bot_token_expires_at: Union[int, datetime.datetime, str, ForwardRef(None)] = None, is_enterprise_install: Optional[bool] = False, installed_at: Union[float, datetime.datetime, str], custom_values: Optional[Dict[str, Any]] = None) +(*,
app_id: str | None = None,
enterprise_id: str | None = None,
enterprise_name: str | None = None,
team_id: str | None = None,
team_name: str | None = None,
bot_token: str,
bot_id: str,
bot_user_id: str,
bot_scopes: str | Sequence[str] = '',
bot_refresh_token: str | None = None,
bot_token_expires_in: int | None = None,
bot_token_expires_at: int | datetime.datetime | str | None = None,
is_enterprise_install: bool | None = False,
installed_at: float | datetime.datetime | str,
custom_values: Dict[str, Any] | None = None)
@@ -162,7 +162,7 @@

Classes

Class variables

-
var app_id : Optional[str]
+
var app_id : str | None
@@ -170,7 +170,7 @@

Class variables

-
var bot_refresh_token : Optional[str]
+
var bot_refresh_token : str | None
@@ -182,7 +182,7 @@

Class variables

-
var bot_token_expires_at : Optional[int]
+
var bot_token_expires_at : int | None
@@ -194,11 +194,11 @@

Class variables

-
var enterprise_id : Optional[str]
+
var enterprise_id : str | None
-
var enterprise_name : Optional[str]
+
var enterprise_name : str | None
@@ -210,11 +210,11 @@

Class variables

-
var team_id : Optional[str]
+
var team_id : str | None
-
var team_name : Optional[str]
+
var team_name : str | None
@@ -222,7 +222,7 @@

Class variables

Methods

-def get_custom_value(self, name: str) ‑> Optional[Any] +def get_custom_value(self, name: str) ‑> Any | None
@@ -243,7 +243,7 @@

Methods

class Installation -(*, app_id: Optional[str] = None, enterprise_id: Optional[str] = None, enterprise_name: Optional[str] = None, enterprise_url: Optional[str] = None, team_id: Optional[str] = None, team_name: Optional[str] = None, bot_token: Optional[str] = None, bot_id: Optional[str] = None, bot_user_id: Optional[str] = None, bot_scopes: Union[str, Sequence[str]] = '', bot_refresh_token: Optional[str] = None, bot_token_expires_in: Optional[int] = None, bot_token_expires_at: Union[int, datetime.datetime, str, ForwardRef(None)] = None, user_id: str, user_token: Optional[str] = None, user_scopes: Union[str, Sequence[str]] = '', user_refresh_token: Optional[str] = None, user_token_expires_in: Optional[int] = None, user_token_expires_at: Union[int, datetime.datetime, str, ForwardRef(None)] = None, incoming_webhook_url: Optional[str] = None, incoming_webhook_channel: Optional[str] = None, incoming_webhook_channel_id: Optional[str] = None, incoming_webhook_configuration_url: Optional[str] = None, is_enterprise_install: Optional[bool] = False, token_type: Optional[str] = None, installed_at: Union[float, datetime.datetime, str, ForwardRef(None)] = None, custom_values: Optional[Dict[str, Any]] = None) +(*,
app_id: str | None = None,
enterprise_id: str | None = None,
enterprise_name: str | None = None,
enterprise_url: str | None = None,
team_id: str | None = None,
team_name: str | None = None,
bot_token: str | None = None,
bot_id: str | None = None,
bot_user_id: str | None = None,
bot_scopes: str | Sequence[str] = '',
bot_refresh_token: str | None = None,
bot_token_expires_in: int | None = None,
bot_token_expires_at: int | datetime.datetime | str | None = None,
user_id: str,
user_token: str | None = None,
user_scopes: str | Sequence[str] = '',
user_refresh_token: str | None = None,
user_token_expires_in: int | None = None,
user_token_expires_at: int | datetime.datetime | str | None = None,
incoming_webhook_url: str | None = None,
incoming_webhook_channel: str | None = None,
incoming_webhook_channel_id: str | None = None,
incoming_webhook_configuration_url: str | None = None,
is_enterprise_install: bool | None = False,
token_type: str | None = None,
installed_at: float | datetime.datetime | str | None = None,
custom_values: Dict[str, Any] | None = None)
@@ -441,31 +441,31 @@

Methods

Class variables

-
var app_id : Optional[str]
+
var app_id : str | None
-
var bot_id : Optional[str]
+
var bot_id : str | None
-
var bot_refresh_token : Optional[str]
+
var bot_refresh_token : str | None
-
var bot_scopes : Optional[Sequence[str]]
+
var bot_scopes : Sequence[str] | None
-
var bot_token : Optional[str]
+
var bot_token : str | None
-
var bot_token_expires_at : Optional[int]
+
var bot_token_expires_at : int | None
-
var bot_user_id : Optional[str]
+
var bot_user_id : str | None
@@ -473,31 +473,31 @@

Class variables

-
var enterprise_id : Optional[str]
+
var enterprise_id : str | None
-
var enterprise_name : Optional[str]
+
var enterprise_name : str | None
-
var enterprise_url : Optional[str]
+
var enterprise_url : str | None
-
var incoming_webhook_channel : Optional[str]
+
var incoming_webhook_channel : str | None
-
var incoming_webhook_channel_id : Optional[str]
+
var incoming_webhook_channel_id : str | None
-
var incoming_webhook_configuration_url : Optional[str]
+
var incoming_webhook_configuration_url : str | None
-
var incoming_webhook_url : Optional[str]
+
var incoming_webhook_url : str | None
@@ -509,15 +509,15 @@

Class variables

-
var team_id : Optional[str]
+
var team_id : str | None
-
var team_name : Optional[str]
+
var team_name : str | None
-
var token_type : Optional[str]
+
var token_type : str | None
@@ -525,19 +525,19 @@

Class variables

-
var user_refresh_token : Optional[str]
+
var user_refresh_token : str | None
-
var user_scopes : Optional[Sequence[str]]
+
var user_scopes : Sequence[str] | None
-
var user_token : Optional[str]
+
var user_token : str | None
-
var user_token_expires_at : Optional[int]
+
var user_token_expires_at : int | None
@@ -545,7 +545,7 @@

Class variables

Methods

-def get_custom_value(self, name: str) ‑> Optional[Any] +def get_custom_value(self, name: str) ‑> Any | None
@@ -653,7 +653,7 @@

diff --git a/docs/static/api-docs/slack_sdk/oauth/installation_store/models/installation.html b/docs/static/api-docs/slack_sdk/oauth/installation_store/models/installation.html index e49a9a3f..81342ca5 100644 --- a/docs/static/api-docs/slack_sdk/oauth/installation_store/models/installation.html +++ b/docs/static/api-docs/slack_sdk/oauth/installation_store/models/installation.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.installation_store.models.installation API documentation - + @@ -37,7 +37,7 @@

Classes

class Installation -(*, app_id: Optional[str] = None, enterprise_id: Optional[str] = None, enterprise_name: Optional[str] = None, enterprise_url: Optional[str] = None, team_id: Optional[str] = None, team_name: Optional[str] = None, bot_token: Optional[str] = None, bot_id: Optional[str] = None, bot_user_id: Optional[str] = None, bot_scopes: Union[str, Sequence[str]] = '', bot_refresh_token: Optional[str] = None, bot_token_expires_in: Optional[int] = None, bot_token_expires_at: Union[int, datetime.datetime, str, ForwardRef(None)] = None, user_id: str, user_token: Optional[str] = None, user_scopes: Union[str, Sequence[str]] = '', user_refresh_token: Optional[str] = None, user_token_expires_in: Optional[int] = None, user_token_expires_at: Union[int, datetime.datetime, str, ForwardRef(None)] = None, incoming_webhook_url: Optional[str] = None, incoming_webhook_channel: Optional[str] = None, incoming_webhook_channel_id: Optional[str] = None, incoming_webhook_configuration_url: Optional[str] = None, is_enterprise_install: Optional[bool] = False, token_type: Optional[str] = None, installed_at: Union[float, datetime.datetime, str, ForwardRef(None)] = None, custom_values: Optional[Dict[str, Any]] = None) +(*,
app_id: str | None = None,
enterprise_id: str | None = None,
enterprise_name: str | None = None,
enterprise_url: str | None = None,
team_id: str | None = None,
team_name: str | None = None,
bot_token: str | None = None,
bot_id: str | None = None,
bot_user_id: str | None = None,
bot_scopes: str | Sequence[str] = '',
bot_refresh_token: str | None = None,
bot_token_expires_in: int | None = None,
bot_token_expires_at: int | datetime.datetime | str | None = None,
user_id: str,
user_token: str | None = None,
user_scopes: str | Sequence[str] = '',
user_refresh_token: str | None = None,
user_token_expires_in: int | None = None,
user_token_expires_at: int | datetime.datetime | str | None = None,
incoming_webhook_url: str | None = None,
incoming_webhook_channel: str | None = None,
incoming_webhook_channel_id: str | None = None,
incoming_webhook_configuration_url: str | None = None,
is_enterprise_install: bool | None = False,
token_type: str | None = None,
installed_at: float | datetime.datetime | str | None = None,
custom_values: Dict[str, Any] | None = None)
@@ -235,31 +235,31 @@

Classes

Class variables

-
var app_id : Optional[str]
+
var app_id : str | None
-
var bot_id : Optional[str]
+
var bot_id : str | None
-
var bot_refresh_token : Optional[str]
+
var bot_refresh_token : str | None
-
var bot_scopes : Optional[Sequence[str]]
+
var bot_scopes : Sequence[str] | None
-
var bot_token : Optional[str]
+
var bot_token : str | None
-
var bot_token_expires_at : Optional[int]
+
var bot_token_expires_at : int | None
-
var bot_user_id : Optional[str]
+
var bot_user_id : str | None
@@ -267,31 +267,31 @@

Class variables

-
var enterprise_id : Optional[str]
+
var enterprise_id : str | None
-
var enterprise_name : Optional[str]
+
var enterprise_name : str | None
-
var enterprise_url : Optional[str]
+
var enterprise_url : str | None
-
var incoming_webhook_channel : Optional[str]
+
var incoming_webhook_channel : str | None
-
var incoming_webhook_channel_id : Optional[str]
+
var incoming_webhook_channel_id : str | None
-
var incoming_webhook_configuration_url : Optional[str]
+
var incoming_webhook_configuration_url : str | None
-
var incoming_webhook_url : Optional[str]
+
var incoming_webhook_url : str | None
@@ -303,15 +303,15 @@

Class variables

-
var team_id : Optional[str]
+
var team_id : str | None
-
var team_name : Optional[str]
+
var team_name : str | None
-
var token_type : Optional[str]
+
var token_type : str | None
@@ -319,19 +319,19 @@

Class variables

-
var user_refresh_token : Optional[str]
+
var user_refresh_token : str | None
-
var user_scopes : Optional[Sequence[str]]
+
var user_scopes : Sequence[str] | None
-
var user_token : Optional[str]
+
var user_token : str | None
-
var user_token_expires_at : Optional[int]
+
var user_token_expires_at : int | None
@@ -339,7 +339,7 @@

Class variables

Methods

-def get_custom_value(self, name: str) ‑> Optional[Any] +def get_custom_value(self, name: str) ‑> Any | None
@@ -419,7 +419,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/installation_store/sqlalchemy/index.html b/docs/static/api-docs/slack_sdk/oauth/installation_store/sqlalchemy/index.html index fa6ad24e..183d53d6 100644 --- a/docs/static/api-docs/slack_sdk/oauth/installation_store/sqlalchemy/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/installation_store/sqlalchemy/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.installation_store.sqlalchemy API documentation - + @@ -37,7 +37,7 @@

Classes

class SQLAlchemyInstallationStore -(client_id: str, engine: sqlalchemy.engine.base.Engine, bots_table_name: str = 'slack_bots', installations_table_name: str = 'slack_installations', logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.sqlalchemy (WARNING)>) +(client_id: str,
engine: sqlalchemy.engine.base.Engine,
bots_table_name: str = 'slack_bots',
installations_table_name: str = 'slack_installations',
logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.sqlalchemy (WARNING)>)

The installation store interface.

@@ -521,7 +521,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/installation_store/sqlite3/index.html b/docs/static/api-docs/slack_sdk/oauth/installation_store/sqlite3/index.html index b450df6a..90517a47 100644 --- a/docs/static/api-docs/slack_sdk/oauth/installation_store/sqlite3/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/installation_store/sqlite3/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.installation_store.sqlite3 API documentation - + @@ -37,7 +37,7 @@

Classes

class SQLite3InstallationStore -(*, database: str, client_id: str, logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.sqlite3 (WARNING)>) +(*,
database: str,
client_id: str,
logger: logging.Logger = <Logger slack_sdk.oauth.installation_store.sqlite3 (WARNING)>)

The installation store interface.

@@ -784,7 +784,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/redirect_uri_page_renderer/index.html b/docs/static/api-docs/slack_sdk/oauth/redirect_uri_page_renderer/index.html index fc6ea658..3e30332b 100644 --- a/docs/static/api-docs/slack_sdk/oauth/redirect_uri_page_renderer/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/redirect_uri_page_renderer/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.redirect_uri_page_renderer API documentation - + @@ -37,7 +37,7 @@

Classes

class RedirectUriPageRenderer -(*, install_path: str, redirect_uri_path: str, success_url: Optional[str] = None, failure_url: Optional[str] = None) +(*,
install_path: str,
redirect_uri_path: str,
success_url: str | None = None,
failure_url: str | None = None)
@@ -123,7 +123,7 @@

Methods

-def render_success_page(self, app_id: str, team_id: Optional[str], is_enterprise_install: Optional[bool] = None, enterprise_url: Optional[str] = None) ‑> str +def render_success_page(self,
app_id: str,
team_id: str | None,
is_enterprise_install: bool | None = None,
enterprise_url: str | None = None) ‑> str
@@ -158,7 +158,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/state_store/amazon_s3/index.html b/docs/static/api-docs/slack_sdk/oauth/state_store/amazon_s3/index.html index 735045cd..184ce567 100644 --- a/docs/static/api-docs/slack_sdk/oauth/state_store/amazon_s3/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/state_store/amazon_s3/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.state_store.amazon_s3 API documentation - + @@ -37,7 +37,7 @@

Classes

class AmazonS3OAuthStateStore -(*, s3_client: botocore.client.BaseClient, bucket_name: str, expiration_seconds: int, logger: logging.Logger = <Logger slack_sdk.oauth.state_store.amazon_s3 (WARNING)>) +(*,
s3_client: botocore.client.BaseClient,
bucket_name: str,
expiration_seconds: int,
logger: logging.Logger = <Logger slack_sdk.oauth.state_store.amazon_s3 (WARNING)>)
@@ -185,7 +185,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/state_store/async_state_store.html b/docs/static/api-docs/slack_sdk/oauth/state_store/async_state_store.html index 9c218228..fee25410 100644 --- a/docs/static/api-docs/slack_sdk/oauth/state_store/async_state_store.html +++ b/docs/static/api-docs/slack_sdk/oauth/state_store/async_state_store.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.state_store.async_state_store API documentation - + @@ -121,7 +121,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/state_store/file/index.html b/docs/static/api-docs/slack_sdk/oauth/state_store/file/index.html index 1381b906..4c3b2d03 100644 --- a/docs/static/api-docs/slack_sdk/oauth/state_store/file/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/state_store/file/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.state_store.file API documentation - + @@ -37,7 +37,7 @@

Classes

class FileOAuthStateStore -(*, expiration_seconds: int, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.state_store.file (WARNING)>) +(*,
expiration_seconds: int,
base_dir: str = '/Users/kazuhiro.sera/.bolt-app-oauth-state',
client_id: str | None = None,
logger: logging.Logger = <Logger slack_sdk.oauth.state_store.file (WARNING)>)
@@ -186,7 +186,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/state_store/index.html b/docs/static/api-docs/slack_sdk/oauth/state_store/index.html index ae830316..616e9754 100644 --- a/docs/static/api-docs/slack_sdk/oauth/state_store/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/state_store/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.state_store API documentation - + @@ -66,7 +66,7 @@

Classes

class FileOAuthStateStore -(*, expiration_seconds: int, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.state_store.file (WARNING)>) +(*,
expiration_seconds: int,
base_dir: str = '/Users/kazuhiro.sera/.bolt-app-oauth-state',
client_id: str | None = None,
logger: logging.Logger = <Logger slack_sdk.oauth.state_store.file (WARNING)>)
@@ -291,7 +291,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/state_store/sqlalchemy/index.html b/docs/static/api-docs/slack_sdk/oauth/state_store/sqlalchemy/index.html index 69bb4a94..17ee0aa3 100644 --- a/docs/static/api-docs/slack_sdk/oauth/state_store/sqlalchemy/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/state_store/sqlalchemy/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.state_store.sqlalchemy API documentation - + @@ -37,7 +37,7 @@

Classes

class SQLAlchemyOAuthStateStore -(expiration_seconds: int, engine: sqlalchemy.engine.base.Engine, logger: logging.Logger = <Logger slack_sdk.oauth.state_store.sqlalchemy (WARNING)>, table_name: str = 'slack_oauth_states') +(expiration_seconds: int,
engine: sqlalchemy.engine.base.Engine,
logger: logging.Logger = <Logger slack_sdk.oauth.state_store.sqlalchemy (WARNING)>,
table_name: str = 'slack_oauth_states')
@@ -223,7 +223,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/state_store/sqlite3/index.html b/docs/static/api-docs/slack_sdk/oauth/state_store/sqlite3/index.html index 63030adf..7f024da1 100644 --- a/docs/static/api-docs/slack_sdk/oauth/state_store/sqlite3/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/state_store/sqlite3/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.state_store.sqlite3 API documentation - + @@ -37,7 +37,7 @@

Classes

class SQLite3OAuthStateStore -(*, database: str, expiration_seconds: int, logger: logging.Logger = <Logger slack_sdk.oauth.state_store.sqlite3 (WARNING)>) +(*,
database: str,
expiration_seconds: int,
logger: logging.Logger = <Logger slack_sdk.oauth.state_store.sqlite3 (WARNING)>)
@@ -233,7 +233,7 @@

diff --git a/docs/static/api-docs/slack_sdk/oauth/state_store/state_store.html b/docs/static/api-docs/slack_sdk/oauth/state_store/state_store.html index 05732f08..dc7dc177 100644 --- a/docs/static/api-docs/slack_sdk/oauth/state_store/state_store.html +++ b/docs/static/api-docs/slack_sdk/oauth/state_store/state_store.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.state_store.state_store API documentation - + @@ -122,7 +122,7 @@

diff --git a/docs/static/api-docs/slack_sdk/oauth/state_utils/index.html b/docs/static/api-docs/slack_sdk/oauth/state_utils/index.html index c63b9135..0dfed917 100644 --- a/docs/static/api-docs/slack_sdk/oauth/state_utils/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/state_utils/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.state_utils API documentation - + @@ -118,7 +118,7 @@

Methods

-def is_valid_browser(self, state: Optional[str], request_headers: Dict[str, Union[str, Sequence[str]]]) ‑> bool +def is_valid_browser(self, state: str | None, request_headers: Dict[str, str | Sequence[str]]) ‑> bool
@@ -158,7 +158,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/token_rotation/async_rotator.html b/docs/static/api-docs/slack_sdk/oauth/token_rotation/async_rotator.html index 4eb16b20..99899d81 100644 --- a/docs/static/api-docs/slack_sdk/oauth/token_rotation/async_rotator.html +++ b/docs/static/api-docs/slack_sdk/oauth/token_rotation/async_rotator.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.token_rotation.async_rotator API documentation - + @@ -37,7 +37,7 @@

Classes

class AsyncTokenRotator -(*, client_id: str, client_secret: str, client: Optional[AsyncWebClient] = None) +(*,
client_id: str,
client_secret: str,
client: AsyncWebClient | None = None)
@@ -198,7 +198,7 @@

Class variables

Methods

-async def perform_bot_token_rotation(self, *, bot: Bot, minutes_before_expiration: int = 120) ‑> Optional[Bot] +async def perform_bot_token_rotation(self,
*,
bot: Bot,
minutes_before_expiration: int = 120) ‑> Bot | None

Performs bot token rotation if the underlying bot token is expired / expiring.

@@ -213,7 +213,7 @@

Returns

None if no rotation is necessary for now.

-async def perform_token_rotation(self, *, installation: Installation, minutes_before_expiration: int = 120) ‑> Optional[Installation] +async def perform_token_rotation(self,
*,
installation: Installation,
minutes_before_expiration: int = 120) ‑> Installation | None

Performs token rotation if the underlying tokens (bot / user) are expired / expiring.

@@ -228,7 +228,7 @@

Returns

None if no rotation is necessary for now.

-async def perform_user_token_rotation(self, *, installation: Installation, minutes_before_expiration: int = 120) ‑> Optional[Installation] +async def perform_user_token_rotation(self,
*,
installation: Installation,
minutes_before_expiration: int = 120) ‑> Installation | None

Performs user token rotation if the underlying user token is expired / expiring.

@@ -276,7 +276,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/token_rotation/index.html b/docs/static/api-docs/slack_sdk/oauth/token_rotation/index.html index 7f512f82..f8fb699c 100644 --- a/docs/static/api-docs/slack_sdk/oauth/token_rotation/index.html +++ b/docs/static/api-docs/slack_sdk/oauth/token_rotation/index.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.token_rotation API documentation - + @@ -48,7 +48,7 @@

Classes

class TokenRotator -(*, client_id: str, client_secret: str, client: Optional[WebClient] = None) +(*,
client_id: str,
client_secret: str,
client: WebClient | None = None)
@@ -202,7 +202,7 @@

Class variables

Methods

-def perform_bot_token_rotation(self, *, bot: Bot, minutes_before_expiration: int = 120) ‑> Optional[Bot] +def perform_bot_token_rotation(self,
*,
bot: Bot,
minutes_before_expiration: int = 120) ‑> Bot | None

Performs bot token rotation if the underlying bot token is expired / expiring.

@@ -217,7 +217,7 @@

Returns

None if no rotation is necessary for now.

-def perform_token_rotation(self, *, installation: Installation, minutes_before_expiration: int = 120) ‑> Optional[Installation] +def perform_token_rotation(self,
*,
installation: Installation,
minutes_before_expiration: int = 120) ‑> Installation | None

Performs token rotation if the underlying tokens (bot / user) are expired / expiring.

@@ -232,7 +232,7 @@

Returns

None if no rotation is necessary for now.

-def perform_user_token_rotation(self, *, installation: Installation, minutes_before_expiration: int = 120) ‑> Optional[Installation] +def perform_user_token_rotation(self,
*,
installation: Installation,
minutes_before_expiration: int = 120) ‑> Installation | None

Performs user token rotation if the underlying user token is expired / expiring.

@@ -286,7 +286,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/oauth/token_rotation/rotator.html b/docs/static/api-docs/slack_sdk/oauth/token_rotation/rotator.html index fe6b69d6..c31c6c8e 100644 --- a/docs/static/api-docs/slack_sdk/oauth/token_rotation/rotator.html +++ b/docs/static/api-docs/slack_sdk/oauth/token_rotation/rotator.html @@ -3,13 +3,13 @@ - + slack_sdk.oauth.token_rotation.rotator API documentation - + @@ -37,7 +37,7 @@

Classes

class TokenRotator -(*, client_id: str, client_secret: str, client: Optional[WebClient] = None) +(*,
client_id: str,
client_secret: str,
client: WebClient | None = None)
@@ -191,7 +191,7 @@

Class variables

Methods

-def perform_bot_token_rotation(self, *, bot: Bot, minutes_before_expiration: int = 120) ‑> Optional[Bot] +def perform_bot_token_rotation(self,
*,
bot: Bot,
minutes_before_expiration: int = 120) ‑> Bot | None

Performs bot token rotation if the underlying bot token is expired / expiring.

@@ -206,7 +206,7 @@

Returns

None if no rotation is necessary for now.

-def perform_token_rotation(self, *, installation: Installation, minutes_before_expiration: int = 120) ‑> Optional[Installation] +def perform_token_rotation(self,
*,
installation: Installation,
minutes_before_expiration: int = 120) ‑> Installation | None

Performs token rotation if the underlying tokens (bot / user) are expired / expiring.

@@ -221,7 +221,7 @@

Returns

None if no rotation is necessary for now.

-def perform_user_token_rotation(self, *, installation: Installation, minutes_before_expiration: int = 120) ‑> Optional[Installation] +def perform_user_token_rotation(self,
*,
installation: Installation,
minutes_before_expiration: int = 120) ‑> Installation | None

Performs user token rotation if the underlying user token is expired / expiring.

@@ -269,7 +269,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/proxy_env_variable_loader.html b/docs/static/api-docs/slack_sdk/proxy_env_variable_loader.html index 511bf4db..b5295e24 100644 --- a/docs/static/api-docs/slack_sdk/proxy_env_variable_loader.html +++ b/docs/static/api-docs/slack_sdk/proxy_env_variable_loader.html @@ -3,13 +3,13 @@ - + slack_sdk.proxy_env_variable_loader API documentation - + @@ -35,7 +35,7 @@

Module slack_sdk.proxy_env_variable_loader

Functions

-def load_http_proxy_from_env(logger: logging.Logger = <Logger slack_sdk.proxy_env_variable_loader (WARNING)>) ‑> Optional[str] +def load_http_proxy_from_env(logger: logging.Logger = <Logger slack_sdk.proxy_env_variable_loader (WARNING)>) ‑> str | None
@@ -64,7 +64,7 @@

Functions

diff --git a/docs/static/api-docs/slack_sdk/rtm/index.html b/docs/static/api-docs/slack_sdk/rtm/index.html index 9cd613fb..413bb3ac 100644 --- a/docs/static/api-docs/slack_sdk/rtm/index.html +++ b/docs/static/api-docs/slack_sdk/rtm/index.html @@ -3,13 +3,13 @@ - + slack_sdk.rtm API documentation - + @@ -45,7 +45,7 @@

Classes

class RTMClient -(*, token: str, run_async: Optional[bool] = False, auto_reconnect: Optional[bool] = True, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, timeout: Optional[int] = 30, base_url: Optional[str] = 'https://slack.com/api/', connect_method: Optional[str] = None, ping_interval: Optional[int] = 30, loop: Optional[asyncio.events.AbstractEventLoop] = None, headers: Optional[dict] = {}) +(*,
token: str,
run_async: bool | None = False,
auto_reconnect: bool | None = True,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
timeout: int | None = 30,
base_url: str | None = 'https://slack.com/api/',
connect_method: str | None = None,
ping_interval: int | None = 30,
loop: asyncio.events.AbstractEventLoop | None = None,
headers: dict | None = {})

An RTMClient allows apps to communicate with the Slack Platform's RTM API.

@@ -764,7 +764,7 @@

Raises

-def start(self) ‑> Union[_asyncio.Future, Any] +def start(self) ‑> _asyncio.Future | Any

Starts an RTM Session with Slack.

@@ -850,7 +850,7 @@

RTM diff --git a/docs/static/api-docs/slack_sdk/rtm/v2/index.html b/docs/static/api-docs/slack_sdk/rtm/v2/index.html index 2820551a..32a0cd94 100644 --- a/docs/static/api-docs/slack_sdk/rtm/v2/index.html +++ b/docs/static/api-docs/slack_sdk/rtm/v2/index.html @@ -3,13 +3,13 @@ - + slack_sdk.rtm.v2 API documentation - + @@ -37,7 +37,7 @@

Classes

class RTMClient -(*, token: Optional[str] = None, web_client: Optional[WebClient] = None, auto_reconnect_enabled: bool = True, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, timeout: int = 30, base_url: str = 'https://slack.com/api/', headers: Optional[dict] = None, ping_interval: int = 5, concurrency: int = 10, logger: Optional[logging.Logger] = None, on_message_listeners: Optional[List[Callable[[str], None]]] = None, on_error_listeners: Optional[List[Callable[[Exception], None]]] = None, on_close_listeners: Optional[List[Callable[[int, Optional[str]], None]]] = None, trace_enabled: bool = False, all_message_trace_enabled: bool = False, ping_pong_trace_enabled: bool = False) +(*,
token: str | None = None,
web_client: WebClient | None = None,
auto_reconnect_enabled: bool = True,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
timeout: int = 30,
base_url: str = 'https://slack.com/api/',
headers: dict | None = None,
ping_interval: int = 5,
concurrency: int = 10,
logger: logging.Logger | None = None,
on_message_listeners: List[Callable[[str], None]] | None = None,
on_error_listeners: List[Callable[[Exception], None]] | None = None,
on_close_listeners: List[Callable[[int, str | None], None]] | None = None,
trace_enabled: bool = False,
all_message_trace_enabled: bool = False,
ping_pong_trace_enabled: bool = False)
@@ -428,7 +428,7 @@

Class variables

-
var bot_id : Optional[str]
+
var bot_id : str | None
@@ -440,11 +440,11 @@

Class variables

-
var current_session : Optional[Connection]
+
var current_sessionConnection | None
-
var current_session_state : Optional[ConnectionState]
+
var current_session_stateConnectionState | None
@@ -472,7 +472,7 @@

Class variables

-
var on_close_listeners : List[Callable[[int, Optional[str]], None]]
+
var on_close_listeners : List[Callable[[int, str | None], None]]
@@ -488,11 +488,11 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -500,7 +500,7 @@

Class variables

-
var token : Optional[str]
+
var token : str | None
@@ -508,7 +508,7 @@

Class variables

-
var wss_uri : Optional[str]
+
var wss_uri : str | None
@@ -582,7 +582,7 @@

Args

-def run_all_close_listeners(self, code: int, reason: Optional[str] = None) +def run_all_close_listeners(self, code: int, reason: str | None = None)
@@ -606,13 +606,13 @@

Args

-def send(self, payload: Union[dict, str]) ‑> None +def send(self, payload: dict | str) ‑> None
-def session_id(self) ‑> Optional[str] +def session_id(self) ‑> str | None
@@ -691,7 +691,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/rtm_v2/index.html b/docs/static/api-docs/slack_sdk/rtm_v2/index.html index 7a061004..59089a11 100644 --- a/docs/static/api-docs/slack_sdk/rtm_v2/index.html +++ b/docs/static/api-docs/slack_sdk/rtm_v2/index.html @@ -3,13 +3,13 @@ - + slack_sdk.rtm_v2 API documentation - + @@ -38,7 +38,7 @@

Classes

class RTMClient -(*, token: Optional[str] = None, web_client: Optional[WebClient] = None, auto_reconnect_enabled: bool = True, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, timeout: int = 30, base_url: str = 'https://slack.com/api/', headers: Optional[dict] = None, ping_interval: int = 5, concurrency: int = 10, logger: Optional[logging.Logger] = None, on_message_listeners: Optional[List[Callable[[str], None]]] = None, on_error_listeners: Optional[List[Callable[[Exception], None]]] = None, on_close_listeners: Optional[List[Callable[[int, Optional[str]], None]]] = None, trace_enabled: bool = False, all_message_trace_enabled: bool = False, ping_pong_trace_enabled: bool = False) +(*,
token: str | None = None,
web_client: WebClient | None = None,
auto_reconnect_enabled: bool = True,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
timeout: int = 30,
base_url: str = 'https://slack.com/api/',
headers: dict | None = None,
ping_interval: int = 5,
concurrency: int = 10,
logger: logging.Logger | None = None,
on_message_listeners: List[Callable[[str], None]] | None = None,
on_error_listeners: List[Callable[[Exception], None]] | None = None,
on_close_listeners: List[Callable[[int, str | None], None]] | None = None,
trace_enabled: bool = False,
all_message_trace_enabled: bool = False,
ping_pong_trace_enabled: bool = False)
@@ -429,7 +429,7 @@

Class variables

-
var bot_id : Optional[str]
+
var bot_id : str | None
@@ -441,11 +441,11 @@

Class variables

-
var current_session : Optional[Connection]
+
var current_sessionConnection | None
-
var current_session_state : Optional[ConnectionState]
+
var current_session_stateConnectionState | None
@@ -473,7 +473,7 @@

Class variables

-
var on_close_listeners : List[Callable[[int, Optional[str]], None]]
+
var on_close_listeners : List[Callable[[int, str | None], None]]
@@ -489,11 +489,11 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -501,7 +501,7 @@

Class variables

-
var token : Optional[str]
+
var token : str | None
@@ -509,7 +509,7 @@

Class variables

-
var wss_uri : Optional[str]
+
var wss_uri : str | None
@@ -583,7 +583,7 @@

Args

-def run_all_close_listeners(self, code: int, reason: Optional[str] = None) +def run_all_close_listeners(self, code: int, reason: str | None = None)
@@ -607,13 +607,13 @@

Args

-def send(self, payload: Union[dict, str]) ‑> None +def send(self, payload: dict | str) ‑> None
-def session_id(self) ‑> Optional[str] +def session_id(self) ‑> str | None
@@ -692,7 +692,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/scim/async_client.html b/docs/static/api-docs/slack_sdk/scim/async_client.html index 687ea4b6..dfb6b97e 100644 --- a/docs/static/api-docs/slack_sdk/scim/async_client.html +++ b/docs/static/api-docs/slack_sdk/scim/async_client.html @@ -3,13 +3,13 @@ - + slack_sdk.scim.async_client API documentation - + @@ -37,7 +37,7 @@

Classes

class AsyncSCIMClient -(token: str, timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, base_url: str = 'https://api.slack.com/scim/v1/', session: Optional[aiohttp.client.ClientSession] = None, trust_env_in_session: bool = False, auth: Optional[aiohttp.helpers.BasicAuth] = None, default_headers: Optional[Dict[str, str]] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[slack_sdk.http_retry.async_handler.AsyncRetryHandler]] = None) +(token: str,
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
base_url: str = 'https://api.slack.com/scim/v1/',
session: aiohttp.client.ClientSession | None = None,
trust_env_in_session: bool = False,
auth: aiohttp.helpers.BasicAuth | None = None,
default_headers: Dict[str, str] | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[slack_sdk.http_retry.async_handler.AsyncRetryHandler] | None = None)

API client for SCIM API @@ -441,7 +441,7 @@

Class variables

-
var auth : Optional[aiohttp.helpers.BasicAuth]
+
var auth : aiohttp.helpers.BasicAuth | None
@@ -457,7 +457,7 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
@@ -465,11 +465,11 @@

Class variables

-
var session : Optional[aiohttp.client.ClientSession]
+
var session : aiohttp.client.ClientSession | None
-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -489,19 +489,19 @@

Class variables

Methods

-async def api_call(self, *, http_verb: str, path: str, query_params: Optional[Dict[str, Any]] = None, body_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> SCIMResponse +async def api_call(self,
*,
http_verb: str,
path: str,
query_params: Dict[str, Any] | None = None,
body_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> SCIMResponse
-async def create_group(self, group: Union[Dict[str, Any], Group]) ‑> GroupCreateResponse +async def create_group(self,
group: Dict[str, Any] | Group) ‑> GroupCreateResponse
-async def create_user(self, user: Union[Dict[str, Any], User]) ‑> UserCreateResponse +async def create_user(self,
user: Dict[str, Any] | User) ‑> UserCreateResponse
@@ -519,13 +519,13 @@

Methods

-async def patch_group(self, id: str, partial_group: Union[Dict[str, Any], Group]) ‑> GroupPatchResponse +async def patch_group(self,
id: str,
partial_group: Dict[str, Any] | Group) ‑> GroupPatchResponse
-async def patch_user(self, id: str, partial_user: Union[Dict[str, Any], User]) ‑> UserPatchResponse +async def patch_user(self,
id: str,
partial_user: Dict[str, Any] | User) ‑> UserPatchResponse
@@ -543,25 +543,25 @@

Methods

-async def search_groups(self, *, count: int, start_index: int, filter: Optional[str] = None) ‑> SearchGroupsResponse +async def search_groups(self, *, count: int, start_index: int, filter: str | None = None) ‑> SearchGroupsResponse
-async def search_users(self, *, count: int, start_index: int, filter: Optional[str] = None) ‑> SearchUsersResponse +async def search_users(self, *, count: int, start_index: int, filter: str | None = None) ‑> SearchUsersResponse
-async def update_group(self, group: Union[Dict[str, Any], Group]) ‑> GroupUpdateResponse +async def update_group(self,
group: Dict[str, Any] | Group) ‑> GroupUpdateResponse
-async def update_user(self, user: Union[Dict[str, Any], User]) ‑> UserUpdateResponse +async def update_user(self,
user: Dict[str, Any] | User) ‑> UserUpdateResponse
@@ -619,7 +619,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/scim/index.html b/docs/static/api-docs/slack_sdk/scim/index.html index e5372011..a5210ab5 100644 --- a/docs/static/api-docs/slack_sdk/scim/index.html +++ b/docs/static/api-docs/slack_sdk/scim/index.html @@ -3,14 +3,14 @@ - + slack_sdk.scim API documentation - + @@ -54,7 +54,7 @@

Classes

class Group -(*, display_name: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, id: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, members: Union[List[GroupMember], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, meta: Union[GroupMeta, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, schemas: Union[List[str], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(*,
display_name: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
id: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
members: List[GroupMember] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
meta: GroupMeta | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
schemas: List[str] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -97,23 +97,23 @@

Classes

Class variables

-
var display_name : Union[str, ForwardRef(None), DefaultArg]
+
var display_name : str | DefaultArg | None
-
var id : Union[str, ForwardRef(None), DefaultArg]
+
var id : str | DefaultArg | None
-
var members : Union[List[GroupMember], ForwardRef(None), DefaultArg]
+
var members : List[GroupMember] | DefaultArg | None
-
var meta : Union[GroupMeta, ForwardRef(None), DefaultArg]
+
var metaGroupMeta | DefaultArg | None
-
var schemas : Union[List[str], ForwardRef(None), DefaultArg]
+
var schemas : List[str] | DefaultArg | None
@@ -226,7 +226,7 @@

Instance variables

class SCIMClient -(token: str, timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, base_url: str = 'https://api.slack.com/scim/v1/', default_headers: Optional[Dict[str, str]] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[RetryHandler]] = None) +(token: str,
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
base_url: str = 'https://api.slack.com/scim/v1/',
default_headers: Dict[str, str] | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[RetryHandler] | None = None)

API client for SCIM API @@ -644,7 +644,7 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
@@ -652,7 +652,7 @@

Class variables

-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -668,19 +668,19 @@

Class variables

Methods

-def api_call(self, *, http_verb: str, path: str, query_params: Optional[Dict[str, Any]] = None, body_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> SCIMResponse +def api_call(self,
*,
http_verb: str,
path: str,
query_params: Dict[str, Any] | None = None,
body_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> SCIMResponse

Performs a Slack API request and returns the result.

-def create_group(self, group: Union[Dict[str, Any], Group]) ‑> GroupCreateResponse +def create_group(self,
group: Dict[str, Any] | Group) ‑> GroupCreateResponse
-def create_user(self, user: Union[Dict[str, Any], User]) ‑> UserCreateResponse +def create_user(self,
user: Dict[str, Any] | User) ‑> UserCreateResponse
@@ -698,13 +698,13 @@

Methods

-def patch_group(self, id: str, partial_group: Union[Dict[str, Any], Group]) ‑> GroupPatchResponse +def patch_group(self,
id: str,
partial_group: Dict[str, Any] | Group) ‑> GroupPatchResponse
-def patch_user(self, id: str, partial_user: Union[Dict[str, Any], User]) ‑> UserPatchResponse +def patch_user(self,
id: str,
partial_user: Dict[str, Any] | User) ‑> UserPatchResponse
@@ -722,25 +722,25 @@

Methods

-def search_groups(self, *, count: int, start_index: int, filter: Optional[str] = None) ‑> SearchGroupsResponse +def search_groups(self, *, count: int, start_index: int, filter: str | None = None) ‑> SearchGroupsResponse
-def search_users(self, *, count: int, start_index: int, filter: Optional[str] = None) ‑> SearchUsersResponse +def search_users(self, *, count: int, start_index: int, filter: str | None = None) ‑> SearchUsersResponse
-def update_group(self, group: Union[Dict[str, Any], Group]) ‑> GroupUpdateResponse +def update_group(self,
group: Dict[str, Any] | Group) ‑> GroupUpdateResponse
-def update_user(self, user: Union[Dict[str, Any], User]) ‑> UserUpdateResponse +def update_user(self,
user: Dict[str, Any] | User) ‑> UserUpdateResponse
@@ -749,7 +749,7 @@

Methods

class SCIMResponse -(*, url: str, status_code: int, raw_body: Optional[str], headers: dict) +(*, url: str, status_code: int, raw_body: str | None, headers: dict)
@@ -822,7 +822,7 @@

Subclasses

Class variables

-
var body : Optional[Dict[str, Any]]
+
var body : Dict[str, Any] | None
@@ -830,7 +830,7 @@

Class variables

-
var raw_body : Optional[str]
+
var raw_body : str | None
@@ -845,7 +845,7 @@

Class variables

Instance variables

-
prop errors : Optional[Errors]
+
prop errorsErrors | None
@@ -860,7 +860,7 @@

Instance variables

return Errors(**errors)
-
prop snake_cased_body : Optional[Dict[str, Any]]
+
prop snake_cased_body : Dict[str, Any] | None
@@ -970,7 +970,7 @@

Instance variables

class User -(*, active: Union[bool, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, addresses: Union[List[Union[UserAddress, Dict[str, Any]]], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, display_name: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, emails: Union[List[Union[TypeAndValue, Dict[str, Any]]], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, external_id: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, groups: Union[List[Union[UserGroup, Dict[str, Any]]], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, id: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, meta: Union[UserMeta, Dict[str, Any], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, name: Union[UserName, Dict[str, Any], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, nick_name: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, phone_numbers: Union[List[Union[TypeAndValue, Dict[str, Any]]], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, photos: Union[List[Union[UserPhoto, Dict[str, Any]]], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, profile_url: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, roles: Union[List[Union[TypeAndValue, Dict[str, Any]]], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, schemas: Union[List[str], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, timezone: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, title: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, user_name: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(*,
active: bool | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
addresses: List[UserAddress | Dict[str, Any]] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
display_name: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
emails: List[TypeAndValue | Dict[str, Any]] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
external_id: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
groups: List[UserGroup | Dict[str, Any]] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
id: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
meta: UserMeta | Dict[str, Any] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
name: UserName | Dict[str, Any] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
nick_name: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
phone_numbers: List[TypeAndValue | Dict[str, Any]] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
photos: List[UserPhoto | Dict[str, Any]] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
profile_url: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
roles: List[TypeAndValue | Dict[str, Any]] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
schemas: List[str] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
timezone: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
title: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
user_name: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -1067,71 +1067,71 @@

Instance variables

Class variables

-
var active : Union[bool, ForwardRef(None), DefaultArg]
+
var active : bool | DefaultArg | None
-
var addresses : Union[List[UserAddress], ForwardRef(None), DefaultArg]
+
var addresses : List[UserAddress] | DefaultArg | None
-
var display_name : Union[str, ForwardRef(None), DefaultArg]
+
var display_name : str | DefaultArg | None
-
var emails : Union[List[TypeAndValue], ForwardRef(None), DefaultArg]
+
var emails : List[TypeAndValue] | DefaultArg | None
-
var external_id : Union[str, ForwardRef(None), DefaultArg]
+
var external_id : str | DefaultArg | None
-
var groups : Union[List[UserGroup], ForwardRef(None), DefaultArg]
+
var groups : List[UserGroup] | DefaultArg | None
-
var id : Union[str, ForwardRef(None), DefaultArg]
+
var id : str | DefaultArg | None
-
var meta : Union[UserMeta, ForwardRef(None), DefaultArg]
+
var metaUserMeta | DefaultArg | None
-
var name : Union[UserName, ForwardRef(None), DefaultArg]
+
var nameUserName | DefaultArg | None
-
var nick_name : Union[str, ForwardRef(None), DefaultArg]
+
var nick_name : str | DefaultArg | None
-
var phone_numbers : Union[List[TypeAndValue], ForwardRef(None), DefaultArg]
+
var phone_numbers : List[TypeAndValue] | DefaultArg | None
-
var photos : Union[List[UserPhoto], ForwardRef(None), DefaultArg]
+
var photos : List[UserPhoto] | DefaultArg | None
-
var profile_url : Union[str, ForwardRef(None), DefaultArg]
+
var profile_url : str | DefaultArg | None
-
var roles : Union[List[TypeAndValue], ForwardRef(None), DefaultArg]
+
var roles : List[TypeAndValue] | DefaultArg | None
-
var schemas : Union[List[str], ForwardRef(None), DefaultArg]
+
var schemas : List[str] | DefaultArg | None
-
var timezone : Union[str, ForwardRef(None), DefaultArg]
+
var timezone : str | DefaultArg | None
-
var title : Union[str, ForwardRef(None), DefaultArg]
+
var title : str | DefaultArg | None
@@ -1139,7 +1139,7 @@

Class variables

-
var user_name : Union[str, ForwardRef(None), DefaultArg]
+
var user_name : str | DefaultArg | None
@@ -1281,7 +1281,7 @@

User diff --git a/docs/static/api-docs/slack_sdk/scim/v1/async_client.html b/docs/static/api-docs/slack_sdk/scim/v1/async_client.html index b6ee0d64..ce1c409c 100644 --- a/docs/static/api-docs/slack_sdk/scim/v1/async_client.html +++ b/docs/static/api-docs/slack_sdk/scim/v1/async_client.html @@ -3,13 +3,13 @@ - + slack_sdk.scim.v1.async_client API documentation - + @@ -37,7 +37,7 @@

Classes

class AsyncSCIMClient -(token: str, timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, base_url: str = 'https://api.slack.com/scim/v1/', session: Optional[aiohttp.client.ClientSession] = None, trust_env_in_session: bool = False, auth: Optional[aiohttp.helpers.BasicAuth] = None, default_headers: Optional[Dict[str, str]] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[slack_sdk.http_retry.async_handler.AsyncRetryHandler]] = None) +(token: str,
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
base_url: str = 'https://api.slack.com/scim/v1/',
session: aiohttp.client.ClientSession | None = None,
trust_env_in_session: bool = False,
auth: aiohttp.helpers.BasicAuth | None = None,
default_headers: Dict[str, str] | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[slack_sdk.http_retry.async_handler.AsyncRetryHandler] | None = None)

API client for SCIM API @@ -441,7 +441,7 @@

Class variables

-
var auth : Optional[aiohttp.helpers.BasicAuth]
+
var auth : aiohttp.helpers.BasicAuth | None
@@ -457,7 +457,7 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
@@ -465,11 +465,11 @@

Class variables

-
var session : Optional[aiohttp.client.ClientSession]
+
var session : aiohttp.client.ClientSession | None
-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -489,19 +489,19 @@

Class variables

Methods

-async def api_call(self, *, http_verb: str, path: str, query_params: Optional[Dict[str, Any]] = None, body_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> SCIMResponse +async def api_call(self,
*,
http_verb: str,
path: str,
query_params: Dict[str, Any] | None = None,
body_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> SCIMResponse
-async def create_group(self, group: Union[Dict[str, Any], Group]) ‑> GroupCreateResponse +async def create_group(self,
group: Dict[str, Any] | Group) ‑> GroupCreateResponse
-async def create_user(self, user: Union[Dict[str, Any], User]) ‑> UserCreateResponse +async def create_user(self,
user: Dict[str, Any] | User) ‑> UserCreateResponse
@@ -519,13 +519,13 @@

Methods

-async def patch_group(self, id: str, partial_group: Union[Dict[str, Any], Group]) ‑> GroupPatchResponse +async def patch_group(self,
id: str,
partial_group: Dict[str, Any] | Group) ‑> GroupPatchResponse
-async def patch_user(self, id: str, partial_user: Union[Dict[str, Any], User]) ‑> UserPatchResponse +async def patch_user(self,
id: str,
partial_user: Dict[str, Any] | User) ‑> UserPatchResponse
@@ -543,25 +543,25 @@

Methods

-async def search_groups(self, *, count: int, start_index: int, filter: Optional[str] = None) ‑> SearchGroupsResponse +async def search_groups(self, *, count: int, start_index: int, filter: str | None = None) ‑> SearchGroupsResponse
-async def search_users(self, *, count: int, start_index: int, filter: Optional[str] = None) ‑> SearchUsersResponse +async def search_users(self, *, count: int, start_index: int, filter: str | None = None) ‑> SearchUsersResponse
-async def update_group(self, group: Union[Dict[str, Any], Group]) ‑> GroupUpdateResponse +async def update_group(self,
group: Dict[str, Any] | Group) ‑> GroupUpdateResponse
-async def update_user(self, user: Union[Dict[str, Any], User]) ‑> UserUpdateResponse +async def update_user(self,
user: Dict[str, Any] | User) ‑> UserUpdateResponse
@@ -619,7 +619,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/scim/v1/client.html b/docs/static/api-docs/slack_sdk/scim/v1/client.html index c5a55c9f..957cd14a 100644 --- a/docs/static/api-docs/slack_sdk/scim/v1/client.html +++ b/docs/static/api-docs/slack_sdk/scim/v1/client.html @@ -3,14 +3,14 @@ - + slack_sdk.scim.v1.client API documentation - + @@ -42,7 +42,7 @@

Classes

class SCIMClient -(token: str, timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, base_url: str = 'https://api.slack.com/scim/v1/', default_headers: Optional[Dict[str, str]] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[RetryHandler]] = None) +(token: str,
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
base_url: str = 'https://api.slack.com/scim/v1/',
default_headers: Dict[str, str] | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[RetryHandler] | None = None)

API client for SCIM API @@ -460,7 +460,7 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
@@ -468,7 +468,7 @@

Class variables

-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -484,19 +484,19 @@

Class variables

Methods

-def api_call(self, *, http_verb: str, path: str, query_params: Optional[Dict[str, Any]] = None, body_params: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> SCIMResponse +def api_call(self,
*,
http_verb: str,
path: str,
query_params: Dict[str, Any] | None = None,
body_params: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> SCIMResponse

Performs a Slack API request and returns the result.

-def create_group(self, group: Union[Dict[str, Any], Group]) ‑> GroupCreateResponse +def create_group(self,
group: Dict[str, Any] | Group) ‑> GroupCreateResponse
-def create_user(self, user: Union[Dict[str, Any], User]) ‑> UserCreateResponse +def create_user(self,
user: Dict[str, Any] | User) ‑> UserCreateResponse
@@ -514,13 +514,13 @@

Methods

-def patch_group(self, id: str, partial_group: Union[Dict[str, Any], Group]) ‑> GroupPatchResponse +def patch_group(self,
id: str,
partial_group: Dict[str, Any] | Group) ‑> GroupPatchResponse
-def patch_user(self, id: str, partial_user: Union[Dict[str, Any], User]) ‑> UserPatchResponse +def patch_user(self,
id: str,
partial_user: Dict[str, Any] | User) ‑> UserPatchResponse
@@ -538,25 +538,25 @@

Methods

-def search_groups(self, *, count: int, start_index: int, filter: Optional[str] = None) ‑> SearchGroupsResponse +def search_groups(self, *, count: int, start_index: int, filter: str | None = None) ‑> SearchGroupsResponse
-def search_users(self, *, count: int, start_index: int, filter: Optional[str] = None) ‑> SearchUsersResponse +def search_users(self, *, count: int, start_index: int, filter: str | None = None) ‑> SearchUsersResponse
-def update_group(self, group: Union[Dict[str, Any], Group]) ‑> GroupUpdateResponse +def update_group(self,
group: Dict[str, Any] | Group) ‑> GroupUpdateResponse
-def update_user(self, user: Union[Dict[str, Any], User]) ‑> UserUpdateResponse +def update_user(self,
user: Dict[str, Any] | User) ‑> UserUpdateResponse
@@ -611,7 +611,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/scim/v1/default_arg.html b/docs/static/api-docs/slack_sdk/scim/v1/default_arg.html index 392dd908..55aba87c 100644 --- a/docs/static/api-docs/slack_sdk/scim/v1/default_arg.html +++ b/docs/static/api-docs/slack_sdk/scim/v1/default_arg.html @@ -3,13 +3,13 @@ - + slack_sdk.scim.v1.default_arg API documentation - + @@ -72,7 +72,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/scim/v1/group.html b/docs/static/api-docs/slack_sdk/scim/v1/group.html index ebf15b14..6ba9e6a6 100644 --- a/docs/static/api-docs/slack_sdk/scim/v1/group.html +++ b/docs/static/api-docs/slack_sdk/scim/v1/group.html @@ -3,13 +3,13 @@ - + slack_sdk.scim.v1.group API documentation - + @@ -37,7 +37,7 @@

Classes

class Group -(*, display_name: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, id: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, members: Union[List[GroupMember], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, meta: Union[GroupMeta, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, schemas: Union[List[str], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(*,
display_name: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
id: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
members: List[GroupMember] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
meta: GroupMeta | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
schemas: List[str] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -80,23 +80,23 @@

Classes

Class variables

-
var display_name : Union[str, ForwardRef(None), DefaultArg]
+
var display_name : str | DefaultArg | None
-
var id : Union[str, ForwardRef(None), DefaultArg]
+
var id : str | DefaultArg | None
-
var members : Union[List[GroupMember], ForwardRef(None), DefaultArg]
+
var members : List[GroupMember] | DefaultArg | None
-
var meta : Union[GroupMeta, ForwardRef(None), DefaultArg]
+
var metaGroupMeta | DefaultArg | None
-
var schemas : Union[List[str], ForwardRef(None), DefaultArg]
+
var schemas : List[str] | DefaultArg | None
@@ -117,7 +117,7 @@

Methods

class GroupMember -(*, display: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, value: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(*,
display: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
value: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -146,7 +146,7 @@

Methods

Class variables

-
var display : Union[str, ForwardRef(None), DefaultArg]
+
var display : str | DefaultArg | None
@@ -154,7 +154,7 @@

Class variables

-
var value : Union[str, ForwardRef(None), DefaultArg]
+
var value : str | DefaultArg | None
@@ -171,7 +171,7 @@

Methods

class GroupMeta -(*, created: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, location: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(*,
created: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
location: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -200,11 +200,11 @@

Methods

Class variables

-
var created : Union[str, ForwardRef(None), DefaultArg]
+
var created : str | DefaultArg | None
-
var location : Union[str, ForwardRef(None), DefaultArg]
+
var location : str | DefaultArg | None
@@ -274,7 +274,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/scim/v1/index.html b/docs/static/api-docs/slack_sdk/scim/v1/index.html index 637e6109..00f3e66f 100644 --- a/docs/static/api-docs/slack_sdk/scim/v1/index.html +++ b/docs/static/api-docs/slack_sdk/scim/v1/index.html @@ -3,14 +3,14 @@ - + slack_sdk.scim.v1 API documentation - + @@ -102,7 +102,7 @@

Sub-modules

diff --git a/docs/static/api-docs/slack_sdk/scim/v1/internal_utils.html b/docs/static/api-docs/slack_sdk/scim/v1/internal_utils.html index 92e7462b..afbf8e36 100644 --- a/docs/static/api-docs/slack_sdk/scim/v1/internal_utils.html +++ b/docs/static/api-docs/slack_sdk/scim/v1/internal_utils.html @@ -3,13 +3,13 @@ - + slack_sdk.scim.v1.internal_utils API documentation - + @@ -49,7 +49,7 @@

Module slack_sdk.scim.v1.internal_utils

diff --git a/docs/static/api-docs/slack_sdk/scim/v1/response.html b/docs/static/api-docs/slack_sdk/scim/v1/response.html index 7c86548f..d49646f0 100644 --- a/docs/static/api-docs/slack_sdk/scim/v1/response.html +++ b/docs/static/api-docs/slack_sdk/scim/v1/response.html @@ -3,13 +3,13 @@ - + slack_sdk.scim.v1.response API documentation - + @@ -149,7 +149,7 @@

Ancestors

Class variables

-
var body : Optional[Dict[str, Any]]
+
var body : Dict[str, Any] | None
@@ -157,7 +157,7 @@

Class variables

-
var raw_body : Optional[str]
+
var raw_body : str | None
@@ -172,7 +172,7 @@

Class variables

Instance variables

-
prop errors : Optional[Errors]
+
prop errorsErrors | None
@@ -187,7 +187,7 @@

Instance variables

return Errors(**errors)
-
prop snake_cased_body : Optional[Dict[str, Any]]
+
prop snake_cased_body : Dict[str, Any] | None
@@ -229,7 +229,7 @@

Ancestors

Class variables

-
var body : Optional[Dict[str, Any]]
+
var body : Dict[str, Any] | None
@@ -237,7 +237,7 @@

Class variables

-
var raw_body : Optional[str]
+
var raw_body : str | None
@@ -252,7 +252,7 @@

Class variables

Instance variables

-
prop errors : Optional[Errors]
+
prop errorsErrors | None
@@ -267,7 +267,7 @@

Instance variables

return Errors(**errors)
-
prop snake_cased_body : Optional[Dict[str, Any]]
+
prop snake_cased_body : Dict[str, Any] | None
@@ -423,7 +423,7 @@

Instance variables

class SCIMResponse -(*, url: str, status_code: int, raw_body: Optional[str], headers: dict) +(*, url: str, status_code: int, raw_body: str | None, headers: dict)
@@ -496,7 +496,7 @@

Subclasses

Class variables

-
var body : Optional[Dict[str, Any]]
+
var body : Dict[str, Any] | None
@@ -504,7 +504,7 @@

Class variables

-
var raw_body : Optional[str]
+
var raw_body : str | None
@@ -519,7 +519,7 @@

Class variables

Instance variables

-
prop errors : Optional[Errors]
+
prop errorsErrors | None
@@ -534,7 +534,7 @@

Instance variables

return Errors(**errors)
-
prop snake_cased_body : Optional[Dict[str, Any]]
+
prop snake_cased_body : Dict[str, Any] | None
@@ -714,7 +714,7 @@

Ancestors

Class variables

-
var body : Optional[Dict[str, Any]]
+
var body : Dict[str, Any] | None
@@ -722,7 +722,7 @@

Class variables

-
var raw_body : Optional[str]
+
var raw_body : str | None
@@ -737,7 +737,7 @@

Class variables

Instance variables

-
prop errors : Optional[Errors]
+
prop errorsErrors | None
@@ -752,7 +752,7 @@

Instance variables

return Errors(**errors)
-
prop snake_cased_body : Optional[Dict[str, Any]]
+
prop snake_cased_body : Dict[str, Any] | None
@@ -991,7 +991,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/scim/v1/types.html b/docs/static/api-docs/slack_sdk/scim/v1/types.html index 07356c97..d473bd0e 100644 --- a/docs/static/api-docs/slack_sdk/scim/v1/types.html +++ b/docs/static/api-docs/slack_sdk/scim/v1/types.html @@ -3,13 +3,13 @@ - + slack_sdk.scim.v1.types API documentation - + @@ -37,7 +37,7 @@

Classes

class TypeAndValue -(*, primary: Union[bool, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, type: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, value: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(*,
primary: bool | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
type: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
value: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -75,11 +75,11 @@

Subclasses

Class variables

-
var primary : Union[bool, ForwardRef(None), DefaultArg]
+
var primary : bool | DefaultArg | None
-
var type : Union[str, ForwardRef(None), DefaultArg]
+
var type : str | DefaultArg | None
@@ -87,7 +87,7 @@

Class variables

-
var value : Union[str, ForwardRef(None), DefaultArg]
+
var value : str | DefaultArg | None
@@ -133,7 +133,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/scim/v1/user.html b/docs/static/api-docs/slack_sdk/scim/v1/user.html index f0cca639..688b4f89 100644 --- a/docs/static/api-docs/slack_sdk/scim/v1/user.html +++ b/docs/static/api-docs/slack_sdk/scim/v1/user.html @@ -3,13 +3,13 @@ - + slack_sdk.scim.v1.user API documentation - + @@ -37,7 +37,7 @@

Classes

class User -(*, active: Union[bool, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, addresses: Union[List[Union[UserAddress, Dict[str, Any]]], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, display_name: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, emails: Union[List[Union[TypeAndValue, Dict[str, Any]]], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, external_id: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, groups: Union[List[Union[UserGroup, Dict[str, Any]]], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, id: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, meta: Union[UserMeta, Dict[str, Any], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, name: Union[UserName, Dict[str, Any], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, nick_name: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, phone_numbers: Union[List[Union[TypeAndValue, Dict[str, Any]]], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, photos: Union[List[Union[UserPhoto, Dict[str, Any]]], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, profile_url: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, roles: Union[List[Union[TypeAndValue, Dict[str, Any]]], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, schemas: Union[List[str], ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, timezone: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, title: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, user_name: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(*,
active: bool | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
addresses: List[UserAddress | Dict[str, Any]] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
display_name: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
emails: List[TypeAndValue | Dict[str, Any]] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
external_id: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
groups: List[UserGroup | Dict[str, Any]] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
id: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
meta: UserMeta | Dict[str, Any] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
name: UserName | Dict[str, Any] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
nick_name: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
phone_numbers: List[TypeAndValue | Dict[str, Any]] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
photos: List[UserPhoto | Dict[str, Any]] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
profile_url: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
roles: List[TypeAndValue | Dict[str, Any]] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
schemas: List[str] | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
timezone: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
title: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
user_name: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -134,71 +134,71 @@

Classes

Class variables

-
var active : Union[bool, ForwardRef(None), DefaultArg]
+
var active : bool | DefaultArg | None
-
var addresses : Union[List[UserAddress], ForwardRef(None), DefaultArg]
+
var addresses : List[UserAddress] | DefaultArg | None
-
var display_name : Union[str, ForwardRef(None), DefaultArg]
+
var display_name : str | DefaultArg | None
-
var emails : Union[List[TypeAndValue], ForwardRef(None), DefaultArg]
+
var emails : List[TypeAndValue] | DefaultArg | None
-
var external_id : Union[str, ForwardRef(None), DefaultArg]
+
var external_id : str | DefaultArg | None
-
var groups : Union[List[UserGroup], ForwardRef(None), DefaultArg]
+
var groups : List[UserGroup] | DefaultArg | None
-
var id : Union[str, ForwardRef(None), DefaultArg]
+
var id : str | DefaultArg | None
-
var meta : Union[UserMeta, ForwardRef(None), DefaultArg]
+
var metaUserMeta | DefaultArg | None
-
var name : Union[UserName, ForwardRef(None), DefaultArg]
+
var nameUserName | DefaultArg | None
-
var nick_name : Union[str, ForwardRef(None), DefaultArg]
+
var nick_name : str | DefaultArg | None
-
var phone_numbers : Union[List[TypeAndValue], ForwardRef(None), DefaultArg]
+
var phone_numbers : List[TypeAndValue] | DefaultArg | None
-
var photos : Union[List[UserPhoto], ForwardRef(None), DefaultArg]
+
var photos : List[UserPhoto] | DefaultArg | None
-
var profile_url : Union[str, ForwardRef(None), DefaultArg]
+
var profile_url : str | DefaultArg | None
-
var roles : Union[List[TypeAndValue], ForwardRef(None), DefaultArg]
+
var roles : List[TypeAndValue] | DefaultArg | None
-
var schemas : Union[List[str], ForwardRef(None), DefaultArg]
+
var schemas : List[str] | DefaultArg | None
-
var timezone : Union[str, ForwardRef(None), DefaultArg]
+
var timezone : str | DefaultArg | None
-
var title : Union[str, ForwardRef(None), DefaultArg]
+
var title : str | DefaultArg | None
@@ -206,7 +206,7 @@

Class variables

-
var user_name : Union[str, ForwardRef(None), DefaultArg]
+
var user_name : str | DefaultArg | None
@@ -223,7 +223,7 @@

Methods

class UserAddress -(*, country: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, locality: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, postal_code: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, primary: Union[bool, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, region: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, street_address: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(*,
country: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
locality: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
postal_code: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
primary: bool | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
region: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
street_address: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -264,27 +264,27 @@

Methods

Class variables

-
var country : Union[str, ForwardRef(None), DefaultArg]
+
var country : str | DefaultArg | None
-
var locality : Union[str, ForwardRef(None), DefaultArg]
+
var locality : str | DefaultArg | None
-
var postal_code : Union[str, ForwardRef(None), DefaultArg]
+
var postal_code : str | DefaultArg | None
-
var primary : Union[bool, ForwardRef(None), DefaultArg]
+
var primary : bool | DefaultArg | None
-
var region : Union[str, ForwardRef(None), DefaultArg]
+
var region : str | DefaultArg | None
-
var street_address : Union[str, ForwardRef(None), DefaultArg]
+
var street_address : str | DefaultArg | None
@@ -305,7 +305,7 @@

Methods

class UserEmail -(*, primary: Union[bool, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, type: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, value: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(*,
primary: bool | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
type: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
value: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -322,11 +322,11 @@

Ancestors

Class variables

-
var primary : Union[bool, ForwardRef(None), DefaultArg]
+
var primary : bool | DefaultArg | None
-
var type : Union[str, ForwardRef(None), DefaultArg]
+
var type : str | DefaultArg | None
@@ -334,7 +334,7 @@

Class variables

-
var value : Union[str, ForwardRef(None), DefaultArg]
+
var value : str | DefaultArg | None
@@ -342,7 +342,7 @@

Class variables

class UserGroup -(*, display: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, value: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(*,
display: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
value: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -371,7 +371,7 @@

Class variables

Class variables

-
var display : Union[str, ForwardRef(None), DefaultArg]
+
var display : str | DefaultArg | None
@@ -379,7 +379,7 @@

Class variables

-
var value : Union[str, ForwardRef(None), DefaultArg]
+
var value : str | DefaultArg | None
@@ -396,7 +396,7 @@

Methods

class UserMeta -(created: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, location: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(created: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
location: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -424,11 +424,11 @@

Methods

Class variables

-
var created : Union[str, ForwardRef(None), DefaultArg]
+
var created : str | DefaultArg | None
-
var location : Union[str, ForwardRef(None), DefaultArg]
+
var location : str | DefaultArg | None
@@ -449,7 +449,7 @@

Methods

class UserName -(family_name: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, given_name: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(family_name: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
given_name: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -477,11 +477,11 @@

Methods

Class variables

-
var family_name : Union[str, ForwardRef(None), DefaultArg]
+
var family_name : str | DefaultArg | None
-
var given_name : Union[str, ForwardRef(None), DefaultArg]
+
var given_name : str | DefaultArg | None
@@ -502,7 +502,7 @@

Methods

class UserPhoneNumber -(*, primary: Union[bool, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, type: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, value: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(*,
primary: bool | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
type: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
value: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -519,11 +519,11 @@

Ancestors

Class variables

-
var primary : Union[bool, ForwardRef(None), DefaultArg]
+
var primary : bool | DefaultArg | None
-
var type : Union[str, ForwardRef(None), DefaultArg]
+
var type : str | DefaultArg | None
@@ -531,7 +531,7 @@

Class variables

-
var value : Union[str, ForwardRef(None), DefaultArg]
+
var value : str | DefaultArg | None
@@ -539,7 +539,7 @@

Class variables

class UserPhoto -(type: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, value: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(type: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
value: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -567,7 +567,7 @@

Class variables

Class variables

-
var type : Union[str, ForwardRef(None), DefaultArg]
+
var type : str | DefaultArg | None
@@ -575,7 +575,7 @@

Class variables

-
var value : Union[str, ForwardRef(None), DefaultArg]
+
var value : str | DefaultArg | None
@@ -592,7 +592,7 @@

Methods

class UserRole -(*, primary: Union[bool, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, type: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, value: Union[str, ForwardRef(None), DefaultArg] = <slack_sdk.scim.v1.default_arg.DefaultArg object>, **kwargs) +(*,
primary: bool | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
type: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
value: str | DefaultArg | None = <slack_sdk.scim.v1.default_arg.DefaultArg object>,
**kwargs)
@@ -609,11 +609,11 @@

Ancestors

Class variables

-
var primary : Union[bool, ForwardRef(None), DefaultArg]
+
var primary : bool | DefaultArg | None
-
var type : Union[str, ForwardRef(None), DefaultArg]
+
var type : str | DefaultArg | None
@@ -621,7 +621,7 @@

Class variables

-
var value : Union[str, ForwardRef(None), DefaultArg]
+
var value : str | DefaultArg | None
@@ -749,7 +749,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/signature/index.html b/docs/static/api-docs/slack_sdk/signature/index.html index d3cc8f50..59bfd443 100644 --- a/docs/static/api-docs/slack_sdk/signature/index.html +++ b/docs/static/api-docs/slack_sdk/signature/index.html @@ -3,13 +3,13 @@ - + slack_sdk.signature API documentation - + @@ -61,7 +61,7 @@

Methods

class SignatureVerifier -(signing_secret: str, clock: Clock = <slack_sdk.signature.Clock object>) +(signing_secret: str,
clock: Clock = <slack_sdk.signature.Clock object>)

Slack request signature verifier

@@ -136,19 +136,19 @@

Methods

Methods

-def generate_signature(self, *, timestamp: str, body: Union[str, bytes]) ‑> Optional[str] +def generate_signature(self, *, timestamp: str, body: str | bytes) ‑> str | None

Generates a signature

-def is_valid(self, body: Union[str, bytes], timestamp: str, signature: str) ‑> bool +def is_valid(self, body: str | bytes, timestamp: str, signature: str) ‑> bool

Verifies if the given signature is valid

-def is_valid_request(self, body: Union[str, bytes], headers: Dict[str, str]) ‑> bool +def is_valid_request(self, body: str | bytes, headers: Dict[str, str]) ‑> bool

Verifies if the given signature is valid

@@ -190,7 +190,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/aiohttp/index.html b/docs/static/api-docs/slack_sdk/socket_mode/aiohttp/index.html index d520af2b..19e340bf 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/aiohttp/index.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/aiohttp/index.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.aiohttp API documentation - + @@ -43,7 +43,7 @@

Classes

class SocketModeClient -(app_token: str, logger: Optional[logging.Logger] = None, web_client: Optional[AsyncWebClient] = None, proxy: Optional[str] = None, auto_reconnect_enabled: bool = True, ping_interval: float = 5, trace_enabled: bool = False, on_message_listeners: Optional[List[Callable[[aiohttp._websocket.models.WSMessage], Awaitable[None]]]] = None, on_error_listeners: Optional[List[Callable[[aiohttp._websocket.models.WSMessage], Awaitable[None]]]] = None, on_close_listeners: Optional[List[Callable[[aiohttp._websocket.models.WSMessage], Awaitable[None]]]] = None) +(app_token: str,
logger: logging.Logger | None = None,
web_client: AsyncWebClient | None = None,
proxy: str | None = None,
auto_reconnect_enabled: bool = True,
ping_interval: float = 5,
trace_enabled: bool = False,
on_message_listeners: List[Callable[[aiohttp._websocket.models.WSMessage], Awaitable[None]]] | None = None,
on_error_listeners: List[Callable[[aiohttp._websocket.models.WSMessage], Awaitable[None]]] | None = None,
on_close_listeners: List[Callable[[aiohttp._websocket.models.WSMessage], Awaitable[None]]] | None = None,
loop: asyncio.events.AbstractEventLoop | None = None)

Socket Mode client

@@ -69,6 +69,8 @@

Args

listener functions for on_error
on_close_listeners
listener functions for on_close
+
loop
+
an existing asyncio event loop

@@ -127,6 +129,7 @@

Args

on_message_listeners: Optional[List[Callable[[WSMessage], Awaitable[None]]]] = None, on_error_listeners: Optional[List[Callable[[WSMessage], Awaitable[None]]]] = None, on_close_listeners: Optional[List[Callable[[WSMessage], Awaitable[None]]]] = None, + loop: Optional[AbstractEventLoop] = None, ): """Socket Mode client @@ -141,6 +144,7 @@

Args

on_message_listeners: listener functions for on_message on_error_listeners: listener functions for on_error on_close_listeners: listener functions for on_close + loop: an existing asyncio event loop """ self.app_token = app_token self.logger = logger or logging.getLogger(__name__) @@ -172,7 +176,7 @@

Args

# over the lifetime of your application, # it is suggested you use a single session for the lifetime of your application # to benefit from connection pooling. - self.aiohttp_client_session = aiohttp.ClientSession() + self.aiohttp_client_session = aiohttp.ClientSession(loop=loop) self.on_message_listeners = on_message_listeners or [] self.on_error_listeners = on_error_listeners or [] @@ -529,11 +533,11 @@

Class variables

-
var current_session : Optional[aiohttp.client_ws.ClientWebSocketResponse]
+
var current_session : aiohttp.client_ws.ClientWebSocketResponse | None
-
var current_session_monitor : Optional[_asyncio.Future]
+
var current_session_monitor : _asyncio.Future | None
@@ -541,7 +545,7 @@

Class variables

-
var last_ping_pong_time : Optional[float]
+
var last_ping_pong_time : float | None
@@ -549,7 +553,7 @@

Class variables

-
var message_listeners : List[Union[AsyncWebSocketMessageListener, Callable[[AsyncBaseSocketModeClient, dict, Optional[str]], Awaitable[None]]]]
+
var message_listeners : List[AsyncWebSocketMessageListener | Callable[[AsyncBaseSocketModeClient, dict, str | None], Awaitable[None]]]
@@ -561,7 +565,7 @@

Class variables

-
var message_receiver : Optional[_asyncio.Future]
+
var message_receiver : _asyncio.Future | None
@@ -581,11 +585,11 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
-
var socket_mode_request_listeners : List[Union[AsyncSocketModeRequestListener, Callable[[AsyncBaseSocketModeClientSocketModeRequest], Awaitable[None]]]]
+
var socket_mode_request_listeners : List[AsyncSocketModeRequestListener | Callable[[AsyncBaseSocketModeClientSocketModeRequest], Awaitable[None]]]
@@ -601,7 +605,7 @@

Class variables

-
var wss_uri : Optional[str]
+
var wss_uri : str | None
@@ -732,7 +736,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/async_client.html b/docs/static/api-docs/slack_sdk/socket_mode/async_client.html index 30a5d33e..9bede5c9 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/async_client.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/async_client.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.async_client API documentation - + @@ -222,7 +222,7 @@

Class variables

-
var message_listeners : List[Union[AsyncWebSocketMessageListener, Callable[[AsyncBaseSocketModeClient, dict, Optional[str]], Awaitable[None]]]]
+
var message_listeners : List[AsyncWebSocketMessageListener | Callable[[AsyncBaseSocketModeClient, dict, str | None], Awaitable[None]]]
@@ -230,7 +230,7 @@

Class variables

-
var socket_mode_request_listeners : List[Union[AsyncSocketModeRequestListener, Callable[[AsyncBaseSocketModeClientSocketModeRequest], Awaitable[None]]]]
+
var socket_mode_request_listeners : List[AsyncSocketModeRequestListener | Callable[[AsyncBaseSocketModeClientSocketModeRequest], Awaitable[None]]]
@@ -316,7 +316,7 @@

Methods

-async def send_socket_mode_response(self, response: Union[Dict[str, Any], SocketModeResponse]) +async def send_socket_mode_response(self,
response: Dict[str, Any] | SocketModeResponse)
@@ -379,7 +379,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/async_listeners.html b/docs/static/api-docs/slack_sdk/socket_mode/async_listeners.html index f005910d..f1736d71 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/async_listeners.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/async_listeners.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.async_listeners API documentation - + @@ -133,7 +133,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/builtin/client.html b/docs/static/api-docs/slack_sdk/socket_mode/builtin/client.html index e84bbc73..3747c299 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/builtin/client.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/builtin/client.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.builtin.client API documentation - + @@ -42,7 +42,7 @@

Classes

class SocketModeClient -(app_token: str, logger: Optional[logging.Logger] = None, web_client: Optional[WebClient] = None, auto_reconnect_enabled: bool = True, trace_enabled: bool = False, all_message_trace_enabled: bool = False, ping_pong_trace_enabled: bool = False, ping_interval: float = 5, receive_buffer_size: int = 1024, concurrency: int = 10, proxy: Optional[str] = None, proxy_headers: Optional[Dict[str, str]] = None, on_message_listeners: Optional[List[Callable[[str], None]]] = None, on_error_listeners: Optional[List[Callable[[Exception], None]]] = None, on_close_listeners: Optional[List[Callable[[int, Optional[str]], None]]] = None) +(app_token: str,
logger: logging.Logger | None = None,
web_client: WebClient | None = None,
auto_reconnect_enabled: bool = True,
trace_enabled: bool = False,
all_message_trace_enabled: bool = False,
ping_pong_trace_enabled: bool = False,
ping_interval: float = 5,
receive_buffer_size: int = 1024,
concurrency: int = 10,
proxy: str | None = None,
proxy_headers: Dict[str, str] | None = None,
on_message_listeners: List[Callable[[str], None]] | None = None,
on_error_listeners: List[Callable[[Exception], None]] | None = None,
on_close_listeners: List[Callable[[int, str | None], None]] | None = None)

Socket Mode client

@@ -373,7 +373,7 @@

Class variables

-
var current_session : Optional[Connection]
+
var current_sessionConnection | None
@@ -393,7 +393,7 @@

Class variables

-
var message_listeners : List[Union[WebSocketMessageListener, Callable[[BaseSocketModeClient, dict, Optional[str]], None]]]
+
var message_listeners : List[WebSocketMessageListener | Callable[[BaseSocketModeClient, dict, str | None], None]]
@@ -409,7 +409,7 @@

Class variables

-
var on_close_listeners : List[Callable[[int, Optional[str]], None]]
+
var on_close_listeners : List[Callable[[int, str | None], None]]
@@ -425,7 +425,7 @@

Class variables

-
var socket_mode_request_listeners : List[Union[SocketModeRequestListener, Callable[[BaseSocketModeClientSocketModeRequest], None]]]
+
var socket_mode_request_listeners : List[SocketModeRequestListener | Callable[[BaseSocketModeClientSocketModeRequest], None]]
@@ -437,7 +437,7 @@

Class variables

-
var wss_uri : Optional[str]
+
var wss_uri : str | None
@@ -475,7 +475,7 @@

Methods

-def session_id(self) ‑> Optional[str] +def session_id(self) ‑> str | None
@@ -536,7 +536,7 @@

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/builtin/connection.html b/docs/static/api-docs/slack_sdk/socket_mode/builtin/connection.html index 8144190f..6483a723 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/builtin/connection.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/builtin/connection.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.builtin.connection API documentation - + @@ -37,7 +37,7 @@

Classes

class Connection -(url: str, logger: logging.Logger, proxy: Optional[str] = None, proxy_headers: Optional[Dict[str, str]] = None, ping_interval: float = 5, receive_timeout: float = 3, receive_buffer_size: int = 1024, trace_enabled: bool = False, all_message_trace_enabled: bool = False, ping_pong_trace_enabled: bool = False, on_message_listener: Optional[Callable[[str], None]] = None, on_error_listener: Optional[Callable[[Exception], None]] = None, on_close_listener: Optional[Callable[[int, Optional[str]], None]] = None, connection_type_name: str = 'Socket Mode', ssl_context: Optional[ssl.SSLContext] = None) +(url: str,
logger: logging.Logger,
proxy: str | None = None,
proxy_headers: Dict[str, str] | None = None,
ping_interval: float = 5,
receive_timeout: float = 3,
receive_buffer_size: int = 1024,
trace_enabled: bool = False,
all_message_trace_enabled: bool = False,
ping_pong_trace_enabled: bool = False,
on_message_listener: Callable[[str], None] | None = None,
on_error_listener: Callable[[Exception], None] | None = None,
on_close_listener: Callable[[int, str | None], None] | None = None,
connection_type_name: str = 'Socket Mode',
ssl_context: ssl.SSLContext | None = None)
@@ -467,7 +467,7 @@

Classes

Class variables

-
var last_ping_pong_time : Optional[float]
+
var last_ping_pong_time : float | None
@@ -475,15 +475,15 @@

Class variables

-
var on_close_listener : Optional[Callable[[int, Optional[str]], None]]
+
var on_close_listener : Callable[[int, str | None], None] | None
-
var on_error_listener : Optional[Callable[[Exception], None]]
+
var on_error_listener : Callable[[Exception], None] | None
-
var on_message_listener : Optional[Callable[[str], None]]
+
var on_message_listener : Callable[[str], None] | None
@@ -491,11 +491,11 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
-
var proxy_headers : Optional[Dict[str, str]]
+
var proxy_headers : Dict[str, str] | None
@@ -503,7 +503,7 @@

Class variables

-
var sock : Optional[ssl.SSLSocket]
+
var sock : ssl.SSLSocket | None
@@ -549,19 +549,19 @@

Methods

-def ping(self, payload: Union[str, bytes] = '') ‑> None +def ping(self, payload: str | bytes = '') ‑> None
-def pong(self, payload: Union[str, bytes] = '') ‑> None +def pong(self, payload: str | bytes = '') ‑> None
-def run_until_completion(self, state: ConnectionState) ‑> None +def run_until_completion(self,
state: ConnectionState) ‑> None
@@ -652,7 +652,7 @@

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/builtin/frame_header.html b/docs/static/api-docs/slack_sdk/socket_mode/builtin/frame_header.html index 1335820b..220a806f 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/builtin/frame_header.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/builtin/frame_header.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.builtin.frame_header API documentation - + @@ -37,7 +37,7 @@

Classes

class FrameHeader -(opcode: int, fin: int = 1, rsv1: int = 0, rsv2: int = 0, rsv3: int = 0, masked: int = 0, length: int = 0) +(opcode: int,
fin: int = 1,
rsv1: int = 0,
rsv2: int = 0,
rsv3: int = 0,
masked: int = 0,
length: int = 0)
@@ -188,7 +188,7 @@

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/builtin/index.html b/docs/static/api-docs/slack_sdk/socket_mode/builtin/index.html index a2e46613..10af3372 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/builtin/index.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/builtin/index.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.builtin API documentation - + @@ -56,7 +56,7 @@

Classes

class SocketModeClient -(app_token: str, logger: Optional[logging.Logger] = None, web_client: Optional[WebClient] = None, auto_reconnect_enabled: bool = True, trace_enabled: bool = False, all_message_trace_enabled: bool = False, ping_pong_trace_enabled: bool = False, ping_interval: float = 5, receive_buffer_size: int = 1024, concurrency: int = 10, proxy: Optional[str] = None, proxy_headers: Optional[Dict[str, str]] = None, on_message_listeners: Optional[List[Callable[[str], None]]] = None, on_error_listeners: Optional[List[Callable[[Exception], None]]] = None, on_close_listeners: Optional[List[Callable[[int, Optional[str]], None]]] = None) +(app_token: str,
logger: logging.Logger | None = None,
web_client: WebClient | None = None,
auto_reconnect_enabled: bool = True,
trace_enabled: bool = False,
all_message_trace_enabled: bool = False,
ping_pong_trace_enabled: bool = False,
ping_interval: float = 5,
receive_buffer_size: int = 1024,
concurrency: int = 10,
proxy: str | None = None,
proxy_headers: Dict[str, str] | None = None,
on_message_listeners: List[Callable[[str], None]] | None = None,
on_error_listeners: List[Callable[[Exception], None]] | None = None,
on_close_listeners: List[Callable[[int, str | None], None]] | None = None)

Socket Mode client

@@ -387,7 +387,7 @@

Class variables

-
var current_session : Optional[Connection]
+
var current_sessionConnection | None
@@ -407,7 +407,7 @@

Class variables

-
var message_listeners : List[Union[WebSocketMessageListener, Callable[[BaseSocketModeClient, dict, Optional[str]], None]]]
+
var message_listeners : List[WebSocketMessageListener | Callable[[BaseSocketModeClient, dict, str | None], None]]
@@ -423,7 +423,7 @@

Class variables

-
var on_close_listeners : List[Callable[[int, Optional[str]], None]]
+
var on_close_listeners : List[Callable[[int, str | None], None]]
@@ -439,7 +439,7 @@

Class variables

-
var socket_mode_request_listeners : List[Union[SocketModeRequestListener, Callable[[BaseSocketModeClientSocketModeRequest], None]]]
+
var socket_mode_request_listeners : List[SocketModeRequestListener | Callable[[BaseSocketModeClientSocketModeRequest], None]]
@@ -451,7 +451,7 @@

Class variables

-
var wss_uri : Optional[str]
+
var wss_uri : str | None
@@ -489,7 +489,7 @@

Methods

-def session_id(self) ‑> Optional[str] +def session_id(self) ‑> str | None
@@ -558,7 +558,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/builtin/internals.html b/docs/static/api-docs/slack_sdk/socket_mode/builtin/internals.html index f11fa106..37d35f3b 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/builtin/internals.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/builtin/internals.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.builtin.internals API documentation - + @@ -49,7 +49,7 @@

Module slack_sdk.socket_mode.builtin.internals diff --git a/docs/static/api-docs/slack_sdk/socket_mode/client.html b/docs/static/api-docs/slack_sdk/socket_mode/client.html index ad24aae2..bced03f5 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/client.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/client.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.client API documentation - + @@ -205,7 +205,7 @@

Class variables

-
var message_listeners : List[Union[WebSocketMessageListener, Callable[[BaseSocketModeClient, dict, Optional[str]], None]]]
+
var message_listeners : List[WebSocketMessageListener | Callable[[BaseSocketModeClient, dict, str | None], None]]
@@ -221,7 +221,7 @@

Class variables

-
var socket_mode_request_listeners : List[Union[SocketModeRequestListener, Callable[[BaseSocketModeClientSocketModeRequest], None]]]
+
var socket_mode_request_listeners : List[SocketModeRequestListener | Callable[[BaseSocketModeClientSocketModeRequest], None]]
@@ -303,7 +303,7 @@

Methods

-def send_socket_mode_response(self, response: Union[Dict[str, Any], SocketModeResponse]) ‑> None +def send_socket_mode_response(self,
response: Dict[str, Any] | SocketModeResponse) ‑> None
@@ -359,7 +359,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/index.html b/docs/static/api-docs/slack_sdk/socket_mode/index.html index edd5f240..93383e2f 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/index.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/index.html @@ -3,14 +3,14 @@ - + slack_sdk.socket_mode API documentation - + @@ -93,7 +93,7 @@

Classes

class SocketModeClient -(app_token: str, logger: Optional[logging.Logger] = None, web_client: Optional[WebClient] = None, auto_reconnect_enabled: bool = True, trace_enabled: bool = False, all_message_trace_enabled: bool = False, ping_pong_trace_enabled: bool = False, ping_interval: float = 5, receive_buffer_size: int = 1024, concurrency: int = 10, proxy: Optional[str] = None, proxy_headers: Optional[Dict[str, str]] = None, on_message_listeners: Optional[List[Callable[[str], None]]] = None, on_error_listeners: Optional[List[Callable[[Exception], None]]] = None, on_close_listeners: Optional[List[Callable[[int, Optional[str]], None]]] = None) +(app_token: str,
logger: logging.Logger | None = None,
web_client: WebClient | None = None,
auto_reconnect_enabled: bool = True,
trace_enabled: bool = False,
all_message_trace_enabled: bool = False,
ping_pong_trace_enabled: bool = False,
ping_interval: float = 5,
receive_buffer_size: int = 1024,
concurrency: int = 10,
proxy: str | None = None,
proxy_headers: Dict[str, str] | None = None,
on_message_listeners: List[Callable[[str], None]] | None = None,
on_error_listeners: List[Callable[[Exception], None]] | None = None,
on_close_listeners: List[Callable[[int, str | None], None]] | None = None)

Socket Mode client

@@ -424,7 +424,7 @@

Class variables

-
var current_session : Optional[Connection]
+
var current_sessionConnection | None
@@ -444,7 +444,7 @@

Class variables

-
var message_listeners : List[Union[WebSocketMessageListener, Callable[[BaseSocketModeClient, dict, Optional[str]], None]]]
+
var message_listeners : List[WebSocketMessageListener | Callable[[BaseSocketModeClient, dict, str | None], None]]
@@ -460,7 +460,7 @@

Class variables

-
var on_close_listeners : List[Callable[[int, Optional[str]], None]]
+
var on_close_listeners : List[Callable[[int, str | None], None]]
@@ -476,7 +476,7 @@

Class variables

-
var socket_mode_request_listeners : List[Union[SocketModeRequestListener, Callable[[BaseSocketModeClientSocketModeRequest], None]]]
+
var socket_mode_request_listeners : List[SocketModeRequestListener | Callable[[BaseSocketModeClientSocketModeRequest], None]]
@@ -488,7 +488,7 @@

Class variables

-
var wss_uri : Optional[str]
+
var wss_uri : str | None
@@ -526,7 +526,7 @@

Methods

-def session_id(self) ‑> Optional[str] +def session_id(self) ‑> str | None
@@ -603,7 +603,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/interval_runner.html b/docs/static/api-docs/slack_sdk/socket_mode/interval_runner.html index 7a62d0eb..5df594fc 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/interval_runner.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/interval_runner.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.interval_runner API documentation - + @@ -138,7 +138,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/listeners.html b/docs/static/api-docs/slack_sdk/socket_mode/listeners.html index 6cd4ae61..7a021d3c 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/listeners.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/listeners.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.listeners API documentation - + @@ -94,7 +94,7 @@

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/logger/index.html b/docs/static/api-docs/slack_sdk/socket_mode/logger/index.html index 93032dee..1884cb02 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/logger/index.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/logger/index.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.logger API documentation - + @@ -61,7 +61,7 @@

Sub-modules

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/logger/messages.html b/docs/static/api-docs/slack_sdk/socket_mode/logger/messages.html index 9df4c6d3..4e91af44 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/logger/messages.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/logger/messages.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.logger.messages API documentation - + @@ -63,7 +63,7 @@

Functions

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/request.html b/docs/static/api-docs/slack_sdk/socket_mode/request.html index f8754a0f..1a9d0241 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/request.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/request.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.request API documentation - + @@ -37,7 +37,7 @@

Classes

class SocketModeRequest -(type: str, envelope_id: str, payload: Union[dict, JsonObject, str], accepts_response_payload: Optional[bool] = None, retry_attempt: Optional[int] = None, retry_reason: Optional[str] = None) +(type: str,
envelope_id: str,
payload: dict | JsonObject | str,
accepts_response_payload: bool | None = None,
retry_attempt: int | None = None,
retry_reason: str | None = None)
@@ -112,11 +112,11 @@

Class variables

-
var retry_attempt : Optional[int]
+
var retry_attempt : int | None
-
var retry_reason : Optional[str]
+
var retry_reason : str | None
@@ -128,7 +128,7 @@

Class variables

Static methods

-def from_dict(message: dict) ‑> Optional[SocketModeRequest] +def from_dict(message: dict) ‑> SocketModeRequest | None
@@ -178,7 +178,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/response.html b/docs/static/api-docs/slack_sdk/socket_mode/response.html index a9e34df6..979fab00 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/response.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/response.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.response API documentation - + @@ -37,7 +37,7 @@

Classes

class SocketModeResponse -(envelope_id: str, payload: Union[dict, JsonObject, str, ForwardRef(None)] = None) +(envelope_id: str,
payload: dict | JsonObject | str | None = None)
@@ -119,7 +119,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/websocket_client/index.html b/docs/static/api-docs/slack_sdk/socket_mode/websocket_client/index.html index c41fde3d..672ffb7e 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/websocket_client/index.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/websocket_client/index.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.websocket_client API documentation - + @@ -43,7 +43,7 @@

Classes

class SocketModeClient -(app_token: str, logger: Optional[logging.Logger] = None, web_client: Optional[WebClient] = None, auto_reconnect_enabled: bool = True, ping_interval: float = 10, concurrency: int = 10, trace_enabled: bool = False, http_proxy_host: Optional[str] = None, http_proxy_port: Optional[int] = None, http_proxy_auth: Optional[Tuple[str, str]] = None, proxy_type: Optional[str] = None, on_open_listeners: Optional[List[Callable[[websocket._app.WebSocketApp], None]]] = None, on_message_listeners: Optional[List[Callable[[websocket._app.WebSocketApp, str], None]]] = None, on_error_listeners: Optional[List[Callable[[websocket._app.WebSocketApp, Exception], None]]] = None, on_close_listeners: Optional[List[Callable[[websocket._app.WebSocketApp], None]]] = None) +(app_token: str,
logger: logging.Logger | None = None,
web_client: WebClient | None = None,
auto_reconnect_enabled: bool = True,
ping_interval: float = 10,
concurrency: int = 10,
trace_enabled: bool = False,
http_proxy_host: str | None = None,
http_proxy_port: int | None = None,
http_proxy_auth: Tuple[str, str] | None = None,
proxy_type: str | None = None,
on_open_listeners: List[Callable[[websocket._app.WebSocketApp], None]] | None = None,
on_message_listeners: List[Callable[[websocket._app.WebSocketApp, str], None]] | None = None,
on_error_listeners: List[Callable[[websocket._app.WebSocketApp, Exception], None]] | None = None,
on_close_listeners: List[Callable[[websocket._app.WebSocketApp], None]] | None = None)

Args

@@ -342,7 +342,7 @@

Class variables

-
var current_session : Optional[websocket._app.WebSocketApp]
+
var current_session : websocket._app.WebSocketApp | None
@@ -358,7 +358,7 @@

Class variables

-
var message_listeners : List[Union[WebSocketMessageListener, Callable[[BaseSocketModeClient, dict, Optional[str]], None]]]
+
var message_listeners : List[WebSocketMessageListener | Callable[[BaseSocketModeClient, dict, str | None], None]]
@@ -390,7 +390,7 @@

Class variables

-
var socket_mode_request_listeners : List[Union[SocketModeRequestListener, Callable[[BaseSocketModeClientSocketModeRequest], None]]]
+
var socket_mode_request_listeners : List[SocketModeRequestListener | Callable[[BaseSocketModeClientSocketModeRequest], None]]
@@ -398,7 +398,7 @@

Class variables

-
var wss_uri : Optional[str]
+
var wss_uri : str | None
@@ -488,7 +488,7 @@

diff --git a/docs/static/api-docs/slack_sdk/socket_mode/websockets/index.html b/docs/static/api-docs/slack_sdk/socket_mode/websockets/index.html index 1ddc1fad..d638e987 100644 --- a/docs/static/api-docs/slack_sdk/socket_mode/websockets/index.html +++ b/docs/static/api-docs/slack_sdk/socket_mode/websockets/index.html @@ -3,13 +3,13 @@ - + slack_sdk.socket_mode.websockets API documentation - + @@ -43,7 +43,7 @@

Classes

class SocketModeClient -(app_token: str, logger: Optional[logging.Logger] = None, web_client: Optional[AsyncWebClient] = None, auto_reconnect_enabled: bool = True, ping_interval: float = 10, trace_enabled: bool = False) +(app_token: str,
logger: logging.Logger | None = None,
web_client: AsyncWebClient | None = None,
auto_reconnect_enabled: bool = True,
ping_interval: float = 10,
trace_enabled: bool = False)

Socket Mode client

@@ -314,11 +314,11 @@

Class variables

-
var current_session : Optional[websockets.legacy.client.WebSocketClientProtocol]
+
var current_session : websockets.legacy.client.WebSocketClientProtocol | None
-
var current_session_monitor : Optional[_asyncio.Future]
+
var current_session_monitor : _asyncio.Future | None
@@ -330,7 +330,7 @@

Class variables

-
var message_listeners : List[Union[AsyncWebSocketMessageListener, Callable[[AsyncBaseSocketModeClient, dict, Optional[str]], Awaitable[None]]]]
+
var message_listeners : List[AsyncWebSocketMessageListener | Callable[[AsyncBaseSocketModeClient, dict, str | None], Awaitable[None]]]
@@ -342,7 +342,7 @@

Class variables

-
var message_receiver : Optional[_asyncio.Future]
+
var message_receiver : _asyncio.Future | None
@@ -350,7 +350,7 @@

Class variables

-
var socket_mode_request_listeners : List[Union[AsyncSocketModeRequestListener, Callable[[AsyncBaseSocketModeClientSocketModeRequest], Awaitable[None]]]]
+
var socket_mode_request_listeners : List[AsyncSocketModeRequestListener | Callable[[AsyncBaseSocketModeClientSocketModeRequest], Awaitable[None]]]
@@ -362,7 +362,7 @@

Class variables

-
var wss_uri : Optional[str]
+
var wss_uri : str | None
@@ -480,7 +480,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/version.html b/docs/static/api-docs/slack_sdk/version.html index bd8f706b..bde4c2d8 100644 --- a/docs/static/api-docs/slack_sdk/version.html +++ b/docs/static/api-docs/slack_sdk/version.html @@ -3,13 +3,13 @@ - + slack_sdk.version API documentation - + @@ -50,7 +50,7 @@

Module slack_sdk.version

diff --git a/docs/static/api-docs/slack_sdk/web/async_base_client.html b/docs/static/api-docs/slack_sdk/web/async_base_client.html index ab3585f9..1ff592a7 100644 --- a/docs/static/api-docs/slack_sdk/web/async_base_client.html +++ b/docs/static/api-docs/slack_sdk/web/async_base_client.html @@ -3,13 +3,13 @@ - + slack_sdk.web.async_base_client API documentation - + @@ -37,7 +37,7 @@

Classes

class AsyncBaseClient -(token: Optional[str] = None, base_url: str = 'https://slack.com/api/', timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, session: Optional[aiohttp.client.ClientSession] = None, trust_env_in_session: bool = False, headers: Optional[dict] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, team_id: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[slack_sdk.http_retry.async_handler.AsyncRetryHandler]] = None) +(token: str | None = None,
base_url: str = 'https://slack.com/api/',
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
session: aiohttp.client.ClientSession | None = None,
trust_env_in_session: bool = False,
headers: dict | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
team_id: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[slack_sdk.http_retry.async_handler.AsyncRetryHandler] | None = None)
@@ -67,6 +67,8 @@

Classes

): self.token = None if token is None else token.strip() """A string specifying an `xoxp-*` or `xoxb-*` token.""" + if not base_url.endswith("/"): + base_url += "/" self.base_url = base_url """A string representing the Slack API base URL. Default is `'https://slack.com/api/'`.""" @@ -324,7 +326,7 @@

Instance variables

Methods

-async def api_call(self, api_method: str, *, http_verb: str = 'POST', files: Optional[dict] = None, data: Union[dict, aiohttp.formdata.FormData] = None, params: Optional[dict] = None, json: Optional[dict] = None, headers: Optional[dict] = None, auth: Optional[dict] = None) ‑> AsyncSlackResponse +async def api_call(self,
api_method: str,
*,
http_verb: str = 'POST',
files: dict | None = None,
data: dict | aiohttp.formdata.FormData = None,
params: dict | None = None,
json: dict | None = None,
headers: dict | None = None,
auth: dict | None = None) ‑> AsyncSlackResponse

Create a request and execute the API call to Slack.

@@ -408,7 +410,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/web/async_client.html b/docs/static/api-docs/slack_sdk/web/async_client.html index c0727e95..589dcb51 100644 --- a/docs/static/api-docs/slack_sdk/web/async_client.html +++ b/docs/static/api-docs/slack_sdk/web/async_client.html @@ -3,13 +3,13 @@ - + slack_sdk.web.async_client API documentation - + @@ -38,7 +38,7 @@

Classes

class AsyncWebClient -(token: Optional[str] = None, base_url: str = 'https://slack.com/api/', timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, session: Optional[aiohttp.client.ClientSession] = None, trust_env_in_session: bool = False, headers: Optional[dict] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, team_id: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[slack_sdk.http_retry.async_handler.AsyncRetryHandler]] = None) +(token: str | None = None,
base_url: str = 'https://slack.com/api/',
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
session: aiohttp.client.ClientSession | None = None,
trust_env_in_session: bool = False,
headers: dict | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
team_id: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[slack_sdk.http_retry.async_handler.AsyncRetryHandler] | None = None)

A WebClient allows apps to communicate with the Slack Platform's Web API.

@@ -5508,21 +5508,21 @@

Ancestors

Methods

-async def admin_analytics_getFile(self, *, type: str, date: Optional[str] = None, metadata_only: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_analytics_getFile(self,
*,
type: str,
date: str | None = None,
metadata_only: bool | None = None,
**kwargs) ‑> AsyncSlackResponse

Retrieve analytics data for a given date, presented as a compressed JSON file https://api.slack.com/methods/admin.analytics.getFile

-async def admin_apps_activities_list(self, *, app_id: Optional[str] = None, component_id: Optional[str] = None, component_type: Optional[str] = None, log_event_type: Optional[str] = None, max_date_created: Optional[int] = None, min_date_created: Optional[int] = None, min_log_level: Optional[str] = None, sort_direction: Optional[str] = None, source: Optional[str] = None, team_id: Optional[str] = None, trace_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_apps_activities_list(self,
*,
app_id: str | None = None,
component_id: str | None = None,
component_type: str | None = None,
log_event_type: str | None = None,
max_date_created: int | None = None,
min_date_created: int | None = None,
min_log_level: str | None = None,
sort_direction: str | None = None,
source: str | None = None,
team_id: str | None = None,
trace_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def admin_apps_approve(self, *, app_id: Optional[str] = None, request_id: Optional[str] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_apps_approve(self,
*,
app_id: str | None = None,
request_id: str | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Approve an app for installation on a workspace. @@ -5532,49 +5532,49 @@

Methods

https://api.slack.com/methods/admin.apps.approve

-async def admin_apps_approved_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_apps_approved_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

List approved apps for an org or workspace. https://api.slack.com/methods/admin.apps.approved.list

-async def admin_apps_clearResolution(self, *, app_id: str, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_apps_clearResolution(self,
*,
app_id: str,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def admin_apps_config_lookup(self, *, app_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_apps_config_lookup(self, *, app_ids: str | Sequence[str], **kwargs) ‑> AsyncSlackResponse

Look up the app config for connectors by their IDs https://api.slack.com/methods/admin.apps.config.lookup

-async def admin_apps_config_set(self, *, app_id: str, domain_restrictions: Optional[Dict[str, Any]] = None, workflow_auth_strategy: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_apps_config_set(self,
*,
app_id: str,
domain_restrictions: Dict[str, Any] | None = None,
workflow_auth_strategy: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Set the app config for a connector https://api.slack.com/methods/admin.apps.config.set

-async def admin_apps_requests_cancel(self, *, request_id: str, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_apps_requests_cancel(self,
*,
request_id: str,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

List app requests for a team/workspace. https://api.slack.com/methods/admin.apps.requests.cancel

-async def admin_apps_requests_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_apps_requests_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

List app requests for a team/workspace. https://api.slack.com/methods/admin.apps.requests.list

-async def admin_apps_restrict(self, *, app_id: Optional[str] = None, request_id: Optional[str] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_apps_restrict(self,
*,
app_id: str | None = None,
request_id: str | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Restrict an app for installation on a workspace. @@ -5584,14 +5584,14 @@

Methods

https://api.slack.com/methods/admin.apps.restrict

-async def admin_apps_restricted_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_apps_restricted_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

List restricted apps for an org or workspace. https://api.slack.com/methods/admin.apps.restricted.list

-async def admin_apps_uninstall(self, *, app_id: str, enterprise_id: Optional[str] = None, team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_apps_uninstall(self,
*,
app_id: str,
enterprise_id: str | None = None,
team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> AsyncSlackResponse

Uninstall an app from one or many workspaces, or an entire enterprise organization. @@ -5599,28 +5599,28 @@

Methods

https://api.slack.com/methods/admin.apps.uninstall

-async def admin_auth_policy_assignEntities(self, *, entity_ids: Union[str, Sequence[str]], policy_name: str, entity_type: str, **kwargs) ‑> AsyncSlackResponse +async def admin_auth_policy_assignEntities(self,
*,
entity_ids: str | Sequence[str],
policy_name: str,
entity_type: str,
**kwargs) ‑> AsyncSlackResponse

Assign entities to a particular authentication policy. https://api.slack.com/methods/admin.auth.policy.assignEntities

-async def admin_auth_policy_getEntities(self, *, policy_name: str, cursor: Optional[str] = None, entity_type: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_auth_policy_getEntities(self,
*,
policy_name: str,
cursor: str | None = None,
entity_type: str | None = None,
limit: int | None = None,
**kwargs) ‑> AsyncSlackResponse

Fetch all the entities assigned to a particular authentication policy by name. https://api.slack.com/methods/admin.auth.policy.getEntities

-async def admin_auth_policy_removeEntities(self, *, entity_ids: Union[str, Sequence[str]], policy_name: str, entity_type: str, **kwargs) ‑> AsyncSlackResponse +async def admin_auth_policy_removeEntities(self,
*,
entity_ids: str | Sequence[str],
policy_name: str,
entity_type: str,
**kwargs) ‑> AsyncSlackResponse

Remove specified entities from a specified authentication policy. https://api.slack.com/methods/admin.auth.policy.removeEntities

-async def admin_barriers_create(self, *, barriered_from_usergroup_ids: Union[str, Sequence[str]], primary_usergroup_id: str, restricted_subjects: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_barriers_create(self,
*,
barriered_from_usergroup_ids: str | Sequence[str],
primary_usergroup_id: str,
restricted_subjects: str | Sequence[str],
**kwargs) ‑> AsyncSlackResponse

Create an Information Barrier @@ -5634,14 +5634,14 @@

Methods

https://api.slack.com/methods/admin.barriers.delete

-async def admin_barriers_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_barriers_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> AsyncSlackResponse

Get all Information Barriers for your organization https://api.slack.com/methods/admin.barriers.list

-async def admin_barriers_update(self, *, barrier_id: str, barriered_from_usergroup_ids: Union[str, Sequence[str]], primary_usergroup_id: str, restricted_subjects: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_barriers_update(self,
*,
barrier_id: str,
barriered_from_usergroup_ids: str | Sequence[str],
primary_usergroup_id: str,
restricted_subjects: str | Sequence[str],
**kwargs) ‑> AsyncSlackResponse

Update an existing Information Barrier @@ -5655,21 +5655,21 @@

Methods

https://api.slack.com/methods/admin.conversations.archive

-async def admin_conversations_bulkArchive(self, *, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_conversations_bulkArchive(self, *, channel_ids: str | Sequence[str], **kwargs) ‑> AsyncSlackResponse

Archive public or private channels in bulk. https://api.slack.com/methods/admin.conversations.bulkArchive

-async def admin_conversations_bulkDelete(self, *, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_conversations_bulkDelete(self, *, channel_ids: str | Sequence[str], **kwargs) ‑> AsyncSlackResponse

Delete public or private channels in bulk. https://slack.com/api/admin.conversations.bulkDelete

-async def admin_conversations_bulkMove(self, *, channel_ids: Union[str, Sequence[str]], target_team_id: str, **kwargs) ‑> AsyncSlackResponse +async def admin_conversations_bulkMove(self, *, channel_ids: str | Sequence[str], target_team_id: str, **kwargs) ‑> AsyncSlackResponse

Move public or private channels in bulk. @@ -5690,7 +5690,7 @@

Methods

https://api.slack.com/methods/admin.conversations.convertToPublic

-async def admin_conversations_create(self, *, is_private: bool, name: str, description: Optional[str] = None, org_wide: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_conversations_create(self,
*,
is_private: bool,
name: str,
description: str | None = None,
org_wide: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Create a public or private channel-based conversation. @@ -5704,14 +5704,14 @@

Methods

https://api.slack.com/methods/admin.conversations.delete

-async def admin_conversations_disconnectShared(self, *, channel_id: str, leaving_team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_conversations_disconnectShared(self,
*,
channel_id: str,
leaving_team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> AsyncSlackResponse

Disconnect a connected channel from one or more workspaces. https://api.slack.com/methods/admin.conversations.disconnectShared

-async def admin_conversations_ekm_listOriginalConnectedChannelInfo(self, *, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, cursor: Optional[str] = None, limit: Optional[int] = None, team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_conversations_ekm_listOriginalConnectedChannelInfo(self,
*,
channel_ids: str | Sequence[str] | None = None,
cursor: str | None = None,
limit: int | None = None,
team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> AsyncSlackResponse

List all disconnected channels—i.e., @@ -5734,21 +5734,21 @@

Methods

https://api.slack.com/methods/admin.conversations.getCustomRetention

-async def admin_conversations_getTeams(self, *, channel_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_conversations_getTeams(self,
*,
channel_id: str,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> AsyncSlackResponse

Set the workspaces in an Enterprise grid org that connect to a channel. https://api.slack.com/methods/admin.conversations.getTeams

-async def admin_conversations_invite(self, *, channel_id: str, user_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_conversations_invite(self, *, channel_id: str, user_ids: str | Sequence[str], **kwargs) ‑> AsyncSlackResponse

Invite a user to a public or private channel. https://api.slack.com/methods/admin.conversations.invite

-async def admin_conversations_lookup(self, *, last_message_activity_before: int, team_ids: Union[str, Sequence[str]], cursor: Optional[str] = None, limit: Optional[int] = None, max_member_count: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_conversations_lookup(self,
*,
last_message_activity_before: int,
team_ids: str | Sequence[str],
cursor: str | None = None,
limit: int | None = None,
max_member_count: int | None = None,
**kwargs) ‑> AsyncSlackResponse

Returns channels on the given team using the filters. @@ -5769,14 +5769,14 @@

Methods

https://api.slack.com/methods/admin.conversations.rename

-async def admin_conversations_restrictAccess_addGroup(self, *, channel_id: str, group_id: str, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_conversations_restrictAccess_addGroup(self, *, channel_id: str, group_id: str, team_id: str | None = None, **kwargs) ‑> AsyncSlackResponse

Add an allowlist of IDP groups for accessing a channel. https://api.slack.com/methods/admin.conversations.restrictAccess.addGroup

-async def admin_conversations_restrictAccess_listGroups(self, *, channel_id: str, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_conversations_restrictAccess_listGroups(self, *, channel_id: str, team_id: str | None = None, **kwargs) ‑> AsyncSlackResponse

List all IDP Groups linked to a channel. @@ -5790,14 +5790,14 @@

Methods

https://api.slack.com/methods/admin.conversations.restrictAccess.removeGroup

Search for public or private channels in an Enterprise organization. https://api.slack.com/methods/admin.conversations.search

-async def admin_conversations_setConversationPrefs(self, *, channel_id: str, prefs: Union[str, Dict[str, str]], **kwargs) ‑> AsyncSlackResponse +async def admin_conversations_setConversationPrefs(self, *, channel_id: str, prefs: str | Dict[str, str], **kwargs) ‑> AsyncSlackResponse

Set the posting permissions for a public or private channel. @@ -5811,7 +5811,7 @@

Methods

https://api.slack.com/methods/admin.conversations.setCustomRetention

-async def admin_conversations_setTeams(self, *, channel_id: str, org_channel: Optional[bool] = None, target_team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_conversations_setTeams(self,
*,
channel_id: str,
org_channel: bool | None = None,
target_team_ids: str | Sequence[str] | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Set the workspaces in an Enterprise grid org that connect to a public or private channel. @@ -5839,7 +5839,7 @@

Methods

https://api.slack.com/methods/admin.emoji.addAlias

-async def admin_emoji_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_emoji_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> AsyncSlackResponse

List emoji for an Enterprise Grid organization. @@ -5860,14 +5860,14 @@

Methods

https://api.slack.com/methods/admin.emoji.rename

-async def admin_functions_list(self, *, app_ids: Union[str, Sequence[str]], team_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_functions_list(self,
*,
app_ids: str | Sequence[str],
team_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> AsyncSlackResponse

Look up functions by a set of apps https://api.slack.com/methods/admin.functions.list

-async def admin_functions_permissions_lookup(self, *, function_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_functions_permissions_lookup(self, *, function_ids: str | Sequence[str], **kwargs) ‑> AsyncSlackResponse

Lookup the visibility of multiple Slack functions @@ -5875,7 +5875,7 @@

Methods

https://api.slack.com/methods/admin.functions.permissions.lookup

-async def admin_functions_permissions_set(self, *, function_id: str, visibility: str, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_functions_permissions_set(self,
*,
function_id: str,
visibility: str,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> AsyncSlackResponse

Set the visibility of a Slack function @@ -5883,28 +5883,28 @@

Methods

https://api.slack.com/methods/admin.functions.permissions.set

-async def admin_inviteRequests_approve(self, *, invite_request_id: str, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_inviteRequests_approve(self, *, invite_request_id: str, team_id: str | None = None, **kwargs) ‑> AsyncSlackResponse
-async def admin_inviteRequests_approved_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_inviteRequests_approved_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

List all approved workspace invite requests. https://api.slack.com/methods/admin.inviteRequests.approved.list

-async def admin_inviteRequests_denied_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_inviteRequests_denied_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

List all denied workspace invite requests. https://api.slack.com/methods/admin.inviteRequests.denied.list

-async def admin_inviteRequests_deny(self, *, invite_request_id: str, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_inviteRequests_deny(self, *, invite_request_id: str, team_id: str | None = None, **kwargs) ‑> AsyncSlackResponse

Deny a workspace invite request. @@ -5917,14 +5917,14 @@

Methods

List all pending workspace invite requests.

-async def admin_roles_addAssignments(self, *, role_id: str, entity_ids: Union[str, Sequence[str]], user_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_roles_addAssignments(self,
*,
role_id: str,
entity_ids: str | Sequence[str],
user_ids: str | Sequence[str],
**kwargs) ‑> AsyncSlackResponse

Adds members to the specified role with the specified scopes https://api.slack.com/methods/admin.roles.addAssignments

-async def admin_roles_listAssignments(self, *, role_ids: Union[str, Sequence[str], ForwardRef(None)] = None, entity_ids: Union[str, Sequence[str], ForwardRef(None)] = None, cursor: Optional[str] = None, limit: Union[str, int, ForwardRef(None)] = None, sort_dir: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_roles_listAssignments(self,
*,
role_ids: str | Sequence[str] | None = None,
entity_ids: str | Sequence[str] | None = None,
cursor: str | None = None,
limit: str | int | None = None,
sort_dir: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Lists assignments for all roles across entities. @@ -5932,35 +5932,35 @@

Methods

https://api.slack.com/methods/admin.roles.listAssignments

-async def admin_roles_removeAssignments(self, *, role_id: str, entity_ids: Union[str, Sequence[str]], user_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_roles_removeAssignments(self,
*,
role_id: str,
entity_ids: str | Sequence[str],
user_ids: str | Sequence[str],
**kwargs) ‑> AsyncSlackResponse

Removes a set of users from a role for the given scopes and entities https://api.slack.com/methods/admin.roles.removeAssignments

-async def admin_teams_admins_list(self, *, team_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_teams_admins_list(self, *, team_id: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> AsyncSlackResponse

List all of the admins on a given workspace. https://api.slack.com/methods/admin.inviteRequests.list

-async def admin_teams_create(self, *, team_domain: str, team_name: str, team_description: Optional[str] = None, team_discoverability: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_teams_create(self,
*,
team_domain: str,
team_name: str,
team_description: str | None = None,
team_discoverability: str | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def admin_teams_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_teams_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> AsyncSlackResponse

List all teams on an Enterprise organization. https://api.slack.com/methods/admin.teams.list

-async def admin_teams_owners_list(self, *, team_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_teams_owners_list(self, *, team_id: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> AsyncSlackResponse

List all of the admins on a given workspace. @@ -5974,7 +5974,7 @@

Methods

https://api.slack.com/methods/admin.teams.settings.info

-async def admin_teams_settings_setDefaultChannels(self, *, team_id: str, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_teams_settings_setDefaultChannels(self, *, team_id: str, channel_ids: str | Sequence[str], **kwargs) ‑> AsyncSlackResponse

Set the default channels of a workspace. @@ -6009,49 +6009,49 @@

Methods

https://api.slack.com/methods/admin.teams.settings.setName

-async def admin_usergroups_addChannels(self, *, channel_ids: Union[str, Sequence[str]], usergroup_id: str, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_usergroups_addChannels(self,
*,
channel_ids: str | Sequence[str],
usergroup_id: str,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.addChannels

-async def admin_usergroups_addTeams(self, *, usergroup_id: str, team_ids: Union[str, Sequence[str]], auto_provision: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_usergroups_addTeams(self,
*,
usergroup_id: str,
team_ids: str | Sequence[str],
auto_provision: bool | None = None,
**kwargs) ‑> AsyncSlackResponse

Associate one or more default workspaces with an organization-wide IDP group. https://api.slack.com/methods/admin.usergroups.addTeams

-async def admin_usergroups_listChannels(self, *, usergroup_id: str, include_num_members: Optional[bool] = None, team_id: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_usergroups_listChannels(self,
*,
usergroup_id: str,
include_num_members: bool | None = None,
team_id: bool | None = None,
**kwargs) ‑> AsyncSlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.listChannels

-async def admin_usergroups_removeChannels(self, *, usergroup_id: str, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_usergroups_removeChannels(self, *, usergroup_id: str, channel_ids: str | Sequence[str], **kwargs) ‑> AsyncSlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.removeChannels

-async def admin_users_assign(self, *, team_id: str, user_id: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, is_restricted: Optional[bool] = None, is_ultra_restricted: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_users_assign(self,
*,
team_id: str,
user_id: str,
channel_ids: str | Sequence[str] | None = None,
is_restricted: bool | None = None,
is_ultra_restricted: bool | None = None,
**kwargs) ‑> AsyncSlackResponse

Add an Enterprise user to a workspace. https://api.slack.com/methods/admin.users.assign

-async def admin_users_invite(self, *, team_id: str, email: str, channel_ids: Union[str, Sequence[str]], custom_message: Optional[str] = None, email_password_policy_enabled: Optional[bool] = None, guest_expiration_ts: Union[str, float, ForwardRef(None)] = None, is_restricted: Optional[bool] = None, is_ultra_restricted: Optional[bool] = None, real_name: Optional[str] = None, resend: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_users_invite(self,
*,
team_id: str,
email: str,
channel_ids: str | Sequence[str],
custom_message: str | None = None,
email_password_policy_enabled: bool | None = None,
guest_expiration_ts: str | float | None = None,
is_restricted: bool | None = None,
is_ultra_restricted: bool | None = None,
real_name: str | None = None,
resend: bool | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def admin_users_list(self, *, team_id: str, include_deactivated_user_workspaces: Optional[bool] = None, is_active: Optional[bool] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_users_list(self,
*,
team_id: str,
include_deactivated_user_workspaces: bool | None = None,
is_active: bool | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> AsyncSlackResponse

List users on a workspace @@ -6065,7 +6065,7 @@

Methods

https://api.slack.com/methods/admin.users.remove

-async def admin_users_session_clearSettings(self, *, user_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_users_session_clearSettings(self, *, user_ids: str | Sequence[str], **kwargs) ‑> AsyncSlackResponse

Clear user-specific session settings—the session duration @@ -6073,7 +6073,7 @@

Methods

https://api.slack.com/methods/admin.users.session.clearSettings

-async def admin_users_session_getSettings(self, *, user_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_users_session_getSettings(self, *, user_ids: str | Sequence[str], **kwargs) ‑> AsyncSlackResponse

Get user-specific session settings—the session duration @@ -6088,28 +6088,28 @@

Methods

https://api.slack.com/methods/admin.users.session.invalidate

-async def admin_users_session_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, user_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_users_session_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
user_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Lists all active user sessions for an organization https://api.slack.com/methods/admin.users.session.list

-async def admin_users_session_reset(self, *, user_id: str, mobile_only: Optional[bool] = None, web_only: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_users_session_reset(self,
*,
user_id: str,
mobile_only: bool | None = None,
web_only: bool | None = None,
**kwargs) ‑> AsyncSlackResponse

Wipes all valid sessions on all devices for a given user. https://api.slack.com/methods/admin.users.session.reset

-async def admin_users_session_resetBulk(self, *, user_ids: Union[str, Sequence[str]], mobile_only: Optional[bool] = None, web_only: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_users_session_resetBulk(self,
*,
user_ids: str | Sequence[str],
mobile_only: bool | None = None,
web_only: bool | None = None,
**kwargs) ‑> AsyncSlackResponse

Enqueues an asynchronous job to wipe all valid sessions on all devices for a given list of users https://api.slack.com/methods/admin.users.session.resetBulk

-async def admin_users_session_setSettings(self, *, user_ids: Union[str, Sequence[str]], desktop_app_browser_quit: Optional[bool] = None, duration: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_users_session_setSettings(self,
*,
user_ids: str | Sequence[str],
desktop_app_browser_quit: bool | None = None,
duration: int | None = None,
**kwargs) ‑> AsyncSlackResponse

Configure the user-level session settings—the session duration @@ -6124,7 +6124,7 @@

Methods

https://api.slack.com/methods/admin.users.setAdmin

-async def admin_users_setExpiration(self, *, expiration_ts: int, user_id: str, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_users_setExpiration(self, *, expiration_ts: int, user_id: str, team_id: str | None = None, **kwargs) ‑> AsyncSlackResponse

Set an expiration for a guest user. @@ -6145,7 +6145,7 @@

Methods

https://api.slack.com/methods/admin.users.setRegular

-async def admin_users_unsupportedVersions_export(self, *, date_end_of_support: Union[str, int, ForwardRef(None)] = None, date_sessions_started: Union[str, int, ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_users_unsupportedVersions_export(self,
*,
date_end_of_support: str | int | None = None,
date_sessions_started: str | int | None = None,
**kwargs) ‑> AsyncSlackResponse

Ask Slackbot to send you an export listing all workspace members using unsupported software, @@ -6153,42 +6153,42 @@

Methods

https://api.slack.com/methods/admin.users.unsupportedVersions.export

-async def admin_workflows_collaborators_add(self, *, collaborator_ids: Union[str, Sequence[str]], workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_workflows_collaborators_add(self,
*,
collaborator_ids: str | Sequence[str],
workflow_ids: str | Sequence[str],
**kwargs) ‑> AsyncSlackResponse

Add collaborators to workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.collaborators.add

-async def admin_workflows_collaborators_remove(self, *, collaborator_ids: Union[str, Sequence[str]], workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_workflows_collaborators_remove(self,
*,
collaborator_ids: str | Sequence[str],
workflow_ids: str | Sequence[str],
**kwargs) ‑> AsyncSlackResponse

Remove collaborators from workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.collaborators.remove

-async def admin_workflows_permissions_lookup(self, *, workflow_ids: Union[str, Sequence[str]], max_workflow_triggers: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def admin_workflows_permissions_lookup(self,
*,
workflow_ids: str | Sequence[str],
max_workflow_triggers: int | None = None,
**kwargs) ‑> AsyncSlackResponse

Look up the permissions for a set of workflows https://api.slack.com/methods/admin.workflows.permissions.lookup

Search workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.search

-async def admin_workflows_unpublish(self, *, workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def admin_workflows_unpublish(self, *, workflow_ids: str | Sequence[str], **kwargs) ‑> AsyncSlackResponse

Unpublish workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.unpublish

-async def api_test(self, *, error: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def api_test(self, *, error: str | None = None, **kwargs) ‑> AsyncSlackResponse

Checks API calling code. @@ -6203,7 +6203,7 @@

Methods

https://api.slack.com/methods/apps.connections.open

-async def apps_event_authorizations_list(self, *, event_context: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def apps_event_authorizations_list(self,
*,
event_context: str,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> AsyncSlackResponse

Get a list of authorizations for the given event context. @@ -6211,7 +6211,7 @@

Methods

https://api.slack.com/methods/apps.event.authorizations.list

-async def apps_manifest_create(self, *, manifest: Union[str, Dict[str, Any]], **kwargs) ‑> AsyncSlackResponse +async def apps_manifest_create(self, *, manifest: str | Dict[str, Any], **kwargs) ‑> AsyncSlackResponse

Create an app from an app manifest @@ -6232,14 +6232,14 @@

Methods

https://api.slack.com/methods/apps.manifest.export

-async def apps_manifest_update(self, *, app_id: str, manifest: Union[str, Dict[str, Any]], **kwargs) ‑> AsyncSlackResponse +async def apps_manifest_update(self, *, app_id: str, manifest: str | Dict[str, Any], **kwargs) ‑> AsyncSlackResponse

Update an app from an app manifest https://api.slack.com/methods/apps.manifest.update

-async def apps_manifest_validate(self, *, manifest: Union[str, Dict[str, Any]], app_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def apps_manifest_validate(self, *, manifest: str | Dict[str, Any], app_id: str | None = None, **kwargs) ‑> AsyncSlackResponse

Validate an app manifest @@ -6260,7 +6260,7 @@

Methods

https://api.slack.com/methods/assistant.threads.setStatus

-async def assistant_threads_setSuggestedPrompts(self, *, channel_id: str, thread_ts: str, title: Optional[str] = None, prompts: List[Dict[str, str]], **kwargs) ‑> AsyncSlackResponse +async def assistant_threads_setSuggestedPrompts(self,
*,
channel_id: str,
thread_ts: str,
title: str | None = None,
prompts: List[Dict[str, str]],
**kwargs) ‑> AsyncSlackResponse

Revokes a token. @@ -6274,14 +6274,14 @@

Methods

https://api.slack.com/methods/assistant.threads.setTitle

-async def auth_revoke(self, *, test: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def auth_revoke(self, *, test: bool | None = None, **kwargs) ‑> AsyncSlackResponse
-async def auth_teams_list(self, cursor: Optional[str] = None, limit: Optional[int] = None, include_icon: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def auth_teams_list(self,
cursor: str | None = None,
limit: int | None = None,
include_icon: bool | None = None,
**kwargs) ‑> AsyncSlackResponse

List the workspaces a token can access. @@ -6295,14 +6295,14 @@

Methods

https://api.slack.com/methods/auth.test

-async def bookmarks_add(self, *, channel_id: str, title: str, type: str, emoji: Optional[str] = None, entity_id: Optional[str] = None, link: Optional[str] = None, parent_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def bookmarks_add(self,
*,
channel_id: str,
title: str,
type: str,
emoji: str | None = None,
entity_id: str | None = None,
link: str | None = None,
parent_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def bookmarks_edit(self, *, bookmark_id: str, channel_id: str, emoji: Optional[str] = None, link: Optional[str] = None, title: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def bookmarks_edit(self,
*,
bookmark_id: str,
channel_id: str,
emoji: str | None = None,
link: str | None = None,
title: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Edit bookmark. @@ -6323,21 +6323,21 @@

Methods

https://api.slack.com/methods/bookmarks.remove

-async def bots_info(self, *, bot: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def bots_info(self, *, bot: str | None = None, team_id: str | None = None, **kwargs) ‑> AsyncSlackResponse

Gets information about a bot user. https://api.slack.com/methods/bots.info

-async def calls_add(self, *, external_unique_id: str, join_url: str, created_by: Optional[str] = None, date_start: Optional[int] = None, desktop_app_join_url: Optional[str] = None, external_display_id: Optional[str] = None, title: Optional[str] = None, users: Union[str, Sequence[Dict[str, str]], ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def calls_add(self,
*,
external_unique_id: str,
join_url: str,
created_by: str | None = None,
date_start: int | None = None,
desktop_app_join_url: str | None = None,
external_display_id: str | None = None,
title: str | None = None,
users: str | Sequence[Dict[str, str]] | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def calls_end(self, *, id: str, duration: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def calls_end(self, *, id: str, duration: int | None = None, **kwargs) ‑> AsyncSlackResponse

Ends a Call. @@ -6351,42 +6351,42 @@

Methods

https://api.slack.com/methods/calls.info

-async def calls_participants_add(self, *, id: str, users: Union[str, Sequence[Dict[str, str]]], **kwargs) ‑> AsyncSlackResponse +async def calls_participants_add(self, *, id: str, users: str | Sequence[Dict[str, str]], **kwargs) ‑> AsyncSlackResponse

Registers new participants added to a Call. https://api.slack.com/methods/calls.participants.add

-async def calls_participants_remove(self, *, id: str, users: Union[str, Sequence[Dict[str, str]]], **kwargs) ‑> AsyncSlackResponse +async def calls_participants_remove(self, *, id: str, users: str | Sequence[Dict[str, str]], **kwargs) ‑> AsyncSlackResponse

Registers participants removed from a Call. https://api.slack.com/methods/calls.participants.remove

-async def calls_update(self, *, id: str, desktop_app_join_url: Optional[str] = None, join_url: Optional[str] = None, title: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def calls_update(self,
*,
id: str,
desktop_app_join_url: str | None = None,
join_url: str | None = None,
title: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Updates information about a Call. https://api.slack.com/methods/calls.update

-async def canvases_access_delete(self, *, canvas_id: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def canvases_access_delete(self,
*,
canvas_id: str,
channel_ids: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> AsyncSlackResponse

Create a Channel Canvas for a channel https://api.slack.com/methods/canvases.access.delete

-async def canvases_access_set(self, *, canvas_id: str, access_level: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def canvases_access_set(self,
*,
canvas_id: str,
access_level: str,
channel_ids: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> AsyncSlackResponse

Sets the access level to a canvas for specified entities https://api.slack.com/methods/canvases.access.set

-async def canvases_create(self, *, title: Optional[str] = None, document_content: Dict[str, str], **kwargs) ‑> AsyncSlackResponse +async def canvases_create(self, *, title: str | None = None, document_content: Dict[str, str], **kwargs) ‑> AsyncSlackResponse

Create Canvas for a user @@ -6504,14 +6504,14 @@

Methods

Unarchives a channel.

-async def chat_delete(self, *, channel: str, ts: str, as_user: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def chat_delete(self, *, channel: str, ts: str, as_user: bool | None = None, **kwargs) ‑> AsyncSlackResponse
-async def chat_deleteScheduledMessage(self, *, channel: str, scheduled_message_id: str, as_user: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def chat_deleteScheduledMessage(self,
*,
channel: str,
scheduled_message_id: str,
as_user: bool | None = None,
**kwargs) ‑> AsyncSlackResponse

Deletes a scheduled message. @@ -6532,56 +6532,56 @@

Methods

https://api.slack.com/methods/chat.meMessage

-async def chat_postEphemeral(self, *, channel: str, user: str, text: Optional[str] = None, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, icon_emoji: Optional[str] = None, icon_url: Optional[str] = None, link_names: Optional[bool] = None, username: Optional[str] = None, parse: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def chat_postEphemeral(self,
*,
channel: str,
user: str,
text: str | None = None,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
icon_emoji: str | None = None,
icon_url: str | None = None,
link_names: bool | None = None,
username: str | None = None,
parse: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Sends an ephemeral message to a user in a channel. https://api.slack.com/methods/chat.postEphemeral

-async def chat_postMessage(self, *, channel: str, text: Optional[str] = None, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, reply_broadcast: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, container_id: Optional[str] = None, icon_emoji: Optional[str] = None, icon_url: Optional[str] = None, mrkdwn: Optional[bool] = None, link_names: Optional[bool] = None, username: Optional[str] = None, parse: Optional[str] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def chat_postMessage(self,
*,
channel: str,
text: str | None = None,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
reply_broadcast: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
container_id: str | None = None,
icon_emoji: str | None = None,
icon_url: str | None = None,
mrkdwn: bool | None = None,
link_names: bool | None = None,
username: str | None = None,
parse: str | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def chat_scheduleMessage(self, *, channel: str, post_at: Union[str, int], text: str, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, parse: Optional[str] = None, reply_broadcast: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, link_names: Optional[bool] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def chat_scheduleMessage(self,
*,
channel: str,
post_at: str | int,
text: str,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
parse: str | None = None,
reply_broadcast: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
link_names: bool | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def chat_scheduledMessages_list(self, *, channel: Optional[str] = None, cursor: Optional[str] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def chat_scheduledMessages_list(self,
*,
channel: str | None = None,
cursor: str | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def chat_unfurl(self, *, channel: Optional[str] = None, ts: Optional[str] = None, source: Optional[str] = None, unfurl_id: Optional[str] = None, unfurls: Optional[Dict[str, Dict]] = None, user_auth_blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, user_auth_message: Optional[str] = None, user_auth_required: Optional[bool] = None, user_auth_url: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def chat_unfurl(self,
*,
channel: str | None = None,
ts: str | None = None,
source: str | None = None,
unfurl_id: str | None = None,
unfurls: Dict[str, Dict] | None = None,
user_auth_blocks: str | Sequence[Dict | Block] | None = None,
user_auth_message: str | None = None,
user_auth_required: bool | None = None,
user_auth_url: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Provide custom unfurl behavior for user-posted URLs. https://api.slack.com/methods/chat.unfurl

-async def chat_update(self, *, channel: str, ts: str, text: Optional[str] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, as_user: Optional[bool] = None, file_ids: Union[str, Sequence[str], ForwardRef(None)] = None, link_names: Optional[bool] = None, parse: Optional[str] = None, reply_broadcast: Optional[bool] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def chat_update(self,
*,
channel: str,
ts: str,
text: str | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
as_user: bool | None = None,
file_ids: str | Sequence[str] | None = None,
link_names: bool | None = None,
parse: str | None = None,
reply_broadcast: bool | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> AsyncSlackResponse

Updates a message in a channel. https://api.slack.com/methods/chat.update

-async def conversations_acceptSharedInvite(self, *, channel_name: str, channel_id: Optional[str] = None, invite_id: Optional[str] = None, free_trial_accepted: Optional[bool] = None, is_private: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_acceptSharedInvite(self,
*,
channel_name: str,
channel_id: str | None = None,
invite_id: str | None = None,
free_trial_accepted: bool | None = None,
is_private: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Accepts an invitation to a Slack Connect channel. https://api.slack.com/methods/conversations.acceptSharedInvite

-async def conversations_approveSharedInvite(self, *, invite_id: str, target_team: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_approveSharedInvite(self, *, invite_id: str, target_team: str | None = None, **kwargs) ‑> AsyncSlackResponse

Approves an invitation to a Slack Connect channel. @@ -6609,14 +6609,14 @@

Methods

https://api.slack.com/methods/conversations.close

-async def conversations_create(self, *, name: str, is_private: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_create(self,
*,
name: str,
is_private: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Initiates a public or private channel-based conversation https://api.slack.com/methods/conversations.create

-async def conversations_declineSharedInvite(self, *, invite_id: str, target_team: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_declineSharedInvite(self, *, invite_id: str, target_team: str | None = None, **kwargs) ‑> AsyncSlackResponse

Declines a Slack Connect channel invite. @@ -6630,28 +6630,28 @@

Methods

https://api.slack.com/methods/conversations.externalInvitePermissions.set

-async def conversations_history(self, *, channel: str, cursor: Optional[str] = None, inclusive: Optional[bool] = None, include_all_metadata: Optional[bool] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_history(self,
*,
channel: str,
cursor: str | None = None,
inclusive: bool | None = None,
include_all_metadata: bool | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Fetches a conversation's history of messages and events. https://api.slack.com/methods/conversations.history

-async def conversations_info(self, *, channel: str, include_locale: Optional[bool] = None, include_num_members: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_info(self,
*,
channel: str,
include_locale: bool | None = None,
include_num_members: bool | None = None,
**kwargs) ‑> AsyncSlackResponse

Retrieve information about a conversation. https://api.slack.com/methods/conversations.info

-async def conversations_invite(self, *, channel: str, users: Union[str, Sequence[str]], force: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_invite(self,
*,
channel: str,
users: str | Sequence[str],
force: bool | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def conversations_inviteShared(self, *, channel: str, emails: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_inviteShared(self,
*,
channel: str,
emails: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> AsyncSlackResponse

Sends an invitation to a Slack Connect channel. @@ -6679,14 +6679,14 @@

Methods

https://api.slack.com/methods/conversations.leave

-async def conversations_list(self, *, cursor: Optional[str] = None, exclude_archived: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_list(self,
*,
cursor: str | None = None,
exclude_archived: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
types: str | Sequence[str] | None = None,
**kwargs) ‑> AsyncSlackResponse

Lists all channels in a Slack team. https://api.slack.com/methods/conversations.list

-async def conversations_listConnectInvites(self, *, count: Optional[int] = None, cursor: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_listConnectInvites(self,
*,
count: int | None = None,
cursor: str | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

List shared channel invites that have been generated @@ -6701,14 +6701,14 @@

Methods

https://api.slack.com/methods/conversations.mark

-async def conversations_members(self, *, channel: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_members(self, *, channel: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> AsyncSlackResponse

Retrieve members of a conversation. https://api.slack.com/methods/conversations.members

-async def conversations_open(self, *, channel: Optional[str] = None, return_im: Optional[bool] = None, users: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_open(self,
*,
channel: str | None = None,
return_im: bool | None = None,
users: str | Sequence[str] | None = None,
**kwargs) ‑> AsyncSlackResponse

Opens or resumes a direct message or multi-person direct message. @@ -6722,28 +6722,28 @@

Methods

https://api.slack.com/methods/conversations.rename

-async def conversations_replies(self, *, channel: str, ts: str, cursor: Optional[str] = None, inclusive: Optional[bool] = None, include_all_metadata: Optional[bool] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_replies(self,
*,
channel: str,
ts: str,
cursor: str | None = None,
inclusive: bool | None = None,
include_all_metadata: bool | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Retrieve a thread of messages posted to a conversation https://api.slack.com/methods/conversations.replies

-async def conversations_requestSharedInvite_approve(self, *, invite_id: str, channel_id: Optional[str] = None, is_external_limited: Optional[str] = None, message: Optional[Dict[str, Any]] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_requestSharedInvite_approve(self,
*,
invite_id: str,
channel_id: str | None = None,
is_external_limited: str | None = None,
message: Dict[str, Any] | None = None,
**kwargs) ‑> AsyncSlackResponse

Approve a request to add an external user to a channel. This also sends them a Slack Connect invite. https://api.slack.com/methods/conversations.requestSharedInvite.approve

-async def conversations_requestSharedInvite_deny(self, *, invite_id: str, message: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_requestSharedInvite_deny(self, *, invite_id: str, message: str | None = None, **kwargs) ‑> AsyncSlackResponse

Deny a request to invite an external user to a channel. https://api.slack.com/methods/conversations.requestSharedInvite.deny

-async def conversations_requestSharedInvite_list(self, *, cursor: Optional[str] = None, include_approved: Optional[bool] = None, include_denied: Optional[bool] = None, include_expired: Optional[bool] = None, invite_ids: Union[str, Sequence[str], ForwardRef(None)] = None, limit: Optional[int] = None, user_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def conversations_requestSharedInvite_list(self,
*,
cursor: str | None = None,
include_approved: bool | None = None,
include_denied: bool | None = None,
include_expired: bool | None = None,
invite_ids: str | Sequence[str] | None = None,
limit: int | None = None,
user_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Lists requests to add external users to channels with ability to filter. @@ -6792,28 +6792,28 @@

Methods

https://api.slack.com/methods/dnd.endSnooze

-async def dnd_info(self, *, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def dnd_info(self, *, team_id: str | None = None, user: str | None = None, **kwargs) ‑> AsyncSlackResponse

Retrieves a user's current Do Not Disturb status. https://api.slack.com/methods/dnd.info

-async def dnd_setSnooze(self, *, num_minutes: Union[str, int], **kwargs) ‑> AsyncSlackResponse +async def dnd_setSnooze(self, *, num_minutes: str | int, **kwargs) ‑> AsyncSlackResponse

Turns on Do Not Disturb mode for the current user, or changes its duration. https://api.slack.com/methods/dnd.setSnooze

-async def dnd_teamInfo(self, users: Union[str, Sequence[str]], team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def dnd_teamInfo(self, users: str | Sequence[str], team_id: str | None = None, **kwargs) ‑> AsyncSlackResponse

Retrieves the Do Not Disturb status for users on a team. https://api.slack.com/methods/dnd.teamInfo

-async def emoji_list(self, include_categories: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def emoji_list(self, include_categories: bool | None = None, **kwargs) ‑> AsyncSlackResponse

Lists custom emoji for a team. @@ -6827,7 +6827,7 @@

Methods

https://api.slack.com/methods/files.comments.delete

-async def files_completeUploadExternal(self, *, files: List[Dict[str, str]], channel_id: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def files_completeUploadExternal(self,
*,
files: List[Dict[str, str]],
channel_id: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Finishes an upload started with files.getUploadURLExternal. @@ -6841,63 +6841,63 @@

Methods

https://api.slack.com/methods/files.delete

-async def files_getUploadURLExternal(self, *, filename: str, length: int, alt_txt: Optional[str] = None, snippet_type: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def files_getUploadURLExternal(self,
*,
filename: str,
length: int,
alt_txt: str | None = None,
snippet_type: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Gets a URL for an edge external upload. https://api.slack.com/methods/files.getUploadURLExternal

-async def files_info(self, *, file: str, count: Optional[int] = None, cursor: Optional[str] = None, limit: Optional[int] = None, page: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def files_info(self,
*,
file: str,
count: int | None = None,
cursor: str | None = None,
limit: int | None = None,
page: int | None = None,
**kwargs) ‑> AsyncSlackResponse

Gets information about a team file. https://api.slack.com/methods/files.info

-async def files_list(self, *, channel: Optional[str] = None, count: Optional[int] = None, page: Optional[int] = None, show_files_hidden_by_limit: Optional[bool] = None, team_id: Optional[str] = None, ts_from: Optional[str] = None, ts_to: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, user: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def files_list(self,
*,
channel: str | None = None,
count: int | None = None,
page: int | None = None,
show_files_hidden_by_limit: bool | None = None,
team_id: str | None = None,
ts_from: str | None = None,
ts_to: str | None = None,
types: str | Sequence[str] | None = None,
user: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Lists & filters team files. https://api.slack.com/methods/files.list

-async def files_remote_add(self, *, external_id: str, external_url: str, title: str, filetype: Optional[str] = None, indexable_file_contents: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, preview_image: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def files_remote_add(self,
*,
external_id: str,
external_url: str,
title: str,
filetype: str | None = None,
indexable_file_contents: str | bytes | io.IOBase | None = None,
preview_image: str | bytes | io.IOBase | None = None,
**kwargs) ‑> AsyncSlackResponse

Adds a file from a remote service. https://api.slack.com/methods/files.remote.add

-async def files_remote_info(self, *, external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def files_remote_info(self, *, external_id: str | None = None, file: str | None = None, **kwargs) ‑> AsyncSlackResponse

Retrieve information about a remote file added to Slack. https://api.slack.com/methods/files.remote.info

-async def files_remote_list(self, *, channel: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, ts_from: Optional[str] = None, ts_to: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def files_remote_list(self,
*,
channel: str | None = None,
cursor: str | None = None,
limit: int | None = None,
ts_from: str | None = None,
ts_to: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Retrieve information about a remote file added to Slack. https://api.slack.com/methods/files.remote.list

-async def files_remote_remove(self, *, external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def files_remote_remove(self, *, external_id: str | None = None, file: str | None = None, **kwargs) ‑> AsyncSlackResponse
-async def files_remote_share(self, *, channels: Union[str, Sequence[str]], external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def files_remote_share(self,
*,
channels: str | Sequence[str],
external_id: str | None = None,
file: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Share a remote file into a channel. https://api.slack.com/methods/files.remote.share

-async def files_remote_update(self, *, external_id: Optional[str] = None, external_url: Optional[str] = None, file: Optional[str] = None, title: Optional[str] = None, filetype: Optional[str] = None, indexable_file_contents: Optional[str] = None, preview_image: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def files_remote_update(self,
*,
external_id: str | None = None,
external_url: str | None = None,
file: str | None = None,
title: str | None = None,
filetype: str | None = None,
indexable_file_contents: str | None = None,
preview_image: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Updates an existing remote file. @@ -6918,14 +6918,14 @@

Methods

https://api.slack.com/methods/files.sharedPublicURL

-async def files_upload(self, *, file: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, content: Union[str, bytes, ForwardRef(None)] = None, filename: Optional[str] = None, filetype: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, title: Optional[str] = None, channels: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def files_upload(self,
*,
file: str | bytes | io.IOBase | None = None,
content: str | bytes | None = None,
filename: str | None = None,
filetype: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
title: str | None = None,
channels: str | Sequence[str] | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def files_upload_v2(self, *, filename: Optional[str] = None, file: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, content: Union[str, bytes, ForwardRef(None)] = None, title: Optional[str] = None, alt_txt: Optional[str] = None, snippet_type: Optional[str] = None, file_uploads: Optional[List[Dict[str, Any]]] = None, channel: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, request_file_info: bool = True, **kwargs) ‑> AsyncSlackResponse +async def files_upload_v2(self,
*,
filename: str | None = None,
file: str | bytes | io.IOBase | None = None,
content: str | bytes | None = None,
title: str | None = None,
alt_txt: str | None = None,
snippet_type: str | None = None,
file_uploads: List[Dict[str, Any]] | None = None,
channel: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
request_file_info: bool = True,
**kwargs) ‑> AsyncSlackResponse

This wrapper method provides an easy way to upload files using the following endpoints:

@@ -7089,7 +7089,7 @@

Methods

Retrieve a thread of messages posted to a direct message conversation

-async def migration_exchange(self, *, users: Union[str, Sequence[str]], team_id: Optional[str] = None, to_old: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def migration_exchange(self,
*,
users: str | Sequence[str],
team_id: str | None = None,
to_old: bool | None = None,
**kwargs) ‑> AsyncSlackResponse

For Enterprise Grid workspaces, map local user IDs to global user IDs @@ -7120,7 +7120,7 @@

Methods

Sets the read cursor in a multiparty direct message channel.

-async def mpim_open(self, *, users: Union[str, Sequence[str]], **kwargs) ‑> AsyncSlackResponse +async def mpim_open(self, *, users: str | Sequence[str], **kwargs) ‑> AsyncSlackResponse

This method opens a multiparty direct message.

@@ -7133,14 +7133,14 @@

Methods

multiparty direct message.

-async def oauth_access(self, *, client_id: str, client_secret: str, code: str, redirect_uri: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def oauth_access(self,
*,
client_id: str,
client_secret: str,
code: str,
redirect_uri: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Exchanges a temporary OAuth verifier code for an access token. https://api.slack.com/methods/oauth.access

-async def oauth_v2_access(self, *, client_id: str, client_secret: str, code: Optional[str] = None, redirect_uri: Optional[str] = None, grant_type: Optional[str] = None, refresh_token: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def oauth_v2_access(self,
*,
client_id: str,
client_secret: str,
code: str | None = None,
redirect_uri: str | None = None,
grant_type: str | None = None,
refresh_token: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Exchanges a temporary OAuth verifier code for an access token. @@ -7154,7 +7154,7 @@

Methods

https://api.slack.com/methods/oauth.v2.exchange

-async def openid_connect_token(self, client_id: str, client_secret: str, code: Optional[str] = None, redirect_uri: Optional[str] = None, grant_type: Optional[str] = None, refresh_token: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def openid_connect_token(self,
client_id: str,
client_secret: str,
code: str | None = None,
redirect_uri: str | None = None,
grant_type: str | None = None,
refresh_token: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Exchanges a temporary OAuth verifier code for an access token for Sign in with Slack. @@ -7168,7 +7168,7 @@

Methods

https://api.slack.com/methods/openid.connect.userInfo

-async def pins_add(self, *, channel: str, timestamp: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def pins_add(self, *, channel: str, timestamp: str | None = None, **kwargs) ‑> AsyncSlackResponse

Pins an item to a channel. @@ -7182,7 +7182,7 @@

Methods

https://api.slack.com/methods/pins.list

-async def pins_remove(self, *, channel: str, timestamp: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def pins_remove(self, *, channel: str, timestamp: str | None = None, **kwargs) ‑> AsyncSlackResponse

Un-pins an item from a channel. @@ -7196,126 +7196,126 @@

Methods

https://api.slack.com/methods/reactions.add

-async def reactions_get(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, full: Optional[bool] = None, timestamp: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def reactions_get(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
full: bool | None = None,
timestamp: str | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def reactions_list(self, *, count: Optional[int] = None, cursor: Optional[str] = None, full: Optional[bool] = None, limit: Optional[int] = None, page: Optional[int] = None, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def reactions_list(self,
*,
count: int | None = None,
cursor: str | None = None,
full: bool | None = None,
limit: int | None = None,
page: int | None = None,
team_id: str | None = None,
user: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Lists reactions made by a user. https://api.slack.com/methods/reactions.list

-async def reactions_remove(self, *, name: str, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def reactions_remove(self,
*,
name: str,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Removes a reaction from an item. https://api.slack.com/methods/reactions.remove

-async def reminders_add(self, *, text: str, time: str, team_id: Optional[str] = None, user: Optional[str] = None, recurrence: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def reminders_add(self,
*,
text: str,
time: str,
team_id: str | None = None,
user: str | None = None,
recurrence: str | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def reminders_complete(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def reminders_complete(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> AsyncSlackResponse
-async def reminders_delete(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def reminders_delete(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> AsyncSlackResponse
-async def reminders_info(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def reminders_info(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> AsyncSlackResponse

Gets information about a reminder. https://api.slack.com/methods/reminders.info

-async def reminders_list(self, *, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def reminders_list(self, *, team_id: str | None = None, **kwargs) ‑> AsyncSlackResponse

Lists all reminders created by or for a given user. https://api.slack.com/methods/reminders.list

-async def rtm_connect(self, *, batch_presence_aware: Optional[bool] = None, presence_sub: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def rtm_connect(self,
*,
batch_presence_aware: bool | None = None,
presence_sub: bool | None = None,
**kwargs) ‑> AsyncSlackResponse

Starts a Real Time Messaging session. https://api.slack.com/methods/rtm.connect

-async def rtm_start(self, *, batch_presence_aware: Optional[bool] = None, include_locale: Optional[bool] = None, mpim_aware: Optional[bool] = None, no_latest: Optional[bool] = None, no_unreads: Optional[bool] = None, presence_sub: Optional[bool] = None, simple_latest: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def rtm_start(self,
*,
batch_presence_aware: bool | None = None,
include_locale: bool | None = None,
mpim_aware: bool | None = None,
no_latest: bool | None = None,
no_unreads: bool | None = None,
presence_sub: bool | None = None,
simple_latest: bool | None = None,
**kwargs) ‑> AsyncSlackResponse

Starts a Real Time Messaging session. https://api.slack.com/methods/rtm.start

-async def search_all(self, *, query: str, count: Optional[int] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def search_all(self,
*,
query: str,
count: int | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Searches for messages and files matching a query. https://api.slack.com/methods/search.all

-async def search_files(self, *, query: str, count: Optional[int] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def search_files(self,
*,
query: str,
count: int | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Searches for files matching a query. https://api.slack.com/methods/search.files

-async def search_messages(self, *, query: str, count: Optional[int] = None, cursor: Optional[str] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def search_messages(self,
*,
query: str,
count: int | None = None,
cursor: str | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Searches for messages matching a query. https://api.slack.com/methods/search.messages

-async def stars_add(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def stars_add(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def stars_list(self, *, count: Optional[int] = None, cursor: Optional[str] = None, limit: Optional[int] = None, page: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def stars_list(self,
*,
count: int | None = None,
cursor: str | None = None,
limit: int | None = None,
page: int | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def stars_remove(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def stars_remove(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Removes a star from an item. https://api.slack.com/methods/stars.remove

-async def team_accessLogs(self, *, before: Union[str, int, ForwardRef(None)] = None, count: Union[str, int, ForwardRef(None)] = None, page: Union[str, int, ForwardRef(None)] = None, team_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def team_accessLogs(self,
*,
before: str | int | None = None,
count: str | int | None = None,
page: str | int | None = None,
team_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> AsyncSlackResponse

Gets the access logs for the current team. https://api.slack.com/methods/team.accessLogs

-async def team_billableInfo(self, *, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def team_billableInfo(self, *, team_id: str | None = None, user: str | None = None, **kwargs) ‑> AsyncSlackResponse

Gets billable users information for the current team. @@ -7336,21 +7336,21 @@

Methods

https://api.slack.com/methods/team.externalTeams.disconnect

-async def team_externalTeams_list(self, *, connection_status_filter: Optional[str] = None, slack_connect_pref_filter: Optional[Sequence[str]] = None, sort_direction: Optional[str] = None, sort_field: Optional[str] = None, workspace_filter: Optional[Sequence[str]] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> AsyncSlackResponse +async def team_externalTeams_list(self,
*,
connection_status_filter: str | None = None,
slack_connect_pref_filter: Sequence[str] | None = None,
sort_direction: str | None = None,
sort_field: str | None = None,
workspace_filter: Sequence[str] | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> AsyncSlackResponse

Returns a list of all the external teams connected and details about the connection. https://api.slack.com/methods/team.externalTeams.list

-async def team_info(self, *, team: Optional[str] = None, domain: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def team_info(self, *, team: str | None = None, domain: str | None = None, **kwargs) ‑> AsyncSlackResponse

Gets information about the current team. https://api.slack.com/methods/team.info

-async def team_integrationLogs(self, *, app_id: Optional[str] = None, change_type: Optional[str] = None, count: Union[str, int, ForwardRef(None)] = None, page: Union[str, int, ForwardRef(None)] = None, service_id: Optional[str] = None, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def team_integrationLogs(self,
*,
app_id: str | None = None,
change_type: str | None = None,
count: str | int | None = None,
page: str | int | None = None,
service_id: str | None = None,
team_id: str | None = None,
user: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Gets the integration logs for the current team. @@ -7364,7 +7364,7 @@

Methods

https://api.slack.com/methods/team.preferences.list

-async def team_profile_get(self, *, visibility: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def team_profile_get(self, *, visibility: str | None = None, **kwargs) ‑> AsyncSlackResponse

Retrieve a team's profile. @@ -7378,56 +7378,56 @@

Methods

https://api.slack.com/methods/tooling.tokens.rotate

-async def usergroups_create(self, *, name: str, channels: Union[str, Sequence[str], ForwardRef(None)] = None, description: Optional[str] = None, handle: Optional[str] = None, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def usergroups_create(self,
*,
name: str,
channels: str | Sequence[str] | None = None,
description: str | None = None,
handle: str | None = None,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def usergroups_disable(self, *, usergroup: str, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def usergroups_disable(self,
*,
usergroup: str,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def usergroups_enable(self, *, usergroup: str, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def usergroups_enable(self,
*,
usergroup: str,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def usergroups_list(self, *, include_count: Optional[bool] = None, include_disabled: Optional[bool] = None, include_users: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def usergroups_list(self,
*,
include_count: bool | None = None,
include_disabled: bool | None = None,
include_users: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

List all User Groups for a team https://api.slack.com/methods/usergroups.list

-async def usergroups_update(self, *, usergroup: str, channels: Union[str, Sequence[str], ForwardRef(None)] = None, description: Optional[str] = None, handle: Optional[str] = None, include_count: Optional[bool] = None, name: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def usergroups_update(self,
*,
usergroup: str,
channels: str | Sequence[str] | None = None,
description: str | None = None,
handle: str | None = None,
include_count: bool | None = None,
name: str | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def usergroups_users_list(self, *, usergroup: str, include_disabled: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def usergroups_users_list(self,
*,
usergroup: str,
include_disabled: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse
-async def usergroups_users_update(self, *, usergroup: str, users: Union[str, Sequence[str]], include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def usergroups_users_update(self,
*,
usergroup: str,
users: str | Sequence[str],
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Update the list of users for a User Group https://api.slack.com/methods/usergroups.users.update

-async def users_conversations(self, *, cursor: Optional[str] = None, exclude_archived: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, user: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def users_conversations(self,
*,
cursor: str | None = None,
exclude_archived: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
types: str | Sequence[str] | None = None,
user: str | None = None,
**kwargs) ‑> AsyncSlackResponse

List conversations the calling user may access. @@ -7462,14 +7462,14 @@

Methods

https://api.slack.com/methods/users.identity

-async def users_info(self, *, user: str, include_locale: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def users_info(self, *, user: str, include_locale: bool | None = None, **kwargs) ‑> AsyncSlackResponse

Gets information about a user. https://api.slack.com/methods/users.info

-async def users_list(self, *, cursor: Optional[str] = None, include_locale: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def users_list(self,
*,
cursor: str | None = None,
include_locale: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Lists all users in a Slack team. @@ -7483,21 +7483,21 @@

Methods

https://api.slack.com/methods/users.lookupByEmail

-async def users_profile_get(self, *, user: Optional[str] = None, include_labels: Optional[bool] = None, **kwargs) ‑> AsyncSlackResponse +async def users_profile_get(self, *, user: str | None = None, include_labels: bool | None = None, **kwargs) ‑> AsyncSlackResponse

Retrieves a user's profile information. https://api.slack.com/methods/users.profile.get

-async def users_profile_set(self, *, name: Optional[str] = None, value: Optional[str] = None, user: Optional[str] = None, profile: Optional[Dict] = None, **kwargs) ‑> AsyncSlackResponse +async def users_profile_set(self,
*,
name: str | None = None,
value: str | None = None,
user: str | None = None,
profile: Dict | None = None,
**kwargs) ‑> AsyncSlackResponse

Set the profile information for a user. https://api.slack.com/methods/users.profile.set

-async def users_setPhoto(self, *, image: Union[str, io.IOBase], crop_w: Union[str, int, ForwardRef(None)] = None, crop_x: Union[str, int, ForwardRef(None)] = None, crop_y: Union[str, int, ForwardRef(None)] = None, **kwargs) ‑> AsyncSlackResponse +async def users_setPhoto(self,
*,
image: str | io.IOBase,
crop_w: str | int | None = None,
crop_x: str | int | None = None,
crop_y: str | int | None = None,
**kwargs) ‑> AsyncSlackResponse

Set the user profile photo @@ -7511,7 +7511,7 @@

Methods

https://api.slack.com/methods/users.setPresence

-async def views_open(self, *, trigger_id: Optional[str] = None, interactivity_pointer: Optional[str] = None, view: Union[dict, View], **kwargs) ‑> AsyncSlackResponse +async def views_open(self,
*,
trigger_id: str | None = None,
interactivity_pointer: str | None = None,
view: dict | View,
**kwargs) ‑> AsyncSlackResponse

Open a view for a user. @@ -7519,7 +7519,7 @@

Methods

See https://api.slack.com/surfaces/modals for details.

-async def views_publish(self, *, user_id: str, view: Union[dict, View], hash: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def views_publish(self,
*,
user_id: str,
view: dict | View,
hash: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Publish a static view for a User. @@ -7528,7 +7528,7 @@

Methods

https://api.slack.com/methods/views.publish

-async def views_push(self, *, trigger_id: Optional[str] = None, interactivity_pointer: Optional[str] = None, view: Union[dict, View], **kwargs) ‑> AsyncSlackResponse +async def views_push(self,
*,
trigger_id: str | None = None,
interactivity_pointer: str | None = None,
view: dict | View,
**kwargs) ‑> AsyncSlackResponse

Push a view onto the stack of a root view. @@ -7540,7 +7540,7 @@

Methods

https://api.slack.com/methods/views.push

-async def views_update(self, *, view: Union[dict, View], external_id: Optional[str] = None, view_id: Optional[str] = None, hash: Optional[str] = None, **kwargs) ‑> AsyncSlackResponse +async def views_update(self,
*,
view: dict | View,
external_id: str | None = None,
view_id: str | None = None,
hash: str | None = None,
**kwargs) ‑> AsyncSlackResponse

Update an existing view. @@ -7551,7 +7551,7 @@

Methods

https://api.slack.com/methods/views.update

-async def workflows_stepCompleted(self, *, workflow_step_execute_id: str, outputs: Optional[dict] = None, **kwargs) ‑> AsyncSlackResponse +async def workflows_stepCompleted(self, *, workflow_step_execute_id: str, outputs: dict | None = None, **kwargs) ‑> AsyncSlackResponse

Indicate a successful outcome of a workflow step's execution. @@ -7565,7 +7565,7 @@

Methods

https://api.slack.com/methods/workflows.stepFailed

-async def workflows_updateStep(self, *, workflow_step_edit_id: str, inputs: Optional[Dict[str, Any]] = None, outputs: Optional[List[Dict[str, str]]] = None, **kwargs) ‑> AsyncSlackResponse +async def workflows_updateStep(self,
*,
workflow_step_edit_id: str,
inputs: Dict[str, Any] | None = None,
outputs: List[Dict[str, str]] | None = None,
**kwargs) ‑> AsyncSlackResponse

Update the configuration for a workflow extension step. @@ -7910,7 +7910,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/web/async_internal_utils.html b/docs/static/api-docs/slack_sdk/web/async_internal_utils.html index c25d6f27..18445050 100644 --- a/docs/static/api-docs/slack_sdk/web/async_internal_utils.html +++ b/docs/static/api-docs/slack_sdk/web/async_internal_utils.html @@ -3,13 +3,13 @@ - + slack_sdk.web.async_internal_utils API documentation - + @@ -49,7 +49,7 @@

Module slack_sdk.web.async_internal_utils

diff --git a/docs/static/api-docs/slack_sdk/web/async_slack_response.html b/docs/static/api-docs/slack_sdk/web/async_slack_response.html index bbf07ee4..6eec6bb5 100644 --- a/docs/static/api-docs/slack_sdk/web/async_slack_response.html +++ b/docs/static/api-docs/slack_sdk/web/async_slack_response.html @@ -3,13 +3,13 @@ - + slack_sdk.web.async_slack_response API documentation - + @@ -38,7 +38,7 @@

Classes

class AsyncSlackResponse -(*, client, http_verb: str, api_url: str, req_args: dict, data: Union[dict, bytes], headers: dict, status_code: int) +(*,
client,
http_verb: str,
api_url: str,
req_args: dict,
data: dict | bytes,
headers: dict,
status_code: int)

An iterable container of response data.

@@ -334,7 +334,7 @@

diff --git a/docs/static/api-docs/slack_sdk/web/base_client.html b/docs/static/api-docs/slack_sdk/web/base_client.html index 24c1981b..becb3a85 100644 --- a/docs/static/api-docs/slack_sdk/web/base_client.html +++ b/docs/static/api-docs/slack_sdk/web/base_client.html @@ -3,13 +3,13 @@ - + slack_sdk.web.base_client API documentation - + @@ -38,7 +38,7 @@

Classes

class BaseClient -(token: Optional[str] = None, base_url: str = 'https://slack.com/api/', timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, headers: Optional[dict] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, team_id: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[RetryHandler]] = None) +(token: str | None = None,
base_url: str = 'https://slack.com/api/',
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
headers: dict | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
team_id: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[RetryHandler] | None = None)
@@ -66,6 +66,8 @@

Classes

): self.token = None if token is None else token.strip() """A string specifying an `xoxp-*` or `xoxb-*` token.""" + if not base_url.endswith("/"): + base_url += "/" self.base_url = base_url """A string representing the Slack API base URL. Default is `'https://slack.com/api/'`.""" @@ -714,7 +716,7 @@

Instance variables

Methods

-def api_call(self, api_method: str, *, http_verb: str = 'POST', files: Optional[dict] = None, data: Optional[dict] = None, params: Optional[dict] = None, json: Optional[dict] = None, headers: Optional[dict] = None, auth: Optional[dict] = None) ‑> SlackResponse +def api_call(self,
api_method: str,
*,
http_verb: str = 'POST',
files: dict | None = None,
data: dict | None = None,
params: dict | None = None,
json: dict | None = None,
headers: dict | None = None,
auth: dict | None = None) ‑> SlackResponse

Create a request and execute the API call to Slack.

@@ -797,7 +799,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/web/client.html b/docs/static/api-docs/slack_sdk/web/client.html index 43e6e107..5a3c4ad3 100644 --- a/docs/static/api-docs/slack_sdk/web/client.html +++ b/docs/static/api-docs/slack_sdk/web/client.html @@ -3,13 +3,13 @@ - + slack_sdk.web.client API documentation - + @@ -38,7 +38,7 @@

Classes

class WebClient -(token: Optional[str] = None, base_url: str = 'https://slack.com/api/', timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, headers: Optional[dict] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, team_id: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[RetryHandler]] = None) +(token: str | None = None,
base_url: str = 'https://slack.com/api/',
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
headers: dict | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
team_id: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[RetryHandler] | None = None)

A WebClient allows apps to communicate with the Slack Platform's Web API.

@@ -5508,21 +5508,21 @@

Ancestors

Methods

-def admin_analytics_getFile(self, *, type: str, date: Optional[str] = None, metadata_only: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_analytics_getFile(self,
*,
type: str,
date: str | None = None,
metadata_only: bool | None = None,
**kwargs) ‑> SlackResponse

Retrieve analytics data for a given date, presented as a compressed JSON file https://api.slack.com/methods/admin.analytics.getFile

-def admin_apps_activities_list(self, *, app_id: Optional[str] = None, component_id: Optional[str] = None, component_type: Optional[str] = None, log_event_type: Optional[str] = None, max_date_created: Optional[int] = None, min_date_created: Optional[int] = None, min_log_level: Optional[str] = None, sort_direction: Optional[str] = None, source: Optional[str] = None, team_id: Optional[str] = None, trace_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_apps_activities_list(self,
*,
app_id: str | None = None,
component_id: str | None = None,
component_type: str | None = None,
log_event_type: str | None = None,
max_date_created: int | None = None,
min_date_created: int | None = None,
min_log_level: str | None = None,
sort_direction: str | None = None,
source: str | None = None,
team_id: str | None = None,
trace_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse
-def admin_apps_approve(self, *, app_id: Optional[str] = None, request_id: Optional[str] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_approve(self,
*,
app_id: str | None = None,
request_id: str | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Approve an app for installation on a workspace. @@ -5532,49 +5532,49 @@

Methods

https://api.slack.com/methods/admin.apps.approve

-def admin_apps_approved_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_approved_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List approved apps for an org or workspace. https://api.slack.com/methods/admin.apps.approved.list

-def admin_apps_clearResolution(self, *, app_id: str, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_clearResolution(self,
*,
app_id: str,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def admin_apps_config_lookup(self, *, app_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_apps_config_lookup(self, *, app_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Look up the app config for connectors by their IDs https://api.slack.com/methods/admin.apps.config.lookup

-def admin_apps_config_set(self, *, app_id: str, domain_restrictions: Optional[Dict[str, Any]] = None, workflow_auth_strategy: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_config_set(self,
*,
app_id: str,
domain_restrictions: Dict[str, Any] | None = None,
workflow_auth_strategy: str | None = None,
**kwargs) ‑> SlackResponse

Set the app config for a connector https://api.slack.com/methods/admin.apps.config.set

-def admin_apps_requests_cancel(self, *, request_id: str, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_requests_cancel(self,
*,
request_id: str,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List app requests for a team/workspace. https://api.slack.com/methods/admin.apps.requests.cancel

-def admin_apps_requests_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_requests_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List app requests for a team/workspace. https://api.slack.com/methods/admin.apps.requests.list

-def admin_apps_restrict(self, *, app_id: Optional[str] = None, request_id: Optional[str] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_restrict(self,
*,
app_id: str | None = None,
request_id: str | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Restrict an app for installation on a workspace. @@ -5584,14 +5584,14 @@

Methods

https://api.slack.com/methods/admin.apps.restrict

-def admin_apps_restricted_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_restricted_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List restricted apps for an org or workspace. https://api.slack.com/methods/admin.apps.restricted.list

-def admin_apps_uninstall(self, *, app_id: str, enterprise_id: Optional[str] = None, team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_apps_uninstall(self,
*,
app_id: str,
enterprise_id: str | None = None,
team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Uninstall an app from one or many workspaces, or an entire enterprise organization. @@ -5599,28 +5599,28 @@

Methods

https://api.slack.com/methods/admin.apps.uninstall

-def admin_auth_policy_assignEntities(self, *, entity_ids: Union[str, Sequence[str]], policy_name: str, entity_type: str, **kwargs) ‑> SlackResponse +def admin_auth_policy_assignEntities(self,
*,
entity_ids: str | Sequence[str],
policy_name: str,
entity_type: str,
**kwargs) ‑> SlackResponse

Assign entities to a particular authentication policy. https://api.slack.com/methods/admin.auth.policy.assignEntities

-def admin_auth_policy_getEntities(self, *, policy_name: str, cursor: Optional[str] = None, entity_type: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_auth_policy_getEntities(self,
*,
policy_name: str,
cursor: str | None = None,
entity_type: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Fetch all the entities assigned to a particular authentication policy by name. https://api.slack.com/methods/admin.auth.policy.getEntities

-def admin_auth_policy_removeEntities(self, *, entity_ids: Union[str, Sequence[str]], policy_name: str, entity_type: str, **kwargs) ‑> SlackResponse +def admin_auth_policy_removeEntities(self,
*,
entity_ids: str | Sequence[str],
policy_name: str,
entity_type: str,
**kwargs) ‑> SlackResponse

Remove specified entities from a specified authentication policy. https://api.slack.com/methods/admin.auth.policy.removeEntities

-def admin_barriers_create(self, *, barriered_from_usergroup_ids: Union[str, Sequence[str]], primary_usergroup_id: str, restricted_subjects: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_barriers_create(self,
*,
barriered_from_usergroup_ids: str | Sequence[str],
primary_usergroup_id: str,
restricted_subjects: str | Sequence[str],
**kwargs) ‑> SlackResponse

Create an Information Barrier @@ -5634,14 +5634,14 @@

Methods

https://api.slack.com/methods/admin.barriers.delete

-def admin_barriers_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_barriers_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

Get all Information Barriers for your organization https://api.slack.com/methods/admin.barriers.list

-def admin_barriers_update(self, *, barrier_id: str, barriered_from_usergroup_ids: Union[str, Sequence[str]], primary_usergroup_id: str, restricted_subjects: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_barriers_update(self,
*,
barrier_id: str,
barriered_from_usergroup_ids: str | Sequence[str],
primary_usergroup_id: str,
restricted_subjects: str | Sequence[str],
**kwargs) ‑> SlackResponse

Update an existing Information Barrier @@ -5655,21 +5655,21 @@

Methods

https://api.slack.com/methods/admin.conversations.archive

-def admin_conversations_bulkArchive(self, *, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_conversations_bulkArchive(self, *, channel_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Archive public or private channels in bulk. https://api.slack.com/methods/admin.conversations.bulkArchive

-def admin_conversations_bulkDelete(self, *, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_conversations_bulkDelete(self, *, channel_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Delete public or private channels in bulk. https://slack.com/api/admin.conversations.bulkDelete

-def admin_conversations_bulkMove(self, *, channel_ids: Union[str, Sequence[str]], target_team_id: str, **kwargs) ‑> SlackResponse +def admin_conversations_bulkMove(self, *, channel_ids: str | Sequence[str], target_team_id: str, **kwargs) ‑> SlackResponse

Move public or private channels in bulk. @@ -5690,7 +5690,7 @@

Methods

https://api.slack.com/methods/admin.conversations.convertToPublic

-def admin_conversations_create(self, *, is_private: bool, name: str, description: Optional[str] = None, org_wide: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_conversations_create(self,
*,
is_private: bool,
name: str,
description: str | None = None,
org_wide: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Create a public or private channel-based conversation. @@ -5704,14 +5704,14 @@

Methods

https://api.slack.com/methods/admin.conversations.delete

-def admin_conversations_disconnectShared(self, *, channel_id: str, leaving_team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_conversations_disconnectShared(self,
*,
channel_id: str,
leaving_team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Disconnect a connected channel from one or more workspaces. https://api.slack.com/methods/admin.conversations.disconnectShared

-def admin_conversations_ekm_listOriginalConnectedChannelInfo(self, *, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, cursor: Optional[str] = None, limit: Optional[int] = None, team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_conversations_ekm_listOriginalConnectedChannelInfo(self,
*,
channel_ids: str | Sequence[str] | None = None,
cursor: str | None = None,
limit: int | None = None,
team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

List all disconnected channels—i.e., @@ -5734,21 +5734,21 @@

Methods

https://api.slack.com/methods/admin.conversations.getCustomRetention

-def admin_conversations_getTeams(self, *, channel_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_conversations_getTeams(self,
*,
channel_id: str,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Set the workspaces in an Enterprise grid org that connect to a channel. https://api.slack.com/methods/admin.conversations.getTeams

-def admin_conversations_invite(self, *, channel_id: str, user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_conversations_invite(self, *, channel_id: str, user_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Invite a user to a public or private channel. https://api.slack.com/methods/admin.conversations.invite

-def admin_conversations_lookup(self, *, last_message_activity_before: int, team_ids: Union[str, Sequence[str]], cursor: Optional[str] = None, limit: Optional[int] = None, max_member_count: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_conversations_lookup(self,
*,
last_message_activity_before: int,
team_ids: str | Sequence[str],
cursor: str | None = None,
limit: int | None = None,
max_member_count: int | None = None,
**kwargs) ‑> SlackResponse

Returns channels on the given team using the filters. @@ -5769,14 +5769,14 @@

Methods

https://api.slack.com/methods/admin.conversations.rename

-def admin_conversations_restrictAccess_addGroup(self, *, channel_id: str, group_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_conversations_restrictAccess_addGroup(self, *, channel_id: str, group_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

Add an allowlist of IDP groups for accessing a channel. https://api.slack.com/methods/admin.conversations.restrictAccess.addGroup

-def admin_conversations_restrictAccess_listGroups(self, *, channel_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_conversations_restrictAccess_listGroups(self, *, channel_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

List all IDP Groups linked to a channel. @@ -5790,14 +5790,14 @@

Methods

https://api.slack.com/methods/admin.conversations.restrictAccess.removeGroup

Search for public or private channels in an Enterprise organization. https://api.slack.com/methods/admin.conversations.search

-def admin_conversations_setConversationPrefs(self, *, channel_id: str, prefs: Union[str, Dict[str, str]], **kwargs) ‑> SlackResponse +def admin_conversations_setConversationPrefs(self, *, channel_id: str, prefs: str | Dict[str, str], **kwargs) ‑> SlackResponse

Set the posting permissions for a public or private channel. @@ -5811,7 +5811,7 @@

Methods

https://api.slack.com/methods/admin.conversations.setCustomRetention

-def admin_conversations_setTeams(self, *, channel_id: str, org_channel: Optional[bool] = None, target_team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_conversations_setTeams(self,
*,
channel_id: str,
org_channel: bool | None = None,
target_team_ids: str | Sequence[str] | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Set the workspaces in an Enterprise grid org that connect to a public or private channel. @@ -5839,7 +5839,7 @@

Methods

https://api.slack.com/methods/admin.emoji.addAlias

-def admin_emoji_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_emoji_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

List emoji for an Enterprise Grid organization. @@ -5860,14 +5860,14 @@

Methods

https://api.slack.com/methods/admin.emoji.rename

-def admin_functions_list(self, *, app_ids: Union[str, Sequence[str]], team_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_functions_list(self,
*,
app_ids: str | Sequence[str],
team_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Look up functions by a set of apps https://api.slack.com/methods/admin.functions.list

-def admin_functions_permissions_lookup(self, *, function_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_functions_permissions_lookup(self, *, function_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Lookup the visibility of multiple Slack functions @@ -5875,7 +5875,7 @@

Methods

https://api.slack.com/methods/admin.functions.permissions.lookup

-def admin_functions_permissions_set(self, *, function_id: str, visibility: str, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_functions_permissions_set(self,
*,
function_id: str,
visibility: str,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Set the visibility of a Slack function @@ -5883,28 +5883,28 @@

Methods

https://api.slack.com/methods/admin.functions.permissions.set

-def admin_inviteRequests_approve(self, *, invite_request_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_inviteRequests_approve(self, *, invite_request_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse
-def admin_inviteRequests_approved_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_inviteRequests_approved_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List all approved workspace invite requests. https://api.slack.com/methods/admin.inviteRequests.approved.list

-def admin_inviteRequests_denied_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_inviteRequests_denied_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List all denied workspace invite requests. https://api.slack.com/methods/admin.inviteRequests.denied.list

-def admin_inviteRequests_deny(self, *, invite_request_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_inviteRequests_deny(self, *, invite_request_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

Deny a workspace invite request. @@ -5917,14 +5917,14 @@

Methods

List all pending workspace invite requests.

-def admin_roles_addAssignments(self, *, role_id: str, entity_ids: Union[str, Sequence[str]], user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_roles_addAssignments(self,
*,
role_id: str,
entity_ids: str | Sequence[str],
user_ids: str | Sequence[str],
**kwargs) ‑> SlackResponse

Adds members to the specified role with the specified scopes https://api.slack.com/methods/admin.roles.addAssignments

-def admin_roles_listAssignments(self, *, role_ids: Union[str, Sequence[str], ForwardRef(None)] = None, entity_ids: Union[str, Sequence[str], ForwardRef(None)] = None, cursor: Optional[str] = None, limit: Union[str, int, ForwardRef(None)] = None, sort_dir: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_roles_listAssignments(self,
*,
role_ids: str | Sequence[str] | None = None,
entity_ids: str | Sequence[str] | None = None,
cursor: str | None = None,
limit: str | int | None = None,
sort_dir: str | None = None,
**kwargs) ‑> SlackResponse

Lists assignments for all roles across entities. @@ -5932,35 +5932,35 @@

Methods

https://api.slack.com/methods/admin.roles.listAssignments

-def admin_roles_removeAssignments(self, *, role_id: str, entity_ids: Union[str, Sequence[str]], user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_roles_removeAssignments(self,
*,
role_id: str,
entity_ids: str | Sequence[str],
user_ids: str | Sequence[str],
**kwargs) ‑> SlackResponse

Removes a set of users from a role for the given scopes and entities https://api.slack.com/methods/admin.roles.removeAssignments

-def admin_teams_admins_list(self, *, team_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_teams_admins_list(self, *, team_id: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

List all of the admins on a given workspace. https://api.slack.com/methods/admin.inviteRequests.list

-def admin_teams_create(self, *, team_domain: str, team_name: str, team_description: Optional[str] = None, team_discoverability: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_teams_create(self,
*,
team_domain: str,
team_name: str,
team_description: str | None = None,
team_discoverability: str | None = None,
**kwargs) ‑> SlackResponse
-def admin_teams_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_teams_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

List all teams on an Enterprise organization. https://api.slack.com/methods/admin.teams.list

-def admin_teams_owners_list(self, *, team_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_teams_owners_list(self, *, team_id: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

List all of the admins on a given workspace. @@ -5974,7 +5974,7 @@

Methods

https://api.slack.com/methods/admin.teams.settings.info

-def admin_teams_settings_setDefaultChannels(self, *, team_id: str, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_teams_settings_setDefaultChannels(self, *, team_id: str, channel_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Set the default channels of a workspace. @@ -6009,49 +6009,49 @@

Methods

https://api.slack.com/methods/admin.teams.settings.setName

-def admin_usergroups_addChannels(self, *, channel_ids: Union[str, Sequence[str]], usergroup_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_usergroups_addChannels(self,
*,
channel_ids: str | Sequence[str],
usergroup_id: str,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.addChannels

-def admin_usergroups_addTeams(self, *, usergroup_id: str, team_ids: Union[str, Sequence[str]], auto_provision: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_usergroups_addTeams(self,
*,
usergroup_id: str,
team_ids: str | Sequence[str],
auto_provision: bool | None = None,
**kwargs) ‑> SlackResponse

Associate one or more default workspaces with an organization-wide IDP group. https://api.slack.com/methods/admin.usergroups.addTeams

-def admin_usergroups_listChannels(self, *, usergroup_id: str, include_num_members: Optional[bool] = None, team_id: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_usergroups_listChannels(self,
*,
usergroup_id: str,
include_num_members: bool | None = None,
team_id: bool | None = None,
**kwargs) ‑> SlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.listChannels

-def admin_usergroups_removeChannels(self, *, usergroup_id: str, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_usergroups_removeChannels(self, *, usergroup_id: str, channel_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.removeChannels

-def admin_users_assign(self, *, team_id: str, user_id: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, is_restricted: Optional[bool] = None, is_ultra_restricted: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_users_assign(self,
*,
team_id: str,
user_id: str,
channel_ids: str | Sequence[str] | None = None,
is_restricted: bool | None = None,
is_ultra_restricted: bool | None = None,
**kwargs) ‑> SlackResponse

Add an Enterprise user to a workspace. https://api.slack.com/methods/admin.users.assign

-def admin_users_invite(self, *, team_id: str, email: str, channel_ids: Union[str, Sequence[str]], custom_message: Optional[str] = None, email_password_policy_enabled: Optional[bool] = None, guest_expiration_ts: Union[str, float, ForwardRef(None)] = None, is_restricted: Optional[bool] = None, is_ultra_restricted: Optional[bool] = None, real_name: Optional[str] = None, resend: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_users_invite(self,
*,
team_id: str,
email: str,
channel_ids: str | Sequence[str],
custom_message: str | None = None,
email_password_policy_enabled: bool | None = None,
guest_expiration_ts: str | float | None = None,
is_restricted: bool | None = None,
is_ultra_restricted: bool | None = None,
real_name: str | None = None,
resend: bool | None = None,
**kwargs) ‑> SlackResponse
-def admin_users_list(self, *, team_id: str, include_deactivated_user_workspaces: Optional[bool] = None, is_active: Optional[bool] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_users_list(self,
*,
team_id: str,
include_deactivated_user_workspaces: bool | None = None,
is_active: bool | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

List users on a workspace @@ -6065,7 +6065,7 @@

Methods

https://api.slack.com/methods/admin.users.remove

-def admin_users_session_clearSettings(self, *, user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_users_session_clearSettings(self, *, user_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Clear user-specific session settings—the session duration @@ -6073,7 +6073,7 @@

Methods

https://api.slack.com/methods/admin.users.session.clearSettings

-def admin_users_session_getSettings(self, *, user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_users_session_getSettings(self, *, user_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Get user-specific session settings—the session duration @@ -6088,28 +6088,28 @@

Methods

https://api.slack.com/methods/admin.users.session.invalidate

-def admin_users_session_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, user_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_users_session_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
user_id: str | None = None,
**kwargs) ‑> SlackResponse

Lists all active user sessions for an organization https://api.slack.com/methods/admin.users.session.list

-def admin_users_session_reset(self, *, user_id: str, mobile_only: Optional[bool] = None, web_only: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_users_session_reset(self,
*,
user_id: str,
mobile_only: bool | None = None,
web_only: bool | None = None,
**kwargs) ‑> SlackResponse

Wipes all valid sessions on all devices for a given user. https://api.slack.com/methods/admin.users.session.reset

-def admin_users_session_resetBulk(self, *, user_ids: Union[str, Sequence[str]], mobile_only: Optional[bool] = None, web_only: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_users_session_resetBulk(self,
*,
user_ids: str | Sequence[str],
mobile_only: bool | None = None,
web_only: bool | None = None,
**kwargs) ‑> SlackResponse

Enqueues an asynchronous job to wipe all valid sessions on all devices for a given list of users https://api.slack.com/methods/admin.users.session.resetBulk

-def admin_users_session_setSettings(self, *, user_ids: Union[str, Sequence[str]], desktop_app_browser_quit: Optional[bool] = None, duration: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_users_session_setSettings(self,
*,
user_ids: str | Sequence[str],
desktop_app_browser_quit: bool | None = None,
duration: int | None = None,
**kwargs) ‑> SlackResponse

Configure the user-level session settings—the session duration @@ -6124,7 +6124,7 @@

Methods

https://api.slack.com/methods/admin.users.setAdmin

-def admin_users_setExpiration(self, *, expiration_ts: int, user_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_users_setExpiration(self, *, expiration_ts: int, user_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

Set an expiration for a guest user. @@ -6145,7 +6145,7 @@

Methods

https://api.slack.com/methods/admin.users.setRegular

-def admin_users_unsupportedVersions_export(self, *, date_end_of_support: Union[str, int, ForwardRef(None)] = None, date_sessions_started: Union[str, int, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_users_unsupportedVersions_export(self,
*,
date_end_of_support: str | int | None = None,
date_sessions_started: str | int | None = None,
**kwargs) ‑> SlackResponse

Ask Slackbot to send you an export listing all workspace members using unsupported software, @@ -6153,42 +6153,42 @@

Methods

https://api.slack.com/methods/admin.users.unsupportedVersions.export

-def admin_workflows_collaborators_add(self, *, collaborator_ids: Union[str, Sequence[str]], workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_workflows_collaborators_add(self,
*,
collaborator_ids: str | Sequence[str],
workflow_ids: str | Sequence[str],
**kwargs) ‑> SlackResponse

Add collaborators to workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.collaborators.add

-def admin_workflows_collaborators_remove(self, *, collaborator_ids: Union[str, Sequence[str]], workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_workflows_collaborators_remove(self,
*,
collaborator_ids: str | Sequence[str],
workflow_ids: str | Sequence[str],
**kwargs) ‑> SlackResponse

Remove collaborators from workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.collaborators.remove

-def admin_workflows_permissions_lookup(self, *, workflow_ids: Union[str, Sequence[str]], max_workflow_triggers: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_workflows_permissions_lookup(self,
*,
workflow_ids: str | Sequence[str],
max_workflow_triggers: int | None = None,
**kwargs) ‑> SlackResponse

Look up the permissions for a set of workflows https://api.slack.com/methods/admin.workflows.permissions.lookup

Search workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.search

-def admin_workflows_unpublish(self, *, workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_workflows_unpublish(self, *, workflow_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Unpublish workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.unpublish

-def api_test(self, *, error: Optional[str] = None, **kwargs) ‑> SlackResponse +def api_test(self, *, error: str | None = None, **kwargs) ‑> SlackResponse

Checks API calling code. @@ -6203,7 +6203,7 @@

Methods

https://api.slack.com/methods/apps.connections.open

-def apps_event_authorizations_list(self, *, event_context: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def apps_event_authorizations_list(self,
*,
event_context: str,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Get a list of authorizations for the given event context. @@ -6211,7 +6211,7 @@

Methods

https://api.slack.com/methods/apps.event.authorizations.list

-def apps_manifest_create(self, *, manifest: Union[str, Dict[str, Any]], **kwargs) ‑> SlackResponse +def apps_manifest_create(self, *, manifest: str | Dict[str, Any], **kwargs) ‑> SlackResponse

Create an app from an app manifest @@ -6232,14 +6232,14 @@

Methods

https://api.slack.com/methods/apps.manifest.export

-def apps_manifest_update(self, *, app_id: str, manifest: Union[str, Dict[str, Any]], **kwargs) ‑> SlackResponse +def apps_manifest_update(self, *, app_id: str, manifest: str | Dict[str, Any], **kwargs) ‑> SlackResponse

Update an app from an app manifest https://api.slack.com/methods/apps.manifest.update

-def apps_manifest_validate(self, *, manifest: Union[str, Dict[str, Any]], app_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def apps_manifest_validate(self, *, manifest: str | Dict[str, Any], app_id: str | None = None, **kwargs) ‑> SlackResponse

Validate an app manifest @@ -6260,7 +6260,7 @@

Methods

https://api.slack.com/methods/assistant.threads.setStatus

-def assistant_threads_setSuggestedPrompts(self, *, channel_id: str, thread_ts: str, title: Optional[str] = None, prompts: List[Dict[str, str]], **kwargs) ‑> SlackResponse +def assistant_threads_setSuggestedPrompts(self,
*,
channel_id: str,
thread_ts: str,
title: str | None = None,
prompts: List[Dict[str, str]],
**kwargs) ‑> SlackResponse

Revokes a token. @@ -6274,14 +6274,14 @@

Methods

https://api.slack.com/methods/assistant.threads.setTitle

-def auth_revoke(self, *, test: Optional[bool] = None, **kwargs) ‑> SlackResponse +def auth_revoke(self, *, test: bool | None = None, **kwargs) ‑> SlackResponse
-def auth_teams_list(self, cursor: Optional[str] = None, limit: Optional[int] = None, include_icon: Optional[bool] = None, **kwargs) ‑> SlackResponse +def auth_teams_list(self,
cursor: str | None = None,
limit: int | None = None,
include_icon: bool | None = None,
**kwargs) ‑> SlackResponse

List the workspaces a token can access. @@ -6295,14 +6295,14 @@

Methods

https://api.slack.com/methods/auth.test

-def bookmarks_add(self, *, channel_id: str, title: str, type: str, emoji: Optional[str] = None, entity_id: Optional[str] = None, link: Optional[str] = None, parent_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def bookmarks_add(self,
*,
channel_id: str,
title: str,
type: str,
emoji: str | None = None,
entity_id: str | None = None,
link: str | None = None,
parent_id: str | None = None,
**kwargs) ‑> SlackResponse
-def bookmarks_edit(self, *, bookmark_id: str, channel_id: str, emoji: Optional[str] = None, link: Optional[str] = None, title: Optional[str] = None, **kwargs) ‑> SlackResponse +def bookmarks_edit(self,
*,
bookmark_id: str,
channel_id: str,
emoji: str | None = None,
link: str | None = None,
title: str | None = None,
**kwargs) ‑> SlackResponse

Edit bookmark. @@ -6323,21 +6323,21 @@

Methods

https://api.slack.com/methods/bookmarks.remove

-def bots_info(self, *, bot: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def bots_info(self, *, bot: str | None = None, team_id: str | None = None, **kwargs) ‑> SlackResponse

Gets information about a bot user. https://api.slack.com/methods/bots.info

-def calls_add(self, *, external_unique_id: str, join_url: str, created_by: Optional[str] = None, date_start: Optional[int] = None, desktop_app_join_url: Optional[str] = None, external_display_id: Optional[str] = None, title: Optional[str] = None, users: Union[str, Sequence[Dict[str, str]], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def calls_add(self,
*,
external_unique_id: str,
join_url: str,
created_by: str | None = None,
date_start: int | None = None,
desktop_app_join_url: str | None = None,
external_display_id: str | None = None,
title: str | None = None,
users: str | Sequence[Dict[str, str]] | None = None,
**kwargs) ‑> SlackResponse
-def calls_end(self, *, id: str, duration: Optional[int] = None, **kwargs) ‑> SlackResponse +def calls_end(self, *, id: str, duration: int | None = None, **kwargs) ‑> SlackResponse

Ends a Call. @@ -6351,42 +6351,42 @@

Methods

https://api.slack.com/methods/calls.info

-def calls_participants_add(self, *, id: str, users: Union[str, Sequence[Dict[str, str]]], **kwargs) ‑> SlackResponse +def calls_participants_add(self, *, id: str, users: str | Sequence[Dict[str, str]], **kwargs) ‑> SlackResponse

Registers new participants added to a Call. https://api.slack.com/methods/calls.participants.add

-def calls_participants_remove(self, *, id: str, users: Union[str, Sequence[Dict[str, str]]], **kwargs) ‑> SlackResponse +def calls_participants_remove(self, *, id: str, users: str | Sequence[Dict[str, str]], **kwargs) ‑> SlackResponse

Registers participants removed from a Call. https://api.slack.com/methods/calls.participants.remove

-def calls_update(self, *, id: str, desktop_app_join_url: Optional[str] = None, join_url: Optional[str] = None, title: Optional[str] = None, **kwargs) ‑> SlackResponse +def calls_update(self,
*,
id: str,
desktop_app_join_url: str | None = None,
join_url: str | None = None,
title: str | None = None,
**kwargs) ‑> SlackResponse

Updates information about a Call. https://api.slack.com/methods/calls.update

-def canvases_access_delete(self, *, canvas_id: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def canvases_access_delete(self,
*,
canvas_id: str,
channel_ids: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Create a Channel Canvas for a channel https://api.slack.com/methods/canvases.access.delete

-def canvases_access_set(self, *, canvas_id: str, access_level: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def canvases_access_set(self,
*,
canvas_id: str,
access_level: str,
channel_ids: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Sets the access level to a canvas for specified entities https://api.slack.com/methods/canvases.access.set

-def canvases_create(self, *, title: Optional[str] = None, document_content: Dict[str, str], **kwargs) ‑> SlackResponse +def canvases_create(self, *, title: str | None = None, document_content: Dict[str, str], **kwargs) ‑> SlackResponse

Create Canvas for a user @@ -6504,14 +6504,14 @@

Methods

Unarchives a channel.

-def chat_delete(self, *, channel: str, ts: str, as_user: Optional[bool] = None, **kwargs) ‑> SlackResponse +def chat_delete(self, *, channel: str, ts: str, as_user: bool | None = None, **kwargs) ‑> SlackResponse
-def chat_deleteScheduledMessage(self, *, channel: str, scheduled_message_id: str, as_user: Optional[bool] = None, **kwargs) ‑> SlackResponse +def chat_deleteScheduledMessage(self,
*,
channel: str,
scheduled_message_id: str,
as_user: bool | None = None,
**kwargs) ‑> SlackResponse

Deletes a scheduled message. @@ -6532,56 +6532,56 @@

Methods

https://api.slack.com/methods/chat.meMessage

-def chat_postEphemeral(self, *, channel: str, user: str, text: Optional[str] = None, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, icon_emoji: Optional[str] = None, icon_url: Optional[str] = None, link_names: Optional[bool] = None, username: Optional[str] = None, parse: Optional[str] = None, **kwargs) ‑> SlackResponse +def chat_postEphemeral(self,
*,
channel: str,
user: str,
text: str | None = None,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
icon_emoji: str | None = None,
icon_url: str | None = None,
link_names: bool | None = None,
username: str | None = None,
parse: str | None = None,
**kwargs) ‑> SlackResponse

Sends an ephemeral message to a user in a channel. https://api.slack.com/methods/chat.postEphemeral

-def chat_postMessage(self, *, channel: str, text: Optional[str] = None, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, reply_broadcast: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, container_id: Optional[str] = None, icon_emoji: Optional[str] = None, icon_url: Optional[str] = None, mrkdwn: Optional[bool] = None, link_names: Optional[bool] = None, username: Optional[str] = None, parse: Optional[str] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def chat_postMessage(self,
*,
channel: str,
text: str | None = None,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
reply_broadcast: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
container_id: str | None = None,
icon_emoji: str | None = None,
icon_url: str | None = None,
mrkdwn: bool | None = None,
link_names: bool | None = None,
username: str | None = None,
parse: str | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> SlackResponse
-def chat_scheduleMessage(self, *, channel: str, post_at: Union[str, int], text: str, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, parse: Optional[str] = None, reply_broadcast: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, link_names: Optional[bool] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def chat_scheduleMessage(self,
*,
channel: str,
post_at: str | int,
text: str,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
parse: str | None = None,
reply_broadcast: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
link_names: bool | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> SlackResponse
-def chat_scheduledMessages_list(self, *, channel: Optional[str] = None, cursor: Optional[str] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def chat_scheduledMessages_list(self,
*,
channel: str | None = None,
cursor: str | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def chat_unfurl(self, *, channel: Optional[str] = None, ts: Optional[str] = None, source: Optional[str] = None, unfurl_id: Optional[str] = None, unfurls: Optional[Dict[str, Dict]] = None, user_auth_blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, user_auth_message: Optional[str] = None, user_auth_required: Optional[bool] = None, user_auth_url: Optional[str] = None, **kwargs) ‑> SlackResponse +def chat_unfurl(self,
*,
channel: str | None = None,
ts: str | None = None,
source: str | None = None,
unfurl_id: str | None = None,
unfurls: Dict[str, Dict] | None = None,
user_auth_blocks: str | Sequence[Dict | Block] | None = None,
user_auth_message: str | None = None,
user_auth_required: bool | None = None,
user_auth_url: str | None = None,
**kwargs) ‑> SlackResponse

Provide custom unfurl behavior for user-posted URLs. https://api.slack.com/methods/chat.unfurl

-def chat_update(self, *, channel: str, ts: str, text: Optional[str] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, as_user: Optional[bool] = None, file_ids: Union[str, Sequence[str], ForwardRef(None)] = None, link_names: Optional[bool] = None, parse: Optional[str] = None, reply_broadcast: Optional[bool] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def chat_update(self,
*,
channel: str,
ts: str,
text: str | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
as_user: bool | None = None,
file_ids: str | Sequence[str] | None = None,
link_names: bool | None = None,
parse: str | None = None,
reply_broadcast: bool | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> SlackResponse

Updates a message in a channel. https://api.slack.com/methods/chat.update

-def conversations_acceptSharedInvite(self, *, channel_name: str, channel_id: Optional[str] = None, invite_id: Optional[str] = None, free_trial_accepted: Optional[bool] = None, is_private: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_acceptSharedInvite(self,
*,
channel_name: str,
channel_id: str | None = None,
invite_id: str | None = None,
free_trial_accepted: bool | None = None,
is_private: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Accepts an invitation to a Slack Connect channel. https://api.slack.com/methods/conversations.acceptSharedInvite

-def conversations_approveSharedInvite(self, *, invite_id: str, target_team: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_approveSharedInvite(self, *, invite_id: str, target_team: str | None = None, **kwargs) ‑> SlackResponse

Approves an invitation to a Slack Connect channel. @@ -6609,14 +6609,14 @@

Methods

https://api.slack.com/methods/conversations.close

-def conversations_create(self, *, name: str, is_private: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_create(self,
*,
name: str,
is_private: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Initiates a public or private channel-based conversation https://api.slack.com/methods/conversations.create

-def conversations_declineSharedInvite(self, *, invite_id: str, target_team: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_declineSharedInvite(self, *, invite_id: str, target_team: str | None = None, **kwargs) ‑> SlackResponse

Declines a Slack Connect channel invite. @@ -6630,28 +6630,28 @@

Methods

https://api.slack.com/methods/conversations.externalInvitePermissions.set

-def conversations_history(self, *, channel: str, cursor: Optional[str] = None, inclusive: Optional[bool] = None, include_all_metadata: Optional[bool] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_history(self,
*,
channel: str,
cursor: str | None = None,
inclusive: bool | None = None,
include_all_metadata: bool | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
**kwargs) ‑> SlackResponse

Fetches a conversation's history of messages and events. https://api.slack.com/methods/conversations.history

-def conversations_info(self, *, channel: str, include_locale: Optional[bool] = None, include_num_members: Optional[bool] = None, **kwargs) ‑> SlackResponse +def conversations_info(self,
*,
channel: str,
include_locale: bool | None = None,
include_num_members: bool | None = None,
**kwargs) ‑> SlackResponse

Retrieve information about a conversation. https://api.slack.com/methods/conversations.info

-def conversations_invite(self, *, channel: str, users: Union[str, Sequence[str]], force: Optional[bool] = None, **kwargs) ‑> SlackResponse +def conversations_invite(self,
*,
channel: str,
users: str | Sequence[str],
force: bool | None = None,
**kwargs) ‑> SlackResponse
-def conversations_inviteShared(self, *, channel: str, emails: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def conversations_inviteShared(self,
*,
channel: str,
emails: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Sends an invitation to a Slack Connect channel. @@ -6679,14 +6679,14 @@

Methods

https://api.slack.com/methods/conversations.leave

-def conversations_list(self, *, cursor: Optional[str] = None, exclude_archived: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def conversations_list(self,
*,
cursor: str | None = None,
exclude_archived: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
types: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Lists all channels in a Slack team. https://api.slack.com/methods/conversations.list

-def conversations_listConnectInvites(self, *, count: Optional[int] = None, cursor: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_listConnectInvites(self,
*,
count: int | None = None,
cursor: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List shared channel invites that have been generated @@ -6701,14 +6701,14 @@

Methods

https://api.slack.com/methods/conversations.mark

-def conversations_members(self, *, channel: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def conversations_members(self, *, channel: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

Retrieve members of a conversation. https://api.slack.com/methods/conversations.members

-def conversations_open(self, *, channel: Optional[str] = None, return_im: Optional[bool] = None, users: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def conversations_open(self,
*,
channel: str | None = None,
return_im: bool | None = None,
users: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Opens or resumes a direct message or multi-person direct message. @@ -6722,28 +6722,28 @@

Methods

https://api.slack.com/methods/conversations.rename

-def conversations_replies(self, *, channel: str, ts: str, cursor: Optional[str] = None, inclusive: Optional[bool] = None, include_all_metadata: Optional[bool] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_replies(self,
*,
channel: str,
ts: str,
cursor: str | None = None,
inclusive: bool | None = None,
include_all_metadata: bool | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
**kwargs) ‑> SlackResponse

Retrieve a thread of messages posted to a conversation https://api.slack.com/methods/conversations.replies

-def conversations_requestSharedInvite_approve(self, *, invite_id: str, channel_id: Optional[str] = None, is_external_limited: Optional[str] = None, message: Optional[Dict[str, Any]] = None, **kwargs) ‑> SlackResponse +def conversations_requestSharedInvite_approve(self,
*,
invite_id: str,
channel_id: str | None = None,
is_external_limited: str | None = None,
message: Dict[str, Any] | None = None,
**kwargs) ‑> SlackResponse

Approve a request to add an external user to a channel. This also sends them a Slack Connect invite. https://api.slack.com/methods/conversations.requestSharedInvite.approve

-def conversations_requestSharedInvite_deny(self, *, invite_id: str, message: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_requestSharedInvite_deny(self, *, invite_id: str, message: str | None = None, **kwargs) ‑> SlackResponse

Deny a request to invite an external user to a channel. https://api.slack.com/methods/conversations.requestSharedInvite.deny

-def conversations_requestSharedInvite_list(self, *, cursor: Optional[str] = None, include_approved: Optional[bool] = None, include_denied: Optional[bool] = None, include_expired: Optional[bool] = None, invite_ids: Union[str, Sequence[str], ForwardRef(None)] = None, limit: Optional[int] = None, user_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_requestSharedInvite_list(self,
*,
cursor: str | None = None,
include_approved: bool | None = None,
include_denied: bool | None = None,
include_expired: bool | None = None,
invite_ids: str | Sequence[str] | None = None,
limit: int | None = None,
user_id: str | None = None,
**kwargs) ‑> SlackResponse

Lists requests to add external users to channels with ability to filter. @@ -6792,28 +6792,28 @@

Methods

https://api.slack.com/methods/dnd.endSnooze

-def dnd_info(self, *, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def dnd_info(self, *, team_id: str | None = None, user: str | None = None, **kwargs) ‑> SlackResponse

Retrieves a user's current Do Not Disturb status. https://api.slack.com/methods/dnd.info

-def dnd_setSnooze(self, *, num_minutes: Union[str, int], **kwargs) ‑> SlackResponse +def dnd_setSnooze(self, *, num_minutes: str | int, **kwargs) ‑> SlackResponse

Turns on Do Not Disturb mode for the current user, or changes its duration. https://api.slack.com/methods/dnd.setSnooze

-def dnd_teamInfo(self, users: Union[str, Sequence[str]], team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def dnd_teamInfo(self, users: str | Sequence[str], team_id: str | None = None, **kwargs) ‑> SlackResponse

Retrieves the Do Not Disturb status for users on a team. https://api.slack.com/methods/dnd.teamInfo

-def emoji_list(self, include_categories: Optional[bool] = None, **kwargs) ‑> SlackResponse +def emoji_list(self, include_categories: bool | None = None, **kwargs) ‑> SlackResponse

Lists custom emoji for a team. @@ -6827,7 +6827,7 @@

Methods

https://api.slack.com/methods/files.comments.delete

-def files_completeUploadExternal(self, *, files: List[Dict[str, str]], channel_id: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_completeUploadExternal(self,
*,
files: List[Dict[str, str]],
channel_id: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
**kwargs) ‑> SlackResponse

Finishes an upload started with files.getUploadURLExternal. @@ -6841,63 +6841,63 @@

Methods

https://api.slack.com/methods/files.delete

-def files_getUploadURLExternal(self, *, filename: str, length: int, alt_txt: Optional[str] = None, snippet_type: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_getUploadURLExternal(self,
*,
filename: str,
length: int,
alt_txt: str | None = None,
snippet_type: str | None = None,
**kwargs) ‑> SlackResponse

Gets a URL for an edge external upload. https://api.slack.com/methods/files.getUploadURLExternal

-def files_info(self, *, file: str, count: Optional[int] = None, cursor: Optional[str] = None, limit: Optional[int] = None, page: Optional[int] = None, **kwargs) ‑> SlackResponse +def files_info(self,
*,
file: str,
count: int | None = None,
cursor: str | None = None,
limit: int | None = None,
page: int | None = None,
**kwargs) ‑> SlackResponse

Gets information about a team file. https://api.slack.com/methods/files.info

-def files_list(self, *, channel: Optional[str] = None, count: Optional[int] = None, page: Optional[int] = None, show_files_hidden_by_limit: Optional[bool] = None, team_id: Optional[str] = None, ts_from: Optional[str] = None, ts_to: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_list(self,
*,
channel: str | None = None,
count: int | None = None,
page: int | None = None,
show_files_hidden_by_limit: bool | None = None,
team_id: str | None = None,
ts_from: str | None = None,
ts_to: str | None = None,
types: str | Sequence[str] | None = None,
user: str | None = None,
**kwargs) ‑> SlackResponse

Lists & filters team files. https://api.slack.com/methods/files.list

-def files_remote_add(self, *, external_id: str, external_url: str, title: str, filetype: Optional[str] = None, indexable_file_contents: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, preview_image: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def files_remote_add(self,
*,
external_id: str,
external_url: str,
title: str,
filetype: str | None = None,
indexable_file_contents: str | bytes | io.IOBase | None = None,
preview_image: str | bytes | io.IOBase | None = None,
**kwargs) ‑> SlackResponse

Adds a file from a remote service. https://api.slack.com/methods/files.remote.add

-def files_remote_info(self, *, external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_info(self, *, external_id: str | None = None, file: str | None = None, **kwargs) ‑> SlackResponse

Retrieve information about a remote file added to Slack. https://api.slack.com/methods/files.remote.info

-def files_remote_list(self, *, channel: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, ts_from: Optional[str] = None, ts_to: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_list(self,
*,
channel: str | None = None,
cursor: str | None = None,
limit: int | None = None,
ts_from: str | None = None,
ts_to: str | None = None,
**kwargs) ‑> SlackResponse

Retrieve information about a remote file added to Slack. https://api.slack.com/methods/files.remote.list

-def files_remote_remove(self, *, external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_remove(self, *, external_id: str | None = None, file: str | None = None, **kwargs) ‑> SlackResponse
-def files_remote_share(self, *, channels: Union[str, Sequence[str]], external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_share(self,
*,
channels: str | Sequence[str],
external_id: str | None = None,
file: str | None = None,
**kwargs) ‑> SlackResponse

Share a remote file into a channel. https://api.slack.com/methods/files.remote.share

-def files_remote_update(self, *, external_id: Optional[str] = None, external_url: Optional[str] = None, file: Optional[str] = None, title: Optional[str] = None, filetype: Optional[str] = None, indexable_file_contents: Optional[str] = None, preview_image: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_update(self,
*,
external_id: str | None = None,
external_url: str | None = None,
file: str | None = None,
title: str | None = None,
filetype: str | None = None,
indexable_file_contents: str | None = None,
preview_image: str | None = None,
**kwargs) ‑> SlackResponse

Updates an existing remote file. @@ -6918,14 +6918,14 @@

Methods

https://api.slack.com/methods/files.sharedPublicURL

-def files_upload(self, *, file: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, content: Union[str, bytes, ForwardRef(None)] = None, filename: Optional[str] = None, filetype: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, title: Optional[str] = None, channels: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def files_upload(self,
*,
file: str | bytes | io.IOBase | None = None,
content: str | bytes | None = None,
filename: str | None = None,
filetype: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
title: str | None = None,
channels: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse
-def files_upload_v2(self, *, filename: Optional[str] = None, file: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, content: Union[str, bytes, ForwardRef(None)] = None, title: Optional[str] = None, alt_txt: Optional[str] = None, snippet_type: Optional[str] = None, file_uploads: Optional[List[Dict[str, Any]]] = None, channel: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, request_file_info: bool = True, **kwargs) ‑> SlackResponse +def files_upload_v2(self,
*,
filename: str | None = None,
file: str | bytes | io.IOBase | None = None,
content: str | bytes | None = None,
title: str | None = None,
alt_txt: str | None = None,
snippet_type: str | None = None,
file_uploads: List[Dict[str, Any]] | None = None,
channel: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
request_file_info: bool = True,
**kwargs) ‑> SlackResponse

This wrapper method provides an easy way to upload files using the following endpoints:

@@ -7089,7 +7089,7 @@

Methods

Retrieve a thread of messages posted to a direct message conversation

-def migration_exchange(self, *, users: Union[str, Sequence[str]], team_id: Optional[str] = None, to_old: Optional[bool] = None, **kwargs) ‑> SlackResponse +def migration_exchange(self,
*,
users: str | Sequence[str],
team_id: str | None = None,
to_old: bool | None = None,
**kwargs) ‑> SlackResponse

For Enterprise Grid workspaces, map local user IDs to global user IDs @@ -7120,7 +7120,7 @@

Methods

Sets the read cursor in a multiparty direct message channel.

-def mpim_open(self, *, users: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def mpim_open(self, *, users: str | Sequence[str], **kwargs) ‑> SlackResponse

This method opens a multiparty direct message.

@@ -7133,14 +7133,14 @@

Methods

multiparty direct message.

-def oauth_access(self, *, client_id: str, client_secret: str, code: str, redirect_uri: Optional[str] = None, **kwargs) ‑> SlackResponse +def oauth_access(self,
*,
client_id: str,
client_secret: str,
code: str,
redirect_uri: str | None = None,
**kwargs) ‑> SlackResponse

Exchanges a temporary OAuth verifier code for an access token. https://api.slack.com/methods/oauth.access

-def oauth_v2_access(self, *, client_id: str, client_secret: str, code: Optional[str] = None, redirect_uri: Optional[str] = None, grant_type: Optional[str] = None, refresh_token: Optional[str] = None, **kwargs) ‑> SlackResponse +def oauth_v2_access(self,
*,
client_id: str,
client_secret: str,
code: str | None = None,
redirect_uri: str | None = None,
grant_type: str | None = None,
refresh_token: str | None = None,
**kwargs) ‑> SlackResponse

Exchanges a temporary OAuth verifier code for an access token. @@ -7154,7 +7154,7 @@

Methods

https://api.slack.com/methods/oauth.v2.exchange

-def openid_connect_token(self, client_id: str, client_secret: str, code: Optional[str] = None, redirect_uri: Optional[str] = None, grant_type: Optional[str] = None, refresh_token: Optional[str] = None, **kwargs) ‑> SlackResponse +def openid_connect_token(self,
client_id: str,
client_secret: str,
code: str | None = None,
redirect_uri: str | None = None,
grant_type: str | None = None,
refresh_token: str | None = None,
**kwargs) ‑> SlackResponse

Exchanges a temporary OAuth verifier code for an access token for Sign in with Slack. @@ -7168,7 +7168,7 @@

Methods

https://api.slack.com/methods/openid.connect.userInfo

-def pins_add(self, *, channel: str, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def pins_add(self, *, channel: str, timestamp: str | None = None, **kwargs) ‑> SlackResponse

Pins an item to a channel. @@ -7182,7 +7182,7 @@

Methods

https://api.slack.com/methods/pins.list

-def pins_remove(self, *, channel: str, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def pins_remove(self, *, channel: str, timestamp: str | None = None, **kwargs) ‑> SlackResponse

Un-pins an item from a channel. @@ -7196,126 +7196,126 @@

Methods

https://api.slack.com/methods/reactions.add

-def reactions_get(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, full: Optional[bool] = None, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def reactions_get(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
full: bool | None = None,
timestamp: str | None = None,
**kwargs) ‑> SlackResponse
-def reactions_list(self, *, count: Optional[int] = None, cursor: Optional[str] = None, full: Optional[bool] = None, limit: Optional[int] = None, page: Optional[int] = None, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def reactions_list(self,
*,
count: int | None = None,
cursor: str | None = None,
full: bool | None = None,
limit: int | None = None,
page: int | None = None,
team_id: str | None = None,
user: str | None = None,
**kwargs) ‑> SlackResponse

Lists reactions made by a user. https://api.slack.com/methods/reactions.list

-def reactions_remove(self, *, name: str, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def reactions_remove(self,
*,
name: str,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> SlackResponse

Removes a reaction from an item. https://api.slack.com/methods/reactions.remove

-def reminders_add(self, *, text: str, time: str, team_id: Optional[str] = None, user: Optional[str] = None, recurrence: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_add(self,
*,
text: str,
time: str,
team_id: str | None = None,
user: str | None = None,
recurrence: str | None = None,
**kwargs) ‑> SlackResponse
-def reminders_complete(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_complete(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> SlackResponse
-def reminders_delete(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_delete(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> SlackResponse
-def reminders_info(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_info(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

Gets information about a reminder. https://api.slack.com/methods/reminders.info

-def reminders_list(self, *, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_list(self, *, team_id: str | None = None, **kwargs) ‑> SlackResponse

Lists all reminders created by or for a given user. https://api.slack.com/methods/reminders.list

-def rtm_connect(self, *, batch_presence_aware: Optional[bool] = None, presence_sub: Optional[bool] = None, **kwargs) ‑> SlackResponse +def rtm_connect(self,
*,
batch_presence_aware: bool | None = None,
presence_sub: bool | None = None,
**kwargs) ‑> SlackResponse

Starts a Real Time Messaging session. https://api.slack.com/methods/rtm.connect

-def rtm_start(self, *, batch_presence_aware: Optional[bool] = None, include_locale: Optional[bool] = None, mpim_aware: Optional[bool] = None, no_latest: Optional[bool] = None, no_unreads: Optional[bool] = None, presence_sub: Optional[bool] = None, simple_latest: Optional[bool] = None, **kwargs) ‑> SlackResponse +def rtm_start(self,
*,
batch_presence_aware: bool | None = None,
include_locale: bool | None = None,
mpim_aware: bool | None = None,
no_latest: bool | None = None,
no_unreads: bool | None = None,
presence_sub: bool | None = None,
simple_latest: bool | None = None,
**kwargs) ‑> SlackResponse

Starts a Real Time Messaging session. https://api.slack.com/methods/rtm.start

-def search_all(self, *, query: str, count: Optional[int] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def search_all(self,
*,
query: str,
count: int | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Searches for messages and files matching a query. https://api.slack.com/methods/search.all

-def search_files(self, *, query: str, count: Optional[int] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def search_files(self,
*,
query: str,
count: int | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Searches for files matching a query. https://api.slack.com/methods/search.files

-def search_messages(self, *, query: str, count: Optional[int] = None, cursor: Optional[str] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def search_messages(self,
*,
query: str,
count: int | None = None,
cursor: str | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Searches for messages matching a query. https://api.slack.com/methods/search.messages

-def stars_add(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def stars_add(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> SlackResponse
-def stars_list(self, *, count: Optional[int] = None, cursor: Optional[str] = None, limit: Optional[int] = None, page: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def stars_list(self,
*,
count: int | None = None,
cursor: str | None = None,
limit: int | None = None,
page: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def stars_remove(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def stars_remove(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> SlackResponse

Removes a star from an item. https://api.slack.com/methods/stars.remove

-def team_accessLogs(self, *, before: Union[str, int, ForwardRef(None)] = None, count: Union[str, int, ForwardRef(None)] = None, page: Union[str, int, ForwardRef(None)] = None, team_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def team_accessLogs(self,
*,
before: str | int | None = None,
count: str | int | None = None,
page: str | int | None = None,
team_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Gets the access logs for the current team. https://api.slack.com/methods/team.accessLogs

-def team_billableInfo(self, *, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def team_billableInfo(self, *, team_id: str | None = None, user: str | None = None, **kwargs) ‑> SlackResponse

Gets billable users information for the current team. @@ -7336,21 +7336,21 @@

Methods

https://api.slack.com/methods/team.externalTeams.disconnect

-def team_externalTeams_list(self, *, connection_status_filter: Optional[str] = None, slack_connect_pref_filter: Optional[Sequence[str]] = None, sort_direction: Optional[str] = None, sort_field: Optional[str] = None, workspace_filter: Optional[Sequence[str]] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def team_externalTeams_list(self,
*,
connection_status_filter: str | None = None,
slack_connect_pref_filter: Sequence[str] | None = None,
sort_direction: str | None = None,
sort_field: str | None = None,
workspace_filter: Sequence[str] | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Returns a list of all the external teams connected and details about the connection. https://api.slack.com/methods/team.externalTeams.list

-def team_info(self, *, team: Optional[str] = None, domain: Optional[str] = None, **kwargs) ‑> SlackResponse +def team_info(self, *, team: str | None = None, domain: str | None = None, **kwargs) ‑> SlackResponse

Gets information about the current team. https://api.slack.com/methods/team.info

-def team_integrationLogs(self, *, app_id: Optional[str] = None, change_type: Optional[str] = None, count: Union[str, int, ForwardRef(None)] = None, page: Union[str, int, ForwardRef(None)] = None, service_id: Optional[str] = None, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def team_integrationLogs(self,
*,
app_id: str | None = None,
change_type: str | None = None,
count: str | int | None = None,
page: str | int | None = None,
service_id: str | None = None,
team_id: str | None = None,
user: str | None = None,
**kwargs) ‑> SlackResponse

Gets the integration logs for the current team. @@ -7364,7 +7364,7 @@

Methods

https://api.slack.com/methods/team.preferences.list

-def team_profile_get(self, *, visibility: Optional[str] = None, **kwargs) ‑> SlackResponse +def team_profile_get(self, *, visibility: str | None = None, **kwargs) ‑> SlackResponse

Retrieve a team's profile. @@ -7378,56 +7378,56 @@

Methods

https://api.slack.com/methods/tooling.tokens.rotate

-def usergroups_create(self, *, name: str, channels: Union[str, Sequence[str], ForwardRef(None)] = None, description: Optional[str] = None, handle: Optional[str] = None, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_create(self,
*,
name: str,
channels: str | Sequence[str] | None = None,
description: str | None = None,
handle: str | None = None,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_disable(self, *, usergroup: str, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_disable(self,
*,
usergroup: str,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_enable(self, *, usergroup: str, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_enable(self,
*,
usergroup: str,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_list(self, *, include_count: Optional[bool] = None, include_disabled: Optional[bool] = None, include_users: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_list(self,
*,
include_count: bool | None = None,
include_disabled: bool | None = None,
include_users: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List all User Groups for a team https://api.slack.com/methods/usergroups.list

-def usergroups_update(self, *, usergroup: str, channels: Union[str, Sequence[str], ForwardRef(None)] = None, description: Optional[str] = None, handle: Optional[str] = None, include_count: Optional[bool] = None, name: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_update(self,
*,
usergroup: str,
channels: str | Sequence[str] | None = None,
description: str | None = None,
handle: str | None = None,
include_count: bool | None = None,
name: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_users_list(self, *, usergroup: str, include_disabled: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_users_list(self,
*,
usergroup: str,
include_disabled: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_users_update(self, *, usergroup: str, users: Union[str, Sequence[str]], include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_users_update(self,
*,
usergroup: str,
users: str | Sequence[str],
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Update the list of users for a User Group https://api.slack.com/methods/usergroups.users.update

-def users_conversations(self, *, cursor: Optional[str] = None, exclude_archived: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def users_conversations(self,
*,
cursor: str | None = None,
exclude_archived: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
types: str | Sequence[str] | None = None,
user: str | None = None,
**kwargs) ‑> SlackResponse

List conversations the calling user may access. @@ -7462,14 +7462,14 @@

Methods

https://api.slack.com/methods/users.identity

-def users_info(self, *, user: str, include_locale: Optional[bool] = None, **kwargs) ‑> SlackResponse +def users_info(self, *, user: str, include_locale: bool | None = None, **kwargs) ‑> SlackResponse

Gets information about a user. https://api.slack.com/methods/users.info

-def users_list(self, *, cursor: Optional[str] = None, include_locale: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def users_list(self,
*,
cursor: str | None = None,
include_locale: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Lists all users in a Slack team. @@ -7483,21 +7483,21 @@

Methods

https://api.slack.com/methods/users.lookupByEmail

-def users_profile_get(self, *, user: Optional[str] = None, include_labels: Optional[bool] = None, **kwargs) ‑> SlackResponse +def users_profile_get(self, *, user: str | None = None, include_labels: bool | None = None, **kwargs) ‑> SlackResponse

Retrieves a user's profile information. https://api.slack.com/methods/users.profile.get

-def users_profile_set(self, *, name: Optional[str] = None, value: Optional[str] = None, user: Optional[str] = None, profile: Optional[Dict] = None, **kwargs) ‑> SlackResponse +def users_profile_set(self,
*,
name: str | None = None,
value: str | None = None,
user: str | None = None,
profile: Dict | None = None,
**kwargs) ‑> SlackResponse

Set the profile information for a user. https://api.slack.com/methods/users.profile.set

-def users_setPhoto(self, *, image: Union[str, io.IOBase], crop_w: Union[str, int, ForwardRef(None)] = None, crop_x: Union[str, int, ForwardRef(None)] = None, crop_y: Union[str, int, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def users_setPhoto(self,
*,
image: str | io.IOBase,
crop_w: str | int | None = None,
crop_x: str | int | None = None,
crop_y: str | int | None = None,
**kwargs) ‑> SlackResponse

Set the user profile photo @@ -7511,7 +7511,7 @@

Methods

https://api.slack.com/methods/users.setPresence

-def views_open(self, *, trigger_id: Optional[str] = None, interactivity_pointer: Optional[str] = None, view: Union[dict, View], **kwargs) ‑> SlackResponse +def views_open(self,
*,
trigger_id: str | None = None,
interactivity_pointer: str | None = None,
view: dict | View,
**kwargs) ‑> SlackResponse

Open a view for a user. @@ -7519,7 +7519,7 @@

Methods

See https://api.slack.com/surfaces/modals for details.

-def views_publish(self, *, user_id: str, view: Union[dict, View], hash: Optional[str] = None, **kwargs) ‑> SlackResponse +def views_publish(self,
*,
user_id: str,
view: dict | View,
hash: str | None = None,
**kwargs) ‑> SlackResponse

Publish a static view for a User. @@ -7528,7 +7528,7 @@

Methods

https://api.slack.com/methods/views.publish

-def views_push(self, *, trigger_id: Optional[str] = None, interactivity_pointer: Optional[str] = None, view: Union[dict, View], **kwargs) ‑> SlackResponse +def views_push(self,
*,
trigger_id: str | None = None,
interactivity_pointer: str | None = None,
view: dict | View,
**kwargs) ‑> SlackResponse

Push a view onto the stack of a root view. @@ -7540,7 +7540,7 @@

Methods

https://api.slack.com/methods/views.push

-def views_update(self, *, view: Union[dict, View], external_id: Optional[str] = None, view_id: Optional[str] = None, hash: Optional[str] = None, **kwargs) ‑> SlackResponse +def views_update(self,
*,
view: dict | View,
external_id: str | None = None,
view_id: str | None = None,
hash: str | None = None,
**kwargs) ‑> SlackResponse

Update an existing view. @@ -7551,7 +7551,7 @@

Methods

https://api.slack.com/methods/views.update

-def workflows_stepCompleted(self, *, workflow_step_execute_id: str, outputs: Optional[dict] = None, **kwargs) ‑> SlackResponse +def workflows_stepCompleted(self, *, workflow_step_execute_id: str, outputs: dict | None = None, **kwargs) ‑> SlackResponse

Indicate a successful outcome of a workflow step's execution. @@ -7565,7 +7565,7 @@

Methods

https://api.slack.com/methods/workflows.stepFailed

-def workflows_updateStep(self, *, workflow_step_edit_id: str, inputs: Optional[Dict[str, Any]] = None, outputs: Optional[List[Dict[str, str]]] = None, **kwargs) ‑> SlackResponse +def workflows_updateStep(self,
*,
workflow_step_edit_id: str,
inputs: Dict[str, Any] | None = None,
outputs: List[Dict[str, str]] | None = None,
**kwargs) ‑> SlackResponse

Update the configuration for a workflow extension step. @@ -7909,7 +7909,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/web/deprecation.html b/docs/static/api-docs/slack_sdk/web/deprecation.html index 8e3a6079..a6a3486f 100644 --- a/docs/static/api-docs/slack_sdk/web/deprecation.html +++ b/docs/static/api-docs/slack_sdk/web/deprecation.html @@ -3,13 +3,13 @@ - + slack_sdk.web.deprecation API documentation - + @@ -63,7 +63,7 @@

Functions

diff --git a/docs/static/api-docs/slack_sdk/web/file_upload_v2_result.html b/docs/static/api-docs/slack_sdk/web/file_upload_v2_result.html index ddd6f15f..eb12cea9 100644 --- a/docs/static/api-docs/slack_sdk/web/file_upload_v2_result.html +++ b/docs/static/api-docs/slack_sdk/web/file_upload_v2_result.html @@ -3,13 +3,13 @@ - + slack_sdk.web.file_upload_v2_result API documentation - + @@ -93,7 +93,7 @@

diff --git a/docs/static/api-docs/slack_sdk/web/index.html b/docs/static/api-docs/slack_sdk/web/index.html index ecea0175..fc2cbcff 100644 --- a/docs/static/api-docs/slack_sdk/web/index.html +++ b/docs/static/api-docs/slack_sdk/web/index.html @@ -3,14 +3,14 @@ - + slack_sdk.web API documentation - + @@ -95,7 +95,7 @@

Classes

class SlackResponse -(*, client, http_verb: str, api_url: str, req_args: dict, data: Union[dict, bytes], headers: dict, status_code: int) +(*,
client,
http_verb: str,
api_url: str,
req_args: dict,
data: dict | bytes,
headers: dict,
status_code: int)

An iterable container of response data.

@@ -361,7 +361,7 @@

Raises

class WebClient -(token: Optional[str] = None, base_url: str = 'https://slack.com/api/', timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, headers: Optional[dict] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, team_id: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[RetryHandler]] = None) +(token: str | None = None,
base_url: str = 'https://slack.com/api/',
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
headers: dict | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
team_id: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[RetryHandler] | None = None)

A WebClient allows apps to communicate with the Slack Platform's Web API.

@@ -5831,21 +5831,21 @@

Ancestors

Methods

-def admin_analytics_getFile(self, *, type: str, date: Optional[str] = None, metadata_only: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_analytics_getFile(self,
*,
type: str,
date: str | None = None,
metadata_only: bool | None = None,
**kwargs) ‑> SlackResponse

Retrieve analytics data for a given date, presented as a compressed JSON file https://api.slack.com/methods/admin.analytics.getFile

-def admin_apps_activities_list(self, *, app_id: Optional[str] = None, component_id: Optional[str] = None, component_type: Optional[str] = None, log_event_type: Optional[str] = None, max_date_created: Optional[int] = None, min_date_created: Optional[int] = None, min_log_level: Optional[str] = None, sort_direction: Optional[str] = None, source: Optional[str] = None, team_id: Optional[str] = None, trace_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_apps_activities_list(self,
*,
app_id: str | None = None,
component_id: str | None = None,
component_type: str | None = None,
log_event_type: str | None = None,
max_date_created: int | None = None,
min_date_created: int | None = None,
min_log_level: str | None = None,
sort_direction: str | None = None,
source: str | None = None,
team_id: str | None = None,
trace_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse
-def admin_apps_approve(self, *, app_id: Optional[str] = None, request_id: Optional[str] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_approve(self,
*,
app_id: str | None = None,
request_id: str | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Approve an app for installation on a workspace. @@ -5855,49 +5855,49 @@

Methods

https://api.slack.com/methods/admin.apps.approve

-def admin_apps_approved_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_approved_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List approved apps for an org or workspace. https://api.slack.com/methods/admin.apps.approved.list

-def admin_apps_clearResolution(self, *, app_id: str, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_clearResolution(self,
*,
app_id: str,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def admin_apps_config_lookup(self, *, app_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_apps_config_lookup(self, *, app_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Look up the app config for connectors by their IDs https://api.slack.com/methods/admin.apps.config.lookup

-def admin_apps_config_set(self, *, app_id: str, domain_restrictions: Optional[Dict[str, Any]] = None, workflow_auth_strategy: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_config_set(self,
*,
app_id: str,
domain_restrictions: Dict[str, Any] | None = None,
workflow_auth_strategy: str | None = None,
**kwargs) ‑> SlackResponse

Set the app config for a connector https://api.slack.com/methods/admin.apps.config.set

-def admin_apps_requests_cancel(self, *, request_id: str, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_requests_cancel(self,
*,
request_id: str,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List app requests for a team/workspace. https://api.slack.com/methods/admin.apps.requests.cancel

-def admin_apps_requests_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_requests_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List app requests for a team/workspace. https://api.slack.com/methods/admin.apps.requests.list

-def admin_apps_restrict(self, *, app_id: Optional[str] = None, request_id: Optional[str] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_restrict(self,
*,
app_id: str | None = None,
request_id: str | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Restrict an app for installation on a workspace. @@ -5907,14 +5907,14 @@

Methods

https://api.slack.com/methods/admin.apps.restrict

-def admin_apps_restricted_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_apps_restricted_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List restricted apps for an org or workspace. https://api.slack.com/methods/admin.apps.restricted.list

-def admin_apps_uninstall(self, *, app_id: str, enterprise_id: Optional[str] = None, team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_apps_uninstall(self,
*,
app_id: str,
enterprise_id: str | None = None,
team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Uninstall an app from one or many workspaces, or an entire enterprise organization. @@ -5922,28 +5922,28 @@

Methods

https://api.slack.com/methods/admin.apps.uninstall

-def admin_auth_policy_assignEntities(self, *, entity_ids: Union[str, Sequence[str]], policy_name: str, entity_type: str, **kwargs) ‑> SlackResponse +def admin_auth_policy_assignEntities(self,
*,
entity_ids: str | Sequence[str],
policy_name: str,
entity_type: str,
**kwargs) ‑> SlackResponse

Assign entities to a particular authentication policy. https://api.slack.com/methods/admin.auth.policy.assignEntities

-def admin_auth_policy_getEntities(self, *, policy_name: str, cursor: Optional[str] = None, entity_type: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_auth_policy_getEntities(self,
*,
policy_name: str,
cursor: str | None = None,
entity_type: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Fetch all the entities assigned to a particular authentication policy by name. https://api.slack.com/methods/admin.auth.policy.getEntities

-def admin_auth_policy_removeEntities(self, *, entity_ids: Union[str, Sequence[str]], policy_name: str, entity_type: str, **kwargs) ‑> SlackResponse +def admin_auth_policy_removeEntities(self,
*,
entity_ids: str | Sequence[str],
policy_name: str,
entity_type: str,
**kwargs) ‑> SlackResponse

Remove specified entities from a specified authentication policy. https://api.slack.com/methods/admin.auth.policy.removeEntities

-def admin_barriers_create(self, *, barriered_from_usergroup_ids: Union[str, Sequence[str]], primary_usergroup_id: str, restricted_subjects: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_barriers_create(self,
*,
barriered_from_usergroup_ids: str | Sequence[str],
primary_usergroup_id: str,
restricted_subjects: str | Sequence[str],
**kwargs) ‑> SlackResponse

Create an Information Barrier @@ -5957,14 +5957,14 @@

Methods

https://api.slack.com/methods/admin.barriers.delete

-def admin_barriers_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_barriers_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

Get all Information Barriers for your organization https://api.slack.com/methods/admin.barriers.list

-def admin_barriers_update(self, *, barrier_id: str, barriered_from_usergroup_ids: Union[str, Sequence[str]], primary_usergroup_id: str, restricted_subjects: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_barriers_update(self,
*,
barrier_id: str,
barriered_from_usergroup_ids: str | Sequence[str],
primary_usergroup_id: str,
restricted_subjects: str | Sequence[str],
**kwargs) ‑> SlackResponse

Update an existing Information Barrier @@ -5978,21 +5978,21 @@

Methods

https://api.slack.com/methods/admin.conversations.archive

-def admin_conversations_bulkArchive(self, *, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_conversations_bulkArchive(self, *, channel_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Archive public or private channels in bulk. https://api.slack.com/methods/admin.conversations.bulkArchive

-def admin_conversations_bulkDelete(self, *, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_conversations_bulkDelete(self, *, channel_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Delete public or private channels in bulk. https://slack.com/api/admin.conversations.bulkDelete

-def admin_conversations_bulkMove(self, *, channel_ids: Union[str, Sequence[str]], target_team_id: str, **kwargs) ‑> SlackResponse +def admin_conversations_bulkMove(self, *, channel_ids: str | Sequence[str], target_team_id: str, **kwargs) ‑> SlackResponse

Move public or private channels in bulk. @@ -6013,7 +6013,7 @@

Methods

https://api.slack.com/methods/admin.conversations.convertToPublic

-def admin_conversations_create(self, *, is_private: bool, name: str, description: Optional[str] = None, org_wide: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_conversations_create(self,
*,
is_private: bool,
name: str,
description: str | None = None,
org_wide: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Create a public or private channel-based conversation. @@ -6027,14 +6027,14 @@

Methods

https://api.slack.com/methods/admin.conversations.delete

-def admin_conversations_disconnectShared(self, *, channel_id: str, leaving_team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_conversations_disconnectShared(self,
*,
channel_id: str,
leaving_team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Disconnect a connected channel from one or more workspaces. https://api.slack.com/methods/admin.conversations.disconnectShared

-def admin_conversations_ekm_listOriginalConnectedChannelInfo(self, *, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, cursor: Optional[str] = None, limit: Optional[int] = None, team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_conversations_ekm_listOriginalConnectedChannelInfo(self,
*,
channel_ids: str | Sequence[str] | None = None,
cursor: str | None = None,
limit: int | None = None,
team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

List all disconnected channels—i.e., @@ -6057,21 +6057,21 @@

Methods

https://api.slack.com/methods/admin.conversations.getCustomRetention

-def admin_conversations_getTeams(self, *, channel_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_conversations_getTeams(self,
*,
channel_id: str,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Set the workspaces in an Enterprise grid org that connect to a channel. https://api.slack.com/methods/admin.conversations.getTeams

-def admin_conversations_invite(self, *, channel_id: str, user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_conversations_invite(self, *, channel_id: str, user_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Invite a user to a public or private channel. https://api.slack.com/methods/admin.conversations.invite

-def admin_conversations_lookup(self, *, last_message_activity_before: int, team_ids: Union[str, Sequence[str]], cursor: Optional[str] = None, limit: Optional[int] = None, max_member_count: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_conversations_lookup(self,
*,
last_message_activity_before: int,
team_ids: str | Sequence[str],
cursor: str | None = None,
limit: int | None = None,
max_member_count: int | None = None,
**kwargs) ‑> SlackResponse

Returns channels on the given team using the filters. @@ -6092,14 +6092,14 @@

Methods

https://api.slack.com/methods/admin.conversations.rename

-def admin_conversations_restrictAccess_addGroup(self, *, channel_id: str, group_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_conversations_restrictAccess_addGroup(self, *, channel_id: str, group_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

Add an allowlist of IDP groups for accessing a channel. https://api.slack.com/methods/admin.conversations.restrictAccess.addGroup

-def admin_conversations_restrictAccess_listGroups(self, *, channel_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_conversations_restrictAccess_listGroups(self, *, channel_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

List all IDP Groups linked to a channel. @@ -6113,14 +6113,14 @@

Methods

https://api.slack.com/methods/admin.conversations.restrictAccess.removeGroup

Search for public or private channels in an Enterprise organization. https://api.slack.com/methods/admin.conversations.search

-def admin_conversations_setConversationPrefs(self, *, channel_id: str, prefs: Union[str, Dict[str, str]], **kwargs) ‑> SlackResponse +def admin_conversations_setConversationPrefs(self, *, channel_id: str, prefs: str | Dict[str, str], **kwargs) ‑> SlackResponse

Set the posting permissions for a public or private channel. @@ -6134,7 +6134,7 @@

Methods

https://api.slack.com/methods/admin.conversations.setCustomRetention

-def admin_conversations_setTeams(self, *, channel_id: str, org_channel: Optional[bool] = None, target_team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_conversations_setTeams(self,
*,
channel_id: str,
org_channel: bool | None = None,
target_team_ids: str | Sequence[str] | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Set the workspaces in an Enterprise grid org that connect to a public or private channel. @@ -6162,7 +6162,7 @@

Methods

https://api.slack.com/methods/admin.emoji.addAlias

-def admin_emoji_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_emoji_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

List emoji for an Enterprise Grid organization. @@ -6183,14 +6183,14 @@

Methods

https://api.slack.com/methods/admin.emoji.rename

-def admin_functions_list(self, *, app_ids: Union[str, Sequence[str]], team_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_functions_list(self,
*,
app_ids: str | Sequence[str],
team_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Look up functions by a set of apps https://api.slack.com/methods/admin.functions.list

-def admin_functions_permissions_lookup(self, *, function_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_functions_permissions_lookup(self, *, function_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Lookup the visibility of multiple Slack functions @@ -6198,7 +6198,7 @@

Methods

https://api.slack.com/methods/admin.functions.permissions.lookup

-def admin_functions_permissions_set(self, *, function_id: str, visibility: str, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_functions_permissions_set(self,
*,
function_id: str,
visibility: str,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Set the visibility of a Slack function @@ -6206,28 +6206,28 @@

Methods

https://api.slack.com/methods/admin.functions.permissions.set

-def admin_inviteRequests_approve(self, *, invite_request_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_inviteRequests_approve(self, *, invite_request_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse
-def admin_inviteRequests_approved_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_inviteRequests_approved_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List all approved workspace invite requests. https://api.slack.com/methods/admin.inviteRequests.approved.list

-def admin_inviteRequests_denied_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_inviteRequests_denied_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List all denied workspace invite requests. https://api.slack.com/methods/admin.inviteRequests.denied.list

-def admin_inviteRequests_deny(self, *, invite_request_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_inviteRequests_deny(self, *, invite_request_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

Deny a workspace invite request. @@ -6240,14 +6240,14 @@

Methods

List all pending workspace invite requests.

-def admin_roles_addAssignments(self, *, role_id: str, entity_ids: Union[str, Sequence[str]], user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_roles_addAssignments(self,
*,
role_id: str,
entity_ids: str | Sequence[str],
user_ids: str | Sequence[str],
**kwargs) ‑> SlackResponse

Adds members to the specified role with the specified scopes https://api.slack.com/methods/admin.roles.addAssignments

-def admin_roles_listAssignments(self, *, role_ids: Union[str, Sequence[str], ForwardRef(None)] = None, entity_ids: Union[str, Sequence[str], ForwardRef(None)] = None, cursor: Optional[str] = None, limit: Union[str, int, ForwardRef(None)] = None, sort_dir: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_roles_listAssignments(self,
*,
role_ids: str | Sequence[str] | None = None,
entity_ids: str | Sequence[str] | None = None,
cursor: str | None = None,
limit: str | int | None = None,
sort_dir: str | None = None,
**kwargs) ‑> SlackResponse

Lists assignments for all roles across entities. @@ -6255,35 +6255,35 @@

Methods

https://api.slack.com/methods/admin.roles.listAssignments

-def admin_roles_removeAssignments(self, *, role_id: str, entity_ids: Union[str, Sequence[str]], user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_roles_removeAssignments(self,
*,
role_id: str,
entity_ids: str | Sequence[str],
user_ids: str | Sequence[str],
**kwargs) ‑> SlackResponse

Removes a set of users from a role for the given scopes and entities https://api.slack.com/methods/admin.roles.removeAssignments

-def admin_teams_admins_list(self, *, team_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_teams_admins_list(self, *, team_id: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

List all of the admins on a given workspace. https://api.slack.com/methods/admin.inviteRequests.list

-def admin_teams_create(self, *, team_domain: str, team_name: str, team_description: Optional[str] = None, team_discoverability: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_teams_create(self,
*,
team_domain: str,
team_name: str,
team_description: str | None = None,
team_discoverability: str | None = None,
**kwargs) ‑> SlackResponse
-def admin_teams_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_teams_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

List all teams on an Enterprise organization. https://api.slack.com/methods/admin.teams.list

-def admin_teams_owners_list(self, *, team_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_teams_owners_list(self, *, team_id: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

List all of the admins on a given workspace. @@ -6297,7 +6297,7 @@

Methods

https://api.slack.com/methods/admin.teams.settings.info

-def admin_teams_settings_setDefaultChannels(self, *, team_id: str, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_teams_settings_setDefaultChannels(self, *, team_id: str, channel_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Set the default channels of a workspace. @@ -6332,49 +6332,49 @@

Methods

https://api.slack.com/methods/admin.teams.settings.setName

-def admin_usergroups_addChannels(self, *, channel_ids: Union[str, Sequence[str]], usergroup_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_usergroups_addChannels(self,
*,
channel_ids: str | Sequence[str],
usergroup_id: str,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.addChannels

-def admin_usergroups_addTeams(self, *, usergroup_id: str, team_ids: Union[str, Sequence[str]], auto_provision: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_usergroups_addTeams(self,
*,
usergroup_id: str,
team_ids: str | Sequence[str],
auto_provision: bool | None = None,
**kwargs) ‑> SlackResponse

Associate one or more default workspaces with an organization-wide IDP group. https://api.slack.com/methods/admin.usergroups.addTeams

-def admin_usergroups_listChannels(self, *, usergroup_id: str, include_num_members: Optional[bool] = None, team_id: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_usergroups_listChannels(self,
*,
usergroup_id: str,
include_num_members: bool | None = None,
team_id: bool | None = None,
**kwargs) ‑> SlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.listChannels

-def admin_usergroups_removeChannels(self, *, usergroup_id: str, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_usergroups_removeChannels(self, *, usergroup_id: str, channel_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.removeChannels

-def admin_users_assign(self, *, team_id: str, user_id: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, is_restricted: Optional[bool] = None, is_ultra_restricted: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_users_assign(self,
*,
team_id: str,
user_id: str,
channel_ids: str | Sequence[str] | None = None,
is_restricted: bool | None = None,
is_ultra_restricted: bool | None = None,
**kwargs) ‑> SlackResponse

Add an Enterprise user to a workspace. https://api.slack.com/methods/admin.users.assign

-def admin_users_invite(self, *, team_id: str, email: str, channel_ids: Union[str, Sequence[str]], custom_message: Optional[str] = None, email_password_policy_enabled: Optional[bool] = None, guest_expiration_ts: Union[str, float, ForwardRef(None)] = None, is_restricted: Optional[bool] = None, is_ultra_restricted: Optional[bool] = None, real_name: Optional[str] = None, resend: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_users_invite(self,
*,
team_id: str,
email: str,
channel_ids: str | Sequence[str],
custom_message: str | None = None,
email_password_policy_enabled: bool | None = None,
guest_expiration_ts: str | float | None = None,
is_restricted: bool | None = None,
is_ultra_restricted: bool | None = None,
real_name: str | None = None,
resend: bool | None = None,
**kwargs) ‑> SlackResponse
-def admin_users_list(self, *, team_id: str, include_deactivated_user_workspaces: Optional[bool] = None, is_active: Optional[bool] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_users_list(self,
*,
team_id: str,
include_deactivated_user_workspaces: bool | None = None,
is_active: bool | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

List users on a workspace @@ -6388,7 +6388,7 @@

Methods

https://api.slack.com/methods/admin.users.remove

-def admin_users_session_clearSettings(self, *, user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_users_session_clearSettings(self, *, user_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Clear user-specific session settings—the session duration @@ -6396,7 +6396,7 @@

Methods

https://api.slack.com/methods/admin.users.session.clearSettings

-def admin_users_session_getSettings(self, *, user_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_users_session_getSettings(self, *, user_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Get user-specific session settings—the session duration @@ -6411,28 +6411,28 @@

Methods

https://api.slack.com/methods/admin.users.session.invalidate

-def admin_users_session_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, user_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_users_session_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
user_id: str | None = None,
**kwargs) ‑> SlackResponse

Lists all active user sessions for an organization https://api.slack.com/methods/admin.users.session.list

-def admin_users_session_reset(self, *, user_id: str, mobile_only: Optional[bool] = None, web_only: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_users_session_reset(self,
*,
user_id: str,
mobile_only: bool | None = None,
web_only: bool | None = None,
**kwargs) ‑> SlackResponse

Wipes all valid sessions on all devices for a given user. https://api.slack.com/methods/admin.users.session.reset

-def admin_users_session_resetBulk(self, *, user_ids: Union[str, Sequence[str]], mobile_only: Optional[bool] = None, web_only: Optional[bool] = None, **kwargs) ‑> SlackResponse +def admin_users_session_resetBulk(self,
*,
user_ids: str | Sequence[str],
mobile_only: bool | None = None,
web_only: bool | None = None,
**kwargs) ‑> SlackResponse

Enqueues an asynchronous job to wipe all valid sessions on all devices for a given list of users https://api.slack.com/methods/admin.users.session.resetBulk

-def admin_users_session_setSettings(self, *, user_ids: Union[str, Sequence[str]], desktop_app_browser_quit: Optional[bool] = None, duration: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_users_session_setSettings(self,
*,
user_ids: str | Sequence[str],
desktop_app_browser_quit: bool | None = None,
duration: int | None = None,
**kwargs) ‑> SlackResponse

Configure the user-level session settings—the session duration @@ -6447,7 +6447,7 @@

Methods

https://api.slack.com/methods/admin.users.setAdmin

-def admin_users_setExpiration(self, *, expiration_ts: int, user_id: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def admin_users_setExpiration(self, *, expiration_ts: int, user_id: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

Set an expiration for a guest user. @@ -6468,7 +6468,7 @@

Methods

https://api.slack.com/methods/admin.users.setRegular

-def admin_users_unsupportedVersions_export(self, *, date_end_of_support: Union[str, int, ForwardRef(None)] = None, date_sessions_started: Union[str, int, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def admin_users_unsupportedVersions_export(self,
*,
date_end_of_support: str | int | None = None,
date_sessions_started: str | int | None = None,
**kwargs) ‑> SlackResponse

Ask Slackbot to send you an export listing all workspace members using unsupported software, @@ -6476,42 +6476,42 @@

Methods

https://api.slack.com/methods/admin.users.unsupportedVersions.export

-def admin_workflows_collaborators_add(self, *, collaborator_ids: Union[str, Sequence[str]], workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_workflows_collaborators_add(self,
*,
collaborator_ids: str | Sequence[str],
workflow_ids: str | Sequence[str],
**kwargs) ‑> SlackResponse

Add collaborators to workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.collaborators.add

-def admin_workflows_collaborators_remove(self, *, collaborator_ids: Union[str, Sequence[str]], workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_workflows_collaborators_remove(self,
*,
collaborator_ids: str | Sequence[str],
workflow_ids: str | Sequence[str],
**kwargs) ‑> SlackResponse

Remove collaborators from workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.collaborators.remove

-def admin_workflows_permissions_lookup(self, *, workflow_ids: Union[str, Sequence[str]], max_workflow_triggers: Optional[int] = None, **kwargs) ‑> SlackResponse +def admin_workflows_permissions_lookup(self,
*,
workflow_ids: str | Sequence[str],
max_workflow_triggers: int | None = None,
**kwargs) ‑> SlackResponse

Look up the permissions for a set of workflows https://api.slack.com/methods/admin.workflows.permissions.lookup

Search workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.search

-def admin_workflows_unpublish(self, *, workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def admin_workflows_unpublish(self, *, workflow_ids: str | Sequence[str], **kwargs) ‑> SlackResponse

Unpublish workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.unpublish

-def api_test(self, *, error: Optional[str] = None, **kwargs) ‑> SlackResponse +def api_test(self, *, error: str | None = None, **kwargs) ‑> SlackResponse

Checks API calling code. @@ -6526,7 +6526,7 @@

Methods

https://api.slack.com/methods/apps.connections.open

-def apps_event_authorizations_list(self, *, event_context: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def apps_event_authorizations_list(self,
*,
event_context: str,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Get a list of authorizations for the given event context. @@ -6534,7 +6534,7 @@

Methods

https://api.slack.com/methods/apps.event.authorizations.list

-def apps_manifest_create(self, *, manifest: Union[str, Dict[str, Any]], **kwargs) ‑> SlackResponse +def apps_manifest_create(self, *, manifest: str | Dict[str, Any], **kwargs) ‑> SlackResponse

Create an app from an app manifest @@ -6555,14 +6555,14 @@

Methods

https://api.slack.com/methods/apps.manifest.export

-def apps_manifest_update(self, *, app_id: str, manifest: Union[str, Dict[str, Any]], **kwargs) ‑> SlackResponse +def apps_manifest_update(self, *, app_id: str, manifest: str | Dict[str, Any], **kwargs) ‑> SlackResponse

Update an app from an app manifest https://api.slack.com/methods/apps.manifest.update

-def apps_manifest_validate(self, *, manifest: Union[str, Dict[str, Any]], app_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def apps_manifest_validate(self, *, manifest: str | Dict[str, Any], app_id: str | None = None, **kwargs) ‑> SlackResponse

Validate an app manifest @@ -6583,7 +6583,7 @@

Methods

https://api.slack.com/methods/assistant.threads.setStatus

-def assistant_threads_setSuggestedPrompts(self, *, channel_id: str, thread_ts: str, title: Optional[str] = None, prompts: List[Dict[str, str]], **kwargs) ‑> SlackResponse +def assistant_threads_setSuggestedPrompts(self,
*,
channel_id: str,
thread_ts: str,
title: str | None = None,
prompts: List[Dict[str, str]],
**kwargs) ‑> SlackResponse

Revokes a token. @@ -6597,14 +6597,14 @@

Methods

https://api.slack.com/methods/assistant.threads.setTitle

-def auth_revoke(self, *, test: Optional[bool] = None, **kwargs) ‑> SlackResponse +def auth_revoke(self, *, test: bool | None = None, **kwargs) ‑> SlackResponse
-def auth_teams_list(self, cursor: Optional[str] = None, limit: Optional[int] = None, include_icon: Optional[bool] = None, **kwargs) ‑> SlackResponse +def auth_teams_list(self,
cursor: str | None = None,
limit: int | None = None,
include_icon: bool | None = None,
**kwargs) ‑> SlackResponse

List the workspaces a token can access. @@ -6618,14 +6618,14 @@

Methods

https://api.slack.com/methods/auth.test

-def bookmarks_add(self, *, channel_id: str, title: str, type: str, emoji: Optional[str] = None, entity_id: Optional[str] = None, link: Optional[str] = None, parent_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def bookmarks_add(self,
*,
channel_id: str,
title: str,
type: str,
emoji: str | None = None,
entity_id: str | None = None,
link: str | None = None,
parent_id: str | None = None,
**kwargs) ‑> SlackResponse
-def bookmarks_edit(self, *, bookmark_id: str, channel_id: str, emoji: Optional[str] = None, link: Optional[str] = None, title: Optional[str] = None, **kwargs) ‑> SlackResponse +def bookmarks_edit(self,
*,
bookmark_id: str,
channel_id: str,
emoji: str | None = None,
link: str | None = None,
title: str | None = None,
**kwargs) ‑> SlackResponse

Edit bookmark. @@ -6646,21 +6646,21 @@

Methods

https://api.slack.com/methods/bookmarks.remove

-def bots_info(self, *, bot: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def bots_info(self, *, bot: str | None = None, team_id: str | None = None, **kwargs) ‑> SlackResponse

Gets information about a bot user. https://api.slack.com/methods/bots.info

-def calls_add(self, *, external_unique_id: str, join_url: str, created_by: Optional[str] = None, date_start: Optional[int] = None, desktop_app_join_url: Optional[str] = None, external_display_id: Optional[str] = None, title: Optional[str] = None, users: Union[str, Sequence[Dict[str, str]], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def calls_add(self,
*,
external_unique_id: str,
join_url: str,
created_by: str | None = None,
date_start: int | None = None,
desktop_app_join_url: str | None = None,
external_display_id: str | None = None,
title: str | None = None,
users: str | Sequence[Dict[str, str]] | None = None,
**kwargs) ‑> SlackResponse
-def calls_end(self, *, id: str, duration: Optional[int] = None, **kwargs) ‑> SlackResponse +def calls_end(self, *, id: str, duration: int | None = None, **kwargs) ‑> SlackResponse

Ends a Call. @@ -6674,42 +6674,42 @@

Methods

https://api.slack.com/methods/calls.info

-def calls_participants_add(self, *, id: str, users: Union[str, Sequence[Dict[str, str]]], **kwargs) ‑> SlackResponse +def calls_participants_add(self, *, id: str, users: str | Sequence[Dict[str, str]], **kwargs) ‑> SlackResponse

Registers new participants added to a Call. https://api.slack.com/methods/calls.participants.add

-def calls_participants_remove(self, *, id: str, users: Union[str, Sequence[Dict[str, str]]], **kwargs) ‑> SlackResponse +def calls_participants_remove(self, *, id: str, users: str | Sequence[Dict[str, str]], **kwargs) ‑> SlackResponse

Registers participants removed from a Call. https://api.slack.com/methods/calls.participants.remove

-def calls_update(self, *, id: str, desktop_app_join_url: Optional[str] = None, join_url: Optional[str] = None, title: Optional[str] = None, **kwargs) ‑> SlackResponse +def calls_update(self,
*,
id: str,
desktop_app_join_url: str | None = None,
join_url: str | None = None,
title: str | None = None,
**kwargs) ‑> SlackResponse

Updates information about a Call. https://api.slack.com/methods/calls.update

-def canvases_access_delete(self, *, canvas_id: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def canvases_access_delete(self,
*,
canvas_id: str,
channel_ids: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Create a Channel Canvas for a channel https://api.slack.com/methods/canvases.access.delete

-def canvases_access_set(self, *, canvas_id: str, access_level: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def canvases_access_set(self,
*,
canvas_id: str,
access_level: str,
channel_ids: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Sets the access level to a canvas for specified entities https://api.slack.com/methods/canvases.access.set

-def canvases_create(self, *, title: Optional[str] = None, document_content: Dict[str, str], **kwargs) ‑> SlackResponse +def canvases_create(self, *, title: str | None = None, document_content: Dict[str, str], **kwargs) ‑> SlackResponse

Create Canvas for a user @@ -6827,14 +6827,14 @@

Methods

Unarchives a channel.

-def chat_delete(self, *, channel: str, ts: str, as_user: Optional[bool] = None, **kwargs) ‑> SlackResponse +def chat_delete(self, *, channel: str, ts: str, as_user: bool | None = None, **kwargs) ‑> SlackResponse
-def chat_deleteScheduledMessage(self, *, channel: str, scheduled_message_id: str, as_user: Optional[bool] = None, **kwargs) ‑> SlackResponse +def chat_deleteScheduledMessage(self,
*,
channel: str,
scheduled_message_id: str,
as_user: bool | None = None,
**kwargs) ‑> SlackResponse

Deletes a scheduled message. @@ -6855,56 +6855,56 @@

Methods

https://api.slack.com/methods/chat.meMessage

-def chat_postEphemeral(self, *, channel: str, user: str, text: Optional[str] = None, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, icon_emoji: Optional[str] = None, icon_url: Optional[str] = None, link_names: Optional[bool] = None, username: Optional[str] = None, parse: Optional[str] = None, **kwargs) ‑> SlackResponse +def chat_postEphemeral(self,
*,
channel: str,
user: str,
text: str | None = None,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
icon_emoji: str | None = None,
icon_url: str | None = None,
link_names: bool | None = None,
username: str | None = None,
parse: str | None = None,
**kwargs) ‑> SlackResponse

Sends an ephemeral message to a user in a channel. https://api.slack.com/methods/chat.postEphemeral

-def chat_postMessage(self, *, channel: str, text: Optional[str] = None, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, reply_broadcast: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, container_id: Optional[str] = None, icon_emoji: Optional[str] = None, icon_url: Optional[str] = None, mrkdwn: Optional[bool] = None, link_names: Optional[bool] = None, username: Optional[str] = None, parse: Optional[str] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def chat_postMessage(self,
*,
channel: str,
text: str | None = None,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
reply_broadcast: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
container_id: str | None = None,
icon_emoji: str | None = None,
icon_url: str | None = None,
mrkdwn: bool | None = None,
link_names: bool | None = None,
username: str | None = None,
parse: str | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> SlackResponse
-def chat_scheduleMessage(self, *, channel: str, post_at: Union[str, int], text: str, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, parse: Optional[str] = None, reply_broadcast: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, link_names: Optional[bool] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def chat_scheduleMessage(self,
*,
channel: str,
post_at: str | int,
text: str,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
parse: str | None = None,
reply_broadcast: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
link_names: bool | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> SlackResponse
-def chat_scheduledMessages_list(self, *, channel: Optional[str] = None, cursor: Optional[str] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def chat_scheduledMessages_list(self,
*,
channel: str | None = None,
cursor: str | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def chat_unfurl(self, *, channel: Optional[str] = None, ts: Optional[str] = None, source: Optional[str] = None, unfurl_id: Optional[str] = None, unfurls: Optional[Dict[str, Dict]] = None, user_auth_blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, user_auth_message: Optional[str] = None, user_auth_required: Optional[bool] = None, user_auth_url: Optional[str] = None, **kwargs) ‑> SlackResponse +def chat_unfurl(self,
*,
channel: str | None = None,
ts: str | None = None,
source: str | None = None,
unfurl_id: str | None = None,
unfurls: Dict[str, Dict] | None = None,
user_auth_blocks: str | Sequence[Dict | Block] | None = None,
user_auth_message: str | None = None,
user_auth_required: bool | None = None,
user_auth_url: str | None = None,
**kwargs) ‑> SlackResponse

Provide custom unfurl behavior for user-posted URLs. https://api.slack.com/methods/chat.unfurl

-def chat_update(self, *, channel: str, ts: str, text: Optional[str] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, as_user: Optional[bool] = None, file_ids: Union[str, Sequence[str], ForwardRef(None)] = None, link_names: Optional[bool] = None, parse: Optional[str] = None, reply_broadcast: Optional[bool] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def chat_update(self,
*,
channel: str,
ts: str,
text: str | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
as_user: bool | None = None,
file_ids: str | Sequence[str] | None = None,
link_names: bool | None = None,
parse: str | None = None,
reply_broadcast: bool | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> SlackResponse

Updates a message in a channel. https://api.slack.com/methods/chat.update

-def conversations_acceptSharedInvite(self, *, channel_name: str, channel_id: Optional[str] = None, invite_id: Optional[str] = None, free_trial_accepted: Optional[bool] = None, is_private: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_acceptSharedInvite(self,
*,
channel_name: str,
channel_id: str | None = None,
invite_id: str | None = None,
free_trial_accepted: bool | None = None,
is_private: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Accepts an invitation to a Slack Connect channel. https://api.slack.com/methods/conversations.acceptSharedInvite

-def conversations_approveSharedInvite(self, *, invite_id: str, target_team: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_approveSharedInvite(self, *, invite_id: str, target_team: str | None = None, **kwargs) ‑> SlackResponse

Approves an invitation to a Slack Connect channel. @@ -6932,14 +6932,14 @@

Methods

https://api.slack.com/methods/conversations.close

-def conversations_create(self, *, name: str, is_private: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_create(self,
*,
name: str,
is_private: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Initiates a public or private channel-based conversation https://api.slack.com/methods/conversations.create

-def conversations_declineSharedInvite(self, *, invite_id: str, target_team: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_declineSharedInvite(self, *, invite_id: str, target_team: str | None = None, **kwargs) ‑> SlackResponse

Declines a Slack Connect channel invite. @@ -6953,28 +6953,28 @@

Methods

https://api.slack.com/methods/conversations.externalInvitePermissions.set

-def conversations_history(self, *, channel: str, cursor: Optional[str] = None, inclusive: Optional[bool] = None, include_all_metadata: Optional[bool] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_history(self,
*,
channel: str,
cursor: str | None = None,
inclusive: bool | None = None,
include_all_metadata: bool | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
**kwargs) ‑> SlackResponse

Fetches a conversation's history of messages and events. https://api.slack.com/methods/conversations.history

-def conversations_info(self, *, channel: str, include_locale: Optional[bool] = None, include_num_members: Optional[bool] = None, **kwargs) ‑> SlackResponse +def conversations_info(self,
*,
channel: str,
include_locale: bool | None = None,
include_num_members: bool | None = None,
**kwargs) ‑> SlackResponse

Retrieve information about a conversation. https://api.slack.com/methods/conversations.info

-def conversations_invite(self, *, channel: str, users: Union[str, Sequence[str]], force: Optional[bool] = None, **kwargs) ‑> SlackResponse +def conversations_invite(self,
*,
channel: str,
users: str | Sequence[str],
force: bool | None = None,
**kwargs) ‑> SlackResponse
-def conversations_inviteShared(self, *, channel: str, emails: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def conversations_inviteShared(self,
*,
channel: str,
emails: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Sends an invitation to a Slack Connect channel. @@ -7002,14 +7002,14 @@

Methods

https://api.slack.com/methods/conversations.leave

-def conversations_list(self, *, cursor: Optional[str] = None, exclude_archived: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def conversations_list(self,
*,
cursor: str | None = None,
exclude_archived: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
types: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Lists all channels in a Slack team. https://api.slack.com/methods/conversations.list

-def conversations_listConnectInvites(self, *, count: Optional[int] = None, cursor: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_listConnectInvites(self,
*,
count: int | None = None,
cursor: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List shared channel invites that have been generated @@ -7024,14 +7024,14 @@

Methods

https://api.slack.com/methods/conversations.mark

-def conversations_members(self, *, channel: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def conversations_members(self, *, channel: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> SlackResponse

Retrieve members of a conversation. https://api.slack.com/methods/conversations.members

-def conversations_open(self, *, channel: Optional[str] = None, return_im: Optional[bool] = None, users: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def conversations_open(self,
*,
channel: str | None = None,
return_im: bool | None = None,
users: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse

Opens or resumes a direct message or multi-person direct message. @@ -7045,28 +7045,28 @@

Methods

https://api.slack.com/methods/conversations.rename

-def conversations_replies(self, *, channel: str, ts: str, cursor: Optional[str] = None, inclusive: Optional[bool] = None, include_all_metadata: Optional[bool] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_replies(self,
*,
channel: str,
ts: str,
cursor: str | None = None,
inclusive: bool | None = None,
include_all_metadata: bool | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
**kwargs) ‑> SlackResponse

Retrieve a thread of messages posted to a conversation https://api.slack.com/methods/conversations.replies

-def conversations_requestSharedInvite_approve(self, *, invite_id: str, channel_id: Optional[str] = None, is_external_limited: Optional[str] = None, message: Optional[Dict[str, Any]] = None, **kwargs) ‑> SlackResponse +def conversations_requestSharedInvite_approve(self,
*,
invite_id: str,
channel_id: str | None = None,
is_external_limited: str | None = None,
message: Dict[str, Any] | None = None,
**kwargs) ‑> SlackResponse

Approve a request to add an external user to a channel. This also sends them a Slack Connect invite. https://api.slack.com/methods/conversations.requestSharedInvite.approve

-def conversations_requestSharedInvite_deny(self, *, invite_id: str, message: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_requestSharedInvite_deny(self, *, invite_id: str, message: str | None = None, **kwargs) ‑> SlackResponse

Deny a request to invite an external user to a channel. https://api.slack.com/methods/conversations.requestSharedInvite.deny

-def conversations_requestSharedInvite_list(self, *, cursor: Optional[str] = None, include_approved: Optional[bool] = None, include_denied: Optional[bool] = None, include_expired: Optional[bool] = None, invite_ids: Union[str, Sequence[str], ForwardRef(None)] = None, limit: Optional[int] = None, user_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def conversations_requestSharedInvite_list(self,
*,
cursor: str | None = None,
include_approved: bool | None = None,
include_denied: bool | None = None,
include_expired: bool | None = None,
invite_ids: str | Sequence[str] | None = None,
limit: int | None = None,
user_id: str | None = None,
**kwargs) ‑> SlackResponse

Lists requests to add external users to channels with ability to filter. @@ -7115,28 +7115,28 @@

Methods

https://api.slack.com/methods/dnd.endSnooze

-def dnd_info(self, *, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def dnd_info(self, *, team_id: str | None = None, user: str | None = None, **kwargs) ‑> SlackResponse

Retrieves a user's current Do Not Disturb status. https://api.slack.com/methods/dnd.info

-def dnd_setSnooze(self, *, num_minutes: Union[str, int], **kwargs) ‑> SlackResponse +def dnd_setSnooze(self, *, num_minutes: str | int, **kwargs) ‑> SlackResponse

Turns on Do Not Disturb mode for the current user, or changes its duration. https://api.slack.com/methods/dnd.setSnooze

-def dnd_teamInfo(self, users: Union[str, Sequence[str]], team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def dnd_teamInfo(self, users: str | Sequence[str], team_id: str | None = None, **kwargs) ‑> SlackResponse

Retrieves the Do Not Disturb status for users on a team. https://api.slack.com/methods/dnd.teamInfo

-def emoji_list(self, include_categories: Optional[bool] = None, **kwargs) ‑> SlackResponse +def emoji_list(self, include_categories: bool | None = None, **kwargs) ‑> SlackResponse

Lists custom emoji for a team. @@ -7150,7 +7150,7 @@

Methods

https://api.slack.com/methods/files.comments.delete

-def files_completeUploadExternal(self, *, files: List[Dict[str, str]], channel_id: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_completeUploadExternal(self,
*,
files: List[Dict[str, str]],
channel_id: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
**kwargs) ‑> SlackResponse

Finishes an upload started with files.getUploadURLExternal. @@ -7164,63 +7164,63 @@

Methods

https://api.slack.com/methods/files.delete

-def files_getUploadURLExternal(self, *, filename: str, length: int, alt_txt: Optional[str] = None, snippet_type: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_getUploadURLExternal(self,
*,
filename: str,
length: int,
alt_txt: str | None = None,
snippet_type: str | None = None,
**kwargs) ‑> SlackResponse

Gets a URL for an edge external upload. https://api.slack.com/methods/files.getUploadURLExternal

-def files_info(self, *, file: str, count: Optional[int] = None, cursor: Optional[str] = None, limit: Optional[int] = None, page: Optional[int] = None, **kwargs) ‑> SlackResponse +def files_info(self,
*,
file: str,
count: int | None = None,
cursor: str | None = None,
limit: int | None = None,
page: int | None = None,
**kwargs) ‑> SlackResponse

Gets information about a team file. https://api.slack.com/methods/files.info

-def files_list(self, *, channel: Optional[str] = None, count: Optional[int] = None, page: Optional[int] = None, show_files_hidden_by_limit: Optional[bool] = None, team_id: Optional[str] = None, ts_from: Optional[str] = None, ts_to: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_list(self,
*,
channel: str | None = None,
count: int | None = None,
page: int | None = None,
show_files_hidden_by_limit: bool | None = None,
team_id: str | None = None,
ts_from: str | None = None,
ts_to: str | None = None,
types: str | Sequence[str] | None = None,
user: str | None = None,
**kwargs) ‑> SlackResponse

Lists & filters team files. https://api.slack.com/methods/files.list

-def files_remote_add(self, *, external_id: str, external_url: str, title: str, filetype: Optional[str] = None, indexable_file_contents: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, preview_image: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def files_remote_add(self,
*,
external_id: str,
external_url: str,
title: str,
filetype: str | None = None,
indexable_file_contents: str | bytes | io.IOBase | None = None,
preview_image: str | bytes | io.IOBase | None = None,
**kwargs) ‑> SlackResponse

Adds a file from a remote service. https://api.slack.com/methods/files.remote.add

-def files_remote_info(self, *, external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_info(self, *, external_id: str | None = None, file: str | None = None, **kwargs) ‑> SlackResponse

Retrieve information about a remote file added to Slack. https://api.slack.com/methods/files.remote.info

-def files_remote_list(self, *, channel: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, ts_from: Optional[str] = None, ts_to: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_list(self,
*,
channel: str | None = None,
cursor: str | None = None,
limit: int | None = None,
ts_from: str | None = None,
ts_to: str | None = None,
**kwargs) ‑> SlackResponse

Retrieve information about a remote file added to Slack. https://api.slack.com/methods/files.remote.list

-def files_remote_remove(self, *, external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_remove(self, *, external_id: str | None = None, file: str | None = None, **kwargs) ‑> SlackResponse
-def files_remote_share(self, *, channels: Union[str, Sequence[str]], external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_share(self,
*,
channels: str | Sequence[str],
external_id: str | None = None,
file: str | None = None,
**kwargs) ‑> SlackResponse

Share a remote file into a channel. https://api.slack.com/methods/files.remote.share

-def files_remote_update(self, *, external_id: Optional[str] = None, external_url: Optional[str] = None, file: Optional[str] = None, title: Optional[str] = None, filetype: Optional[str] = None, indexable_file_contents: Optional[str] = None, preview_image: Optional[str] = None, **kwargs) ‑> SlackResponse +def files_remote_update(self,
*,
external_id: str | None = None,
external_url: str | None = None,
file: str | None = None,
title: str | None = None,
filetype: str | None = None,
indexable_file_contents: str | None = None,
preview_image: str | None = None,
**kwargs) ‑> SlackResponse

Updates an existing remote file. @@ -7241,14 +7241,14 @@

Methods

https://api.slack.com/methods/files.sharedPublicURL

-def files_upload(self, *, file: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, content: Union[str, bytes, ForwardRef(None)] = None, filename: Optional[str] = None, filetype: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, title: Optional[str] = None, channels: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def files_upload(self,
*,
file: str | bytes | io.IOBase | None = None,
content: str | bytes | None = None,
filename: str | None = None,
filetype: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
title: str | None = None,
channels: str | Sequence[str] | None = None,
**kwargs) ‑> SlackResponse
-def files_upload_v2(self, *, filename: Optional[str] = None, file: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, content: Union[str, bytes, ForwardRef(None)] = None, title: Optional[str] = None, alt_txt: Optional[str] = None, snippet_type: Optional[str] = None, file_uploads: Optional[List[Dict[str, Any]]] = None, channel: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, request_file_info: bool = True, **kwargs) ‑> SlackResponse +def files_upload_v2(self,
*,
filename: str | None = None,
file: str | bytes | io.IOBase | None = None,
content: str | bytes | None = None,
title: str | None = None,
alt_txt: str | None = None,
snippet_type: str | None = None,
file_uploads: List[Dict[str, Any]] | None = None,
channel: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
request_file_info: bool = True,
**kwargs) ‑> SlackResponse

This wrapper method provides an easy way to upload files using the following endpoints:

@@ -7412,7 +7412,7 @@

Methods

Retrieve a thread of messages posted to a direct message conversation

-def migration_exchange(self, *, users: Union[str, Sequence[str]], team_id: Optional[str] = None, to_old: Optional[bool] = None, **kwargs) ‑> SlackResponse +def migration_exchange(self,
*,
users: str | Sequence[str],
team_id: str | None = None,
to_old: bool | None = None,
**kwargs) ‑> SlackResponse

For Enterprise Grid workspaces, map local user IDs to global user IDs @@ -7443,7 +7443,7 @@

Methods

Sets the read cursor in a multiparty direct message channel.

-def mpim_open(self, *, users: Union[str, Sequence[str]], **kwargs) ‑> SlackResponse +def mpim_open(self, *, users: str | Sequence[str], **kwargs) ‑> SlackResponse

This method opens a multiparty direct message.

@@ -7456,14 +7456,14 @@

Methods

multiparty direct message.

-def oauth_access(self, *, client_id: str, client_secret: str, code: str, redirect_uri: Optional[str] = None, **kwargs) ‑> SlackResponse +def oauth_access(self,
*,
client_id: str,
client_secret: str,
code: str,
redirect_uri: str | None = None,
**kwargs) ‑> SlackResponse

Exchanges a temporary OAuth verifier code for an access token. https://api.slack.com/methods/oauth.access

-def oauth_v2_access(self, *, client_id: str, client_secret: str, code: Optional[str] = None, redirect_uri: Optional[str] = None, grant_type: Optional[str] = None, refresh_token: Optional[str] = None, **kwargs) ‑> SlackResponse +def oauth_v2_access(self,
*,
client_id: str,
client_secret: str,
code: str | None = None,
redirect_uri: str | None = None,
grant_type: str | None = None,
refresh_token: str | None = None,
**kwargs) ‑> SlackResponse

Exchanges a temporary OAuth verifier code for an access token. @@ -7477,7 +7477,7 @@

Methods

https://api.slack.com/methods/oauth.v2.exchange

-def openid_connect_token(self, client_id: str, client_secret: str, code: Optional[str] = None, redirect_uri: Optional[str] = None, grant_type: Optional[str] = None, refresh_token: Optional[str] = None, **kwargs) ‑> SlackResponse +def openid_connect_token(self,
client_id: str,
client_secret: str,
code: str | None = None,
redirect_uri: str | None = None,
grant_type: str | None = None,
refresh_token: str | None = None,
**kwargs) ‑> SlackResponse

Exchanges a temporary OAuth verifier code for an access token for Sign in with Slack. @@ -7491,7 +7491,7 @@

Methods

https://api.slack.com/methods/openid.connect.userInfo

-def pins_add(self, *, channel: str, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def pins_add(self, *, channel: str, timestamp: str | None = None, **kwargs) ‑> SlackResponse

Pins an item to a channel. @@ -7505,7 +7505,7 @@

Methods

https://api.slack.com/methods/pins.list

-def pins_remove(self, *, channel: str, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def pins_remove(self, *, channel: str, timestamp: str | None = None, **kwargs) ‑> SlackResponse

Un-pins an item from a channel. @@ -7519,126 +7519,126 @@

Methods

https://api.slack.com/methods/reactions.add

-def reactions_get(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, full: Optional[bool] = None, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def reactions_get(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
full: bool | None = None,
timestamp: str | None = None,
**kwargs) ‑> SlackResponse
-def reactions_list(self, *, count: Optional[int] = None, cursor: Optional[str] = None, full: Optional[bool] = None, limit: Optional[int] = None, page: Optional[int] = None, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def reactions_list(self,
*,
count: int | None = None,
cursor: str | None = None,
full: bool | None = None,
limit: int | None = None,
page: int | None = None,
team_id: str | None = None,
user: str | None = None,
**kwargs) ‑> SlackResponse

Lists reactions made by a user. https://api.slack.com/methods/reactions.list

-def reactions_remove(self, *, name: str, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def reactions_remove(self,
*,
name: str,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> SlackResponse

Removes a reaction from an item. https://api.slack.com/methods/reactions.remove

-def reminders_add(self, *, text: str, time: str, team_id: Optional[str] = None, user: Optional[str] = None, recurrence: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_add(self,
*,
text: str,
time: str,
team_id: str | None = None,
user: str | None = None,
recurrence: str | None = None,
**kwargs) ‑> SlackResponse
-def reminders_complete(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_complete(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> SlackResponse
-def reminders_delete(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_delete(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> SlackResponse
-def reminders_info(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_info(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> SlackResponse

Gets information about a reminder. https://api.slack.com/methods/reminders.info

-def reminders_list(self, *, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def reminders_list(self, *, team_id: str | None = None, **kwargs) ‑> SlackResponse

Lists all reminders created by or for a given user. https://api.slack.com/methods/reminders.list

-def rtm_connect(self, *, batch_presence_aware: Optional[bool] = None, presence_sub: Optional[bool] = None, **kwargs) ‑> SlackResponse +def rtm_connect(self,
*,
batch_presence_aware: bool | None = None,
presence_sub: bool | None = None,
**kwargs) ‑> SlackResponse

Starts a Real Time Messaging session. https://api.slack.com/methods/rtm.connect

-def rtm_start(self, *, batch_presence_aware: Optional[bool] = None, include_locale: Optional[bool] = None, mpim_aware: Optional[bool] = None, no_latest: Optional[bool] = None, no_unreads: Optional[bool] = None, presence_sub: Optional[bool] = None, simple_latest: Optional[bool] = None, **kwargs) ‑> SlackResponse +def rtm_start(self,
*,
batch_presence_aware: bool | None = None,
include_locale: bool | None = None,
mpim_aware: bool | None = None,
no_latest: bool | None = None,
no_unreads: bool | None = None,
presence_sub: bool | None = None,
simple_latest: bool | None = None,
**kwargs) ‑> SlackResponse

Starts a Real Time Messaging session. https://api.slack.com/methods/rtm.start

-def search_all(self, *, query: str, count: Optional[int] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def search_all(self,
*,
query: str,
count: int | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Searches for messages and files matching a query. https://api.slack.com/methods/search.all

-def search_files(self, *, query: str, count: Optional[int] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def search_files(self,
*,
query: str,
count: int | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Searches for files matching a query. https://api.slack.com/methods/search.files

-def search_messages(self, *, query: str, count: Optional[int] = None, cursor: Optional[str] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def search_messages(self,
*,
query: str,
count: int | None = None,
cursor: str | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Searches for messages matching a query. https://api.slack.com/methods/search.messages

-def stars_add(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def stars_add(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> SlackResponse
-def stars_list(self, *, count: Optional[int] = None, cursor: Optional[str] = None, limit: Optional[int] = None, page: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def stars_list(self,
*,
count: int | None = None,
cursor: str | None = None,
limit: int | None = None,
page: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def stars_remove(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> SlackResponse +def stars_remove(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> SlackResponse

Removes a star from an item. https://api.slack.com/methods/stars.remove

-def team_accessLogs(self, *, before: Union[str, int, ForwardRef(None)] = None, count: Union[str, int, ForwardRef(None)] = None, page: Union[str, int, ForwardRef(None)] = None, team_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def team_accessLogs(self,
*,
before: str | int | None = None,
count: str | int | None = None,
page: str | int | None = None,
team_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Gets the access logs for the current team. https://api.slack.com/methods/team.accessLogs

-def team_billableInfo(self, *, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def team_billableInfo(self, *, team_id: str | None = None, user: str | None = None, **kwargs) ‑> SlackResponse

Gets billable users information for the current team. @@ -7659,21 +7659,21 @@

Methods

https://api.slack.com/methods/team.externalTeams.disconnect

-def team_externalTeams_list(self, *, connection_status_filter: Optional[str] = None, slack_connect_pref_filter: Optional[Sequence[str]] = None, sort_direction: Optional[str] = None, sort_field: Optional[str] = None, workspace_filter: Optional[Sequence[str]] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> SlackResponse +def team_externalTeams_list(self,
*,
connection_status_filter: str | None = None,
slack_connect_pref_filter: Sequence[str] | None = None,
sort_direction: str | None = None,
sort_field: str | None = None,
workspace_filter: Sequence[str] | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> SlackResponse

Returns a list of all the external teams connected and details about the connection. https://api.slack.com/methods/team.externalTeams.list

-def team_info(self, *, team: Optional[str] = None, domain: Optional[str] = None, **kwargs) ‑> SlackResponse +def team_info(self, *, team: str | None = None, domain: str | None = None, **kwargs) ‑> SlackResponse

Gets information about the current team. https://api.slack.com/methods/team.info

-def team_integrationLogs(self, *, app_id: Optional[str] = None, change_type: Optional[str] = None, count: Union[str, int, ForwardRef(None)] = None, page: Union[str, int, ForwardRef(None)] = None, service_id: Optional[str] = None, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def team_integrationLogs(self,
*,
app_id: str | None = None,
change_type: str | None = None,
count: str | int | None = None,
page: str | int | None = None,
service_id: str | None = None,
team_id: str | None = None,
user: str | None = None,
**kwargs) ‑> SlackResponse

Gets the integration logs for the current team. @@ -7687,7 +7687,7 @@

Methods

https://api.slack.com/methods/team.preferences.list

-def team_profile_get(self, *, visibility: Optional[str] = None, **kwargs) ‑> SlackResponse +def team_profile_get(self, *, visibility: str | None = None, **kwargs) ‑> SlackResponse

Retrieve a team's profile. @@ -7701,56 +7701,56 @@

Methods

https://api.slack.com/methods/tooling.tokens.rotate

-def usergroups_create(self, *, name: str, channels: Union[str, Sequence[str], ForwardRef(None)] = None, description: Optional[str] = None, handle: Optional[str] = None, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_create(self,
*,
name: str,
channels: str | Sequence[str] | None = None,
description: str | None = None,
handle: str | None = None,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_disable(self, *, usergroup: str, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_disable(self,
*,
usergroup: str,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_enable(self, *, usergroup: str, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_enable(self,
*,
usergroup: str,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_list(self, *, include_count: Optional[bool] = None, include_disabled: Optional[bool] = None, include_users: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_list(self,
*,
include_count: bool | None = None,
include_disabled: bool | None = None,
include_users: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

List all User Groups for a team https://api.slack.com/methods/usergroups.list

-def usergroups_update(self, *, usergroup: str, channels: Union[str, Sequence[str], ForwardRef(None)] = None, description: Optional[str] = None, handle: Optional[str] = None, include_count: Optional[bool] = None, name: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_update(self,
*,
usergroup: str,
channels: str | Sequence[str] | None = None,
description: str | None = None,
handle: str | None = None,
include_count: bool | None = None,
name: str | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_users_list(self, *, usergroup: str, include_disabled: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_users_list(self,
*,
usergroup: str,
include_disabled: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse
-def usergroups_users_update(self, *, usergroup: str, users: Union[str, Sequence[str]], include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def usergroups_users_update(self,
*,
usergroup: str,
users: str | Sequence[str],
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Update the list of users for a User Group https://api.slack.com/methods/usergroups.users.update

-def users_conversations(self, *, cursor: Optional[str] = None, exclude_archived: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, user: Optional[str] = None, **kwargs) ‑> SlackResponse +def users_conversations(self,
*,
cursor: str | None = None,
exclude_archived: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
types: str | Sequence[str] | None = None,
user: str | None = None,
**kwargs) ‑> SlackResponse

List conversations the calling user may access. @@ -7785,14 +7785,14 @@

Methods

https://api.slack.com/methods/users.identity

-def users_info(self, *, user: str, include_locale: Optional[bool] = None, **kwargs) ‑> SlackResponse +def users_info(self, *, user: str, include_locale: bool | None = None, **kwargs) ‑> SlackResponse

Gets information about a user. https://api.slack.com/methods/users.info

-def users_list(self, *, cursor: Optional[str] = None, include_locale: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> SlackResponse +def users_list(self,
*,
cursor: str | None = None,
include_locale: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> SlackResponse

Lists all users in a Slack team. @@ -7806,21 +7806,21 @@

Methods

https://api.slack.com/methods/users.lookupByEmail

-def users_profile_get(self, *, user: Optional[str] = None, include_labels: Optional[bool] = None, **kwargs) ‑> SlackResponse +def users_profile_get(self, *, user: str | None = None, include_labels: bool | None = None, **kwargs) ‑> SlackResponse

Retrieves a user's profile information. https://api.slack.com/methods/users.profile.get

-def users_profile_set(self, *, name: Optional[str] = None, value: Optional[str] = None, user: Optional[str] = None, profile: Optional[Dict] = None, **kwargs) ‑> SlackResponse +def users_profile_set(self,
*,
name: str | None = None,
value: str | None = None,
user: str | None = None,
profile: Dict | None = None,
**kwargs) ‑> SlackResponse

Set the profile information for a user. https://api.slack.com/methods/users.profile.set

-def users_setPhoto(self, *, image: Union[str, io.IOBase], crop_w: Union[str, int, ForwardRef(None)] = None, crop_x: Union[str, int, ForwardRef(None)] = None, crop_y: Union[str, int, ForwardRef(None)] = None, **kwargs) ‑> SlackResponse +def users_setPhoto(self,
*,
image: str | io.IOBase,
crop_w: str | int | None = None,
crop_x: str | int | None = None,
crop_y: str | int | None = None,
**kwargs) ‑> SlackResponse

Set the user profile photo @@ -7834,7 +7834,7 @@

Methods

https://api.slack.com/methods/users.setPresence

-def views_open(self, *, trigger_id: Optional[str] = None, interactivity_pointer: Optional[str] = None, view: Union[dict, View], **kwargs) ‑> SlackResponse +def views_open(self,
*,
trigger_id: str | None = None,
interactivity_pointer: str | None = None,
view: dict | View,
**kwargs) ‑> SlackResponse

Open a view for a user. @@ -7842,7 +7842,7 @@

Methods

See https://api.slack.com/surfaces/modals for details.

-def views_publish(self, *, user_id: str, view: Union[dict, View], hash: Optional[str] = None, **kwargs) ‑> SlackResponse +def views_publish(self,
*,
user_id: str,
view: dict | View,
hash: str | None = None,
**kwargs) ‑> SlackResponse

Publish a static view for a User. @@ -7851,7 +7851,7 @@

Methods

https://api.slack.com/methods/views.publish

-def views_push(self, *, trigger_id: Optional[str] = None, interactivity_pointer: Optional[str] = None, view: Union[dict, View], **kwargs) ‑> SlackResponse +def views_push(self,
*,
trigger_id: str | None = None,
interactivity_pointer: str | None = None,
view: dict | View,
**kwargs) ‑> SlackResponse

Push a view onto the stack of a root view. @@ -7863,7 +7863,7 @@

Methods

https://api.slack.com/methods/views.push

-def views_update(self, *, view: Union[dict, View], external_id: Optional[str] = None, view_id: Optional[str] = None, hash: Optional[str] = None, **kwargs) ‑> SlackResponse +def views_update(self,
*,
view: dict | View,
external_id: str | None = None,
view_id: str | None = None,
hash: str | None = None,
**kwargs) ‑> SlackResponse

Update an existing view. @@ -7874,7 +7874,7 @@

Methods

https://api.slack.com/methods/views.update

-def workflows_stepCompleted(self, *, workflow_step_execute_id: str, outputs: Optional[dict] = None, **kwargs) ‑> SlackResponse +def workflows_stepCompleted(self, *, workflow_step_execute_id: str, outputs: dict | None = None, **kwargs) ‑> SlackResponse

Indicate a successful outcome of a workflow step's execution. @@ -7888,7 +7888,7 @@

Methods

https://api.slack.com/methods/workflows.stepFailed

-def workflows_updateStep(self, *, workflow_step_edit_id: str, inputs: Optional[Dict[str, Any]] = None, outputs: Optional[List[Dict[str, str]]] = None, **kwargs) ‑> SlackResponse +def workflows_updateStep(self,
*,
workflow_step_edit_id: str,
inputs: Dict[str, Any] | None = None,
outputs: List[Dict[str, str]] | None = None,
**kwargs) ‑> SlackResponse

Update the configuration for a workflow extension step. @@ -8256,7 +8256,7 @@

Web diff --git a/docs/static/api-docs/slack_sdk/web/internal_utils.html b/docs/static/api-docs/slack_sdk/web/internal_utils.html index c53ae945..b09ef762 100644 --- a/docs/static/api-docs/slack_sdk/web/internal_utils.html +++ b/docs/static/api-docs/slack_sdk/web/internal_utils.html @@ -3,13 +3,13 @@ - + slack_sdk.web.internal_utils API documentation - + @@ -34,7 +34,7 @@

Module slack_sdk.web.internal_utils

Functions

-def convert_bool_to_0_or_1(params: Optional[Dict[str, Any]]) ‑> Optional[Dict[str, Any]] +def convert_bool_to_0_or_1(params: Dict[str, Any] | None) ‑> Dict[str, Any] | None

Converts all bool values in dict to "0" or "1".

@@ -50,7 +50,7 @@

Returns

Modified dict

-def get_user_agent(prefix: Optional[str] = None, suffix: Optional[str] = None) +def get_user_agent(prefix: str | None = None, suffix: str | None = None)

Construct the user-agent header with the package info, @@ -84,7 +84,7 @@

Returns

diff --git a/docs/static/api-docs/slack_sdk/web/legacy_base_client.html b/docs/static/api-docs/slack_sdk/web/legacy_base_client.html index a13283b0..e34f5678 100644 --- a/docs/static/api-docs/slack_sdk/web/legacy_base_client.html +++ b/docs/static/api-docs/slack_sdk/web/legacy_base_client.html @@ -3,13 +3,13 @@ - + slack_sdk.web.legacy_base_client API documentation - + @@ -38,7 +38,7 @@

Classes

class LegacyBaseClient -(token: Optional[str] = None, base_url: str = 'https://slack.com/api/', timeout: int = 30, loop: Optional[asyncio.events.AbstractEventLoop] = None, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, run_async: bool = False, use_sync_aiohttp: bool = False, session: Optional[aiohttp.client.ClientSession] = None, headers: Optional[dict] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, team_id: Optional[str] = None, logger: Optional[logging.Logger] = None) +(token: str | None = None,
base_url: str = 'https://slack.com/api/',
timeout: int = 30,
loop: asyncio.events.AbstractEventLoop | None = None,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
run_async: bool = False,
use_sync_aiohttp: bool = False,
session: aiohttp.client.ClientSession | None = None,
headers: dict | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
team_id: str | None = None,
logger: logging.Logger | None = None)
@@ -69,6 +69,8 @@

Classes

): self.token = None if token is None else token.strip() """A string specifying an `xoxp-*` or `xoxb-*` token.""" + if not base_url.endswith("/"): + base_url += "/" self.base_url = base_url """A string representing the Slack API base URL. Default is `'https://slack.com/api/'`.""" @@ -670,7 +672,7 @@

Instance variables

Methods

-def api_call(self, api_method: str, *, http_verb: str = 'POST', files: Optional[dict] = None, data: Union[dict, aiohttp.formdata.FormData] = None, params: Optional[dict] = None, json: Optional[dict] = None, headers: Optional[dict] = None, auth: Optional[dict] = None) ‑> Union[_asyncio.Future, LegacySlackResponse] +def api_call(self,
api_method: str,
*,
http_verb: str = 'POST',
files: dict | None = None,
data: dict | aiohttp.formdata.FormData = None,
params: dict | None = None,
json: dict | None = None,
headers: dict | None = None,
auth: dict | None = None) ‑> _asyncio.Future | LegacySlackResponse

Create a request and execute the API call to Slack.

@@ -753,7 +755,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/web/legacy_client.html b/docs/static/api-docs/slack_sdk/web/legacy_client.html index d08c152e..d4396238 100644 --- a/docs/static/api-docs/slack_sdk/web/legacy_client.html +++ b/docs/static/api-docs/slack_sdk/web/legacy_client.html @@ -3,13 +3,13 @@ - + slack_sdk.web.legacy_client API documentation - + @@ -37,7 +37,7 @@

Classes

class LegacyWebClient -(token: Optional[str] = None, base_url: str = 'https://slack.com/api/', timeout: int = 30, loop: Optional[asyncio.events.AbstractEventLoop] = None, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, run_async: bool = False, use_sync_aiohttp: bool = False, session: Optional[aiohttp.client.ClientSession] = None, headers: Optional[dict] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, team_id: Optional[str] = None, logger: Optional[logging.Logger] = None) +(token: str | None = None,
base_url: str = 'https://slack.com/api/',
timeout: int = 30,
loop: asyncio.events.AbstractEventLoop | None = None,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
run_async: bool = False,
use_sync_aiohttp: bool = False,
session: aiohttp.client.ClientSession | None = None,
headers: dict | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
team_id: str | None = None,
logger: logging.Logger | None = None)

A WebClient allows apps to communicate with the Slack Platform's Web API.

@@ -5507,21 +5507,21 @@

Ancestors

Methods

-def admin_analytics_getFile(self, *, type: str, date: Optional[str] = None, metadata_only: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_analytics_getFile(self,
*,
type: str,
date: str | None = None,
metadata_only: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieve analytics data for a given date, presented as a compressed JSON file https://api.slack.com/methods/admin.analytics.getFile

-def admin_apps_activities_list(self, *, app_id: Optional[str] = None, component_id: Optional[str] = None, component_type: Optional[str] = None, log_event_type: Optional[str] = None, max_date_created: Optional[int] = None, min_date_created: Optional[int] = None, min_log_level: Optional[str] = None, sort_direction: Optional[str] = None, source: Optional[str] = None, team_id: Optional[str] = None, trace_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_apps_activities_list(self,
*,
app_id: str | None = None,
component_id: str | None = None,
component_type: str | None = None,
log_event_type: str | None = None,
max_date_created: int | None = None,
min_date_created: int | None = None,
min_log_level: str | None = None,
sort_direction: str | None = None,
source: str | None = None,
team_id: str | None = None,
trace_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_apps_approve(self, *, app_id: Optional[str] = None, request_id: Optional[str] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_apps_approve(self,
*,
app_id: str | None = None,
request_id: str | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Approve an app for installation on a workspace. @@ -5531,49 +5531,49 @@

Methods

https://api.slack.com/methods/admin.apps.approve

-def admin_apps_approved_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_apps_approved_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

List approved apps for an org or workspace. https://api.slack.com/methods/admin.apps.approved.list

-def admin_apps_clearResolution(self, *, app_id: str, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_apps_clearResolution(self,
*,
app_id: str,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_apps_config_lookup(self, *, app_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_apps_config_lookup(self, *, app_ids: str | Sequence[str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Look up the app config for connectors by their IDs https://api.slack.com/methods/admin.apps.config.lookup

-def admin_apps_config_set(self, *, app_id: str, domain_restrictions: Optional[Dict[str, Any]] = None, workflow_auth_strategy: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_apps_config_set(self,
*,
app_id: str,
domain_restrictions: Dict[str, Any] | None = None,
workflow_auth_strategy: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Set the app config for a connector https://api.slack.com/methods/admin.apps.config.set

-def admin_apps_requests_cancel(self, *, request_id: str, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_apps_requests_cancel(self,
*,
request_id: str,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

List app requests for a team/workspace. https://api.slack.com/methods/admin.apps.requests.cancel

-def admin_apps_requests_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_apps_requests_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

List app requests for a team/workspace. https://api.slack.com/methods/admin.apps.requests.list

-def admin_apps_restrict(self, *, app_id: Optional[str] = None, request_id: Optional[str] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_apps_restrict(self,
*,
app_id: str | None = None,
request_id: str | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Restrict an app for installation on a workspace. @@ -5583,14 +5583,14 @@

Methods

https://api.slack.com/methods/admin.apps.restrict

-def admin_apps_restricted_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, enterprise_id: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_apps_restricted_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
enterprise_id: str | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

List restricted apps for an org or workspace. https://api.slack.com/methods/admin.apps.restricted.list

-def admin_apps_uninstall(self, *, app_id: str, enterprise_id: Optional[str] = None, team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_apps_uninstall(self,
*,
app_id: str,
enterprise_id: str | None = None,
team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Uninstall an app from one or many workspaces, or an entire enterprise organization. @@ -5598,119 +5598,119 @@

Methods

https://api.slack.com/methods/admin.apps.uninstall

-def admin_auth_policy_assignEntities(self, *, entity_ids: Union[str, Sequence[str]], policy_name: str, entity_type: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_auth_policy_assignEntities(self,
*,
entity_ids: str | Sequence[str],
policy_name: str,
entity_type: str,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Assign entities to a particular authentication policy. https://api.slack.com/methods/admin.auth.policy.assignEntities

-def admin_auth_policy_getEntities(self, *, policy_name: str, cursor: Optional[str] = None, entity_type: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_auth_policy_getEntities(self,
*,
policy_name: str,
cursor: str | None = None,
entity_type: str | None = None,
limit: int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Fetch all the entities assigned to a particular authentication policy by name. https://api.slack.com/methods/admin.auth.policy.getEntities

-def admin_auth_policy_removeEntities(self, *, entity_ids: Union[str, Sequence[str]], policy_name: str, entity_type: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_auth_policy_removeEntities(self,
*,
entity_ids: str | Sequence[str],
policy_name: str,
entity_type: str,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Remove specified entities from a specified authentication policy. https://api.slack.com/methods/admin.auth.policy.removeEntities

-def admin_barriers_create(self, *, barriered_from_usergroup_ids: Union[str, Sequence[str]], primary_usergroup_id: str, restricted_subjects: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_barriers_create(self,
*,
barriered_from_usergroup_ids: str | Sequence[str],
primary_usergroup_id: str,
restricted_subjects: str | Sequence[str],
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_barriers_delete(self, *, barrier_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_barriers_delete(self, *, barrier_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Delete an existing Information Barrier https://api.slack.com/methods/admin.barriers.delete

-def admin_barriers_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_barriers_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Get all Information Barriers for your organization https://api.slack.com/methods/admin.barriers.list

-def admin_barriers_update(self, *, barrier_id: str, barriered_from_usergroup_ids: Union[str, Sequence[str]], primary_usergroup_id: str, restricted_subjects: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_barriers_update(self,
*,
barrier_id: str,
barriered_from_usergroup_ids: str | Sequence[str],
primary_usergroup_id: str,
restricted_subjects: str | Sequence[str],
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Update an existing Information Barrier https://api.slack.com/methods/admin.barriers.update

-def admin_conversations_archive(self, *, channel_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_archive(self, *, channel_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_conversations_bulkArchive(self, *, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_bulkArchive(self, *, channel_ids: str | Sequence[str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Archive public or private channels in bulk. https://api.slack.com/methods/admin.conversations.bulkArchive

-def admin_conversations_bulkDelete(self, *, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_bulkDelete(self, *, channel_ids: str | Sequence[str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Delete public or private channels in bulk. https://slack.com/api/admin.conversations.bulkDelete

-def admin_conversations_bulkMove(self, *, channel_ids: Union[str, Sequence[str]], target_team_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_bulkMove(self, *, channel_ids: str | Sequence[str], target_team_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Move public or private channels in bulk. https://api.slack.com/methods/admin.conversations.bulkMove

-def admin_conversations_convertToPrivate(self, *, channel_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_convertToPrivate(self, *, channel_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Convert a public channel to a private channel. https://api.slack.com/methods/admin.conversations.convertToPrivate

-def admin_conversations_convertToPublic(self, *, channel_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_convertToPublic(self, *, channel_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Convert a privte channel to a public channel. https://api.slack.com/methods/admin.conversations.convertToPublic

-def admin_conversations_create(self, *, is_private: bool, name: str, description: Optional[str] = None, org_wide: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_create(self,
*,
is_private: bool,
name: str,
description: str | None = None,
org_wide: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Create a public or private channel-based conversation. https://api.slack.com/methods/admin.conversations.create

-def admin_conversations_delete(self, *, channel_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_delete(self, *, channel_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_conversations_disconnectShared(self, *, channel_id: str, leaving_team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_disconnectShared(self,
*,
channel_id: str,
leaving_team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Disconnect a connected channel from one or more workspaces. https://api.slack.com/methods/admin.conversations.disconnectShared

-def admin_conversations_ekm_listOriginalConnectedChannelInfo(self, *, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, cursor: Optional[str] = None, limit: Optional[int] = None, team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_ekm_listOriginalConnectedChannelInfo(self,
*,
channel_ids: str | Sequence[str] | None = None,
cursor: str | None = None,
limit: int | None = None,
team_ids: str | Sequence[str] | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

List all disconnected channels—i.e., @@ -5719,154 +5719,154 @@

Methods

https://api.slack.com/methods/admin.conversations.ekm.listOriginalConnectedChannelInfo

-def admin_conversations_getConversationPrefs(self, *, channel_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_getConversationPrefs(self, *, channel_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Get conversation preferences for a public or private channel. https://api.slack.com/methods/admin.conversations.getConversationPrefs

-def admin_conversations_getCustomRetention(self, *, channel_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_getCustomRetention(self, *, channel_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_conversations_getTeams(self, *, channel_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_getTeams(self,
*,
channel_id: str,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Set the workspaces in an Enterprise grid org that connect to a channel. https://api.slack.com/methods/admin.conversations.getTeams

-def admin_conversations_invite(self, *, channel_id: str, user_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_invite(self, *, channel_id: str, user_ids: str | Sequence[str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Invite a user to a public or private channel. https://api.slack.com/methods/admin.conversations.invite

-def admin_conversations_lookup(self, *, last_message_activity_before: int, team_ids: Union[str, Sequence[str]], cursor: Optional[str] = None, limit: Optional[int] = None, max_member_count: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_lookup(self,
*,
last_message_activity_before: int,
team_ids: str | Sequence[str],
cursor: str | None = None,
limit: int | None = None,
max_member_count: int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Returns channels on the given team using the filters. https://api.slack.com/methods/admin.conversations.lookup

-def admin_conversations_removeCustomRetention(self, *, channel_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_removeCustomRetention(self, *, channel_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_conversations_rename(self, *, channel_id: str, name: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_rename(self, *, channel_id: str, name: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_conversations_restrictAccess_addGroup(self, *, channel_id: str, group_id: str, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_restrictAccess_addGroup(self, *, channel_id: str, group_id: str, team_id: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Add an allowlist of IDP groups for accessing a channel. https://api.slack.com/methods/admin.conversations.restrictAccess.addGroup

-def admin_conversations_restrictAccess_listGroups(self, *, channel_id: str, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_restrictAccess_listGroups(self, *, channel_id: str, team_id: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_conversations_restrictAccess_removeGroup(self, *, channel_id: str, group_id: str, team_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_restrictAccess_removeGroup(self, *, channel_id: str, group_id: str, team_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Remove a linked IDP group linked from a private channel. https://api.slack.com/methods/admin.conversations.restrictAccess.removeGroup

Search for public or private channels in an Enterprise organization. https://api.slack.com/methods/admin.conversations.search

-def admin_conversations_setConversationPrefs(self, *, channel_id: str, prefs: Union[str, Dict[str, str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_setConversationPrefs(self, *, channel_id: str, prefs: str | Dict[str, str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Set the posting permissions for a public or private channel. https://api.slack.com/methods/admin.conversations.setConversationPrefs

-def admin_conversations_setCustomRetention(self, *, channel_id: str, duration_days: int, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_setCustomRetention(self, *, channel_id: str, duration_days: int, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_conversations_setTeams(self, *, channel_id: str, org_channel: Optional[bool] = None, target_team_ids: Union[str, Sequence[str], ForwardRef(None)] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_setTeams(self,
*,
channel_id: str,
org_channel: bool | None = None,
target_team_ids: str | Sequence[str] | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Set the workspaces in an Enterprise grid org that connect to a public or private channel. https://api.slack.com/methods/admin.conversations.setTeams

-def admin_conversations_unarchive(self, *, channel_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_conversations_unarchive(self, *, channel_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Unarchive a public or private channel. https://api.slack.com/methods/admin.conversations.archive

-def admin_emoji_add(self, *, name: str, url: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_emoji_add(self, *, name: str, url: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_emoji_addAlias(self, *, alias_for: str, name: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_emoji_addAlias(self, *, alias_for: str, name: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_emoji_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_emoji_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

List emoji for an Enterprise Grid organization. https://api.slack.com/methods/admin.emoji.list

-def admin_emoji_remove(self, *, name: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_emoji_remove(self, *, name: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Remove an emoji across an Enterprise Grid organization. https://api.slack.com/methods/admin.emoji.remove

-def admin_emoji_rename(self, *, name: str, new_name: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_emoji_rename(self, *, name: str, new_name: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_functions_list(self, *, app_ids: Union[str, Sequence[str]], team_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_functions_list(self,
*,
app_ids: str | Sequence[str],
team_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Look up functions by a set of apps https://api.slack.com/methods/admin.functions.list

-def admin_functions_permissions_lookup(self, *, function_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_functions_permissions_lookup(self, *, function_ids: str | Sequence[str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lookup the visibility of multiple Slack functions @@ -5874,7 +5874,7 @@

Methods

https://api.slack.com/methods/admin.functions.permissions.lookup

-def admin_functions_permissions_set(self, *, function_id: str, visibility: str, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_functions_permissions_set(self,
*,
function_id: str,
visibility: str,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Set the visibility of a Slack function @@ -5882,48 +5882,48 @@

Methods

https://api.slack.com/methods/admin.functions.permissions.set

-def admin_inviteRequests_approve(self, *, invite_request_id: str, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_inviteRequests_approve(self, *, invite_request_id: str, team_id: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_inviteRequests_approved_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_inviteRequests_approved_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

List all approved workspace invite requests. https://api.slack.com/methods/admin.inviteRequests.approved.list

-def admin_inviteRequests_denied_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_inviteRequests_denied_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

List all denied workspace invite requests. https://api.slack.com/methods/admin.inviteRequests.denied.list

-def admin_inviteRequests_deny(self, *, invite_request_id: str, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_inviteRequests_deny(self, *, invite_request_id: str, team_id: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_inviteRequests_list(self, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_inviteRequests_list(self, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

List all pending workspace invite requests.

-def admin_roles_addAssignments(self, *, role_id: str, entity_ids: Union[str, Sequence[str]], user_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_roles_addAssignments(self,
*,
role_id: str,
entity_ids: str | Sequence[str],
user_ids: str | Sequence[str],
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Adds members to the specified role with the specified scopes https://api.slack.com/methods/admin.roles.addAssignments

-def admin_roles_listAssignments(self, *, role_ids: Union[str, Sequence[str], ForwardRef(None)] = None, entity_ids: Union[str, Sequence[str], ForwardRef(None)] = None, cursor: Optional[str] = None, limit: Union[str, int, ForwardRef(None)] = None, sort_dir: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_roles_listAssignments(self,
*,
role_ids: str | Sequence[str] | None = None,
entity_ids: str | Sequence[str] | None = None,
cursor: str | None = None,
limit: str | int | None = None,
sort_dir: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists assignments for all roles across entities. @@ -5931,140 +5931,140 @@

Methods

https://api.slack.com/methods/admin.roles.listAssignments

-def admin_roles_removeAssignments(self, *, role_id: str, entity_ids: Union[str, Sequence[str]], user_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_roles_removeAssignments(self,
*,
role_id: str,
entity_ids: str | Sequence[str],
user_ids: str | Sequence[str],
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Removes a set of users from a role for the given scopes and entities https://api.slack.com/methods/admin.roles.removeAssignments

-def admin_teams_admins_list(self, *, team_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_teams_admins_list(self, *, team_id: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

List all of the admins on a given workspace. https://api.slack.com/methods/admin.inviteRequests.list

-def admin_teams_create(self, *, team_domain: str, team_name: str, team_description: Optional[str] = None, team_discoverability: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_teams_create(self,
*,
team_domain: str,
team_name: str,
team_description: str | None = None,
team_discoverability: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_teams_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_teams_list(self, *, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

List all teams on an Enterprise organization. https://api.slack.com/methods/admin.teams.list

-def admin_teams_owners_list(self, *, team_id: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_teams_owners_list(self, *, team_id: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

List all of the admins on a given workspace. https://api.slack.com/methods/admin.teams.owners.list

-def admin_teams_settings_info(self, *, team_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_teams_settings_info(self, *, team_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Fetch information about settings in a workspace https://api.slack.com/methods/admin.teams.settings.info

-def admin_teams_settings_setDefaultChannels(self, *, team_id: str, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_teams_settings_setDefaultChannels(self, *, team_id: str, channel_ids: str | Sequence[str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_teams_settings_setDescription(self, *, team_id: str, description: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_teams_settings_setDescription(self, *, team_id: str, description: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_teams_settings_setDiscoverability(self, *, team_id: str, discoverability: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_teams_settings_setDiscoverability(self, *, team_id: str, discoverability: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_teams_settings_setIcon(self, *, team_id: str, image_url: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_teams_settings_setIcon(self, *, team_id: str, image_url: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_teams_settings_setName(self, *, team_id: str, name: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_teams_settings_setName(self, *, team_id: str, name: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_usergroups_addChannels(self, *, channel_ids: Union[str, Sequence[str]], usergroup_id: str, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_usergroups_addChannels(self,
*,
channel_ids: str | Sequence[str],
usergroup_id: str,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.addChannels

-def admin_usergroups_addTeams(self, *, usergroup_id: str, team_ids: Union[str, Sequence[str]], auto_provision: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_usergroups_addTeams(self,
*,
usergroup_id: str,
team_ids: str | Sequence[str],
auto_provision: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Associate one or more default workspaces with an organization-wide IDP group. https://api.slack.com/methods/admin.usergroups.addTeams

-def admin_usergroups_listChannels(self, *, usergroup_id: str, include_num_members: Optional[bool] = None, team_id: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_usergroups_listChannels(self,
*,
usergroup_id: str,
include_num_members: bool | None = None,
team_id: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.listChannels

-def admin_usergroups_removeChannels(self, *, usergroup_id: str, channel_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_usergroups_removeChannels(self, *, usergroup_id: str, channel_ids: str | Sequence[str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Add one or more default channels to an IDP group. https://api.slack.com/methods/admin.usergroups.removeChannels

-def admin_users_assign(self, *, team_id: str, user_id: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, is_restricted: Optional[bool] = None, is_ultra_restricted: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_assign(self,
*,
team_id: str,
user_id: str,
channel_ids: str | Sequence[str] | None = None,
is_restricted: bool | None = None,
is_ultra_restricted: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Add an Enterprise user to a workspace. https://api.slack.com/methods/admin.users.assign

-def admin_users_invite(self, *, team_id: str, email: str, channel_ids: Union[str, Sequence[str]], custom_message: Optional[str] = None, email_password_policy_enabled: Optional[bool] = None, guest_expiration_ts: Union[str, float, ForwardRef(None)] = None, is_restricted: Optional[bool] = None, is_ultra_restricted: Optional[bool] = None, real_name: Optional[str] = None, resend: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_invite(self,
*,
team_id: str,
email: str,
channel_ids: str | Sequence[str],
custom_message: str | None = None,
email_password_policy_enabled: bool | None = None,
guest_expiration_ts: str | float | None = None,
is_restricted: bool | None = None,
is_ultra_restricted: bool | None = None,
real_name: str | None = None,
resend: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_users_list(self, *, team_id: str, include_deactivated_user_workspaces: Optional[bool] = None, is_active: Optional[bool] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_list(self,
*,
team_id: str,
include_deactivated_user_workspaces: bool | None = None,
is_active: bool | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_users_remove(self, *, team_id: str, user_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_remove(self, *, team_id: str, user_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Remove a user from a workspace. https://api.slack.com/methods/admin.users.remove

-def admin_users_session_clearSettings(self, *, user_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_session_clearSettings(self, *, user_ids: str | Sequence[str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Clear user-specific session settings—the session duration @@ -6072,7 +6072,7 @@

Methods

https://api.slack.com/methods/admin.users.session.clearSettings

-def admin_users_session_getSettings(self, *, user_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_session_getSettings(self, *, user_ids: str | Sequence[str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Get user-specific session settings—the session duration @@ -6080,35 +6080,35 @@

Methods

https://api.slack.com/methods/admin.users.session.getSettings

-def admin_users_session_invalidate(self, *, session_id: str, team_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_session_invalidate(self, *, session_id: str, team_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Invalidate a single session for a user by session_id. https://api.slack.com/methods/admin.users.session.invalidate

-def admin_users_session_list(self, *, cursor: Optional[str] = None, limit: Optional[int] = None, team_id: Optional[str] = None, user_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_session_list(self,
*,
cursor: str | None = None,
limit: int | None = None,
team_id: str | None = None,
user_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists all active user sessions for an organization https://api.slack.com/methods/admin.users.session.list

-def admin_users_session_reset(self, *, user_id: str, mobile_only: Optional[bool] = None, web_only: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_session_reset(self,
*,
user_id: str,
mobile_only: bool | None = None,
web_only: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Wipes all valid sessions on all devices for a given user. https://api.slack.com/methods/admin.users.session.reset

-def admin_users_session_resetBulk(self, *, user_ids: Union[str, Sequence[str]], mobile_only: Optional[bool] = None, web_only: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_session_resetBulk(self,
*,
user_ids: str | Sequence[str],
mobile_only: bool | None = None,
web_only: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Enqueues an asynchronous job to wipe all valid sessions on all devices for a given list of users https://api.slack.com/methods/admin.users.session.resetBulk

-def admin_users_session_setSettings(self, *, user_ids: Union[str, Sequence[str]], desktop_app_browser_quit: Optional[bool] = None, duration: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_session_setSettings(self,
*,
user_ids: str | Sequence[str],
desktop_app_browser_quit: bool | None = None,
duration: int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Configure the user-level session settings—the session duration @@ -6116,35 +6116,35 @@

Methods

https://api.slack.com/methods/admin.users.session.setSettings

-def admin_users_setAdmin(self, *, team_id: str, user_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_setAdmin(self, *, team_id: str, user_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Set an existing guest, regular user, or owner to be an admin user. https://api.slack.com/methods/admin.users.setAdmin

-def admin_users_setExpiration(self, *, expiration_ts: int, user_id: str, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_setExpiration(self, *, expiration_ts: int, user_id: str, team_id: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def admin_users_setOwner(self, *, team_id: str, user_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_setOwner(self, *, team_id: str, user_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Set an existing guest, regular user, or admin user to be a workspace owner. https://api.slack.com/methods/admin.users.setOwner

-def admin_users_setRegular(self, *, team_id: str, user_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_setRegular(self, *, team_id: str, user_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Set an existing guest user, admin user, or owner to be a regular user. https://api.slack.com/methods/admin.users.setRegular

-def admin_users_unsupportedVersions_export(self, *, date_end_of_support: Union[str, int, ForwardRef(None)] = None, date_sessions_started: Union[str, int, ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_users_unsupportedVersions_export(self,
*,
date_end_of_support: str | int | None = None,
date_sessions_started: str | int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Ask Slackbot to send you an export listing all workspace members using unsupported software, @@ -6152,49 +6152,49 @@

Methods

https://api.slack.com/methods/admin.users.unsupportedVersions.export

-def admin_workflows_collaborators_add(self, *, collaborator_ids: Union[str, Sequence[str]], workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_workflows_collaborators_add(self,
*,
collaborator_ids: str | Sequence[str],
workflow_ids: str | Sequence[str],
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Add collaborators to workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.collaborators.add

-def admin_workflows_collaborators_remove(self, *, collaborator_ids: Union[str, Sequence[str]], workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_workflows_collaborators_remove(self,
*,
collaborator_ids: str | Sequence[str],
workflow_ids: str | Sequence[str],
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Remove collaborators from workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.collaborators.remove

-def admin_workflows_permissions_lookup(self, *, workflow_ids: Union[str, Sequence[str]], max_workflow_triggers: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_workflows_permissions_lookup(self,
*,
workflow_ids: str | Sequence[str],
max_workflow_triggers: int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Look up the permissions for a set of workflows https://api.slack.com/methods/admin.workflows.permissions.lookup

Search workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.search

-def admin_workflows_unpublish(self, *, workflow_ids: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def admin_workflows_unpublish(self, *, workflow_ids: str | Sequence[str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Unpublish workflows within the team or enterprise https://api.slack.com/methods/admin.workflows.unpublish

-def api_test(self, *, error: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def api_test(self, *, error: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def apps_connections_open(self, *, app_token: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def apps_connections_open(self, *, app_token: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Generate a temporary Socket Mode WebSocket URL that your app can connect to @@ -6202,7 +6202,7 @@

Methods

https://api.slack.com/methods/apps.connections.open

-def apps_event_authorizations_list(self, *, event_context: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def apps_event_authorizations_list(self,
*,
event_context: str,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Get a list of authorizations for the given event context. @@ -6210,482 +6210,482 @@

Methods

https://api.slack.com/methods/apps.event.authorizations.list

-def apps_manifest_create(self, *, manifest: Union[str, Dict[str, Any]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def apps_manifest_create(self, *, manifest: str | Dict[str, Any], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Create an app from an app manifest https://api.slack.com/methods/apps.manifest.create

-def apps_manifest_delete(self, *, app_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def apps_manifest_delete(self, *, app_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Permanently deletes an app created through app manifests https://api.slack.com/methods/apps.manifest.delete

-def apps_manifest_export(self, *, app_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def apps_manifest_export(self, *, app_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Export an app manifest from an existing app https://api.slack.com/methods/apps.manifest.export

-def apps_manifest_update(self, *, app_id: str, manifest: Union[str, Dict[str, Any]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def apps_manifest_update(self, *, app_id: str, manifest: str | Dict[str, Any], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Update an app from an app manifest https://api.slack.com/methods/apps.manifest.update

-def apps_manifest_validate(self, *, manifest: Union[str, Dict[str, Any]], app_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def apps_manifest_validate(self, *, manifest: str | Dict[str, Any], app_id: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def apps_uninstall(self, *, client_id: str, client_secret: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def apps_uninstall(self, *, client_id: str, client_secret: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Uninstalls your app from a workspace. https://api.slack.com/methods/apps.uninstall

-def assistant_threads_setStatus(self, *, channel_id: str, thread_ts: str, status: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def assistant_threads_setStatus(self, *, channel_id: str, thread_ts: str, status: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def assistant_threads_setSuggestedPrompts(self, *, channel_id: str, thread_ts: str, title: Optional[str] = None, prompts: List[Dict[str, str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def assistant_threads_setSuggestedPrompts(self,
*,
channel_id: str,
thread_ts: str,
title: str | None = None,
prompts: List[Dict[str, str]],
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def assistant_threads_setTitle(self, *, channel_id: str, thread_ts: str, title: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def assistant_threads_setTitle(self, *, channel_id: str, thread_ts: str, title: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def auth_revoke(self, *, test: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def auth_revoke(self, *, test: bool | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def auth_teams_list(self, cursor: Optional[str] = None, limit: Optional[int] = None, include_icon: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def auth_teams_list(self,
cursor: str | None = None,
limit: int | None = None,
include_icon: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

List the workspaces a token can access. https://api.slack.com/methods/auth.teams.list

-def auth_test(self, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def auth_test(self, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Checks authentication & identity. https://api.slack.com/methods/auth.test

-def bookmarks_add(self, *, channel_id: str, title: str, type: str, emoji: Optional[str] = None, entity_id: Optional[str] = None, link: Optional[str] = None, parent_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def bookmarks_add(self,
*,
channel_id: str,
title: str,
type: str,
emoji: str | None = None,
entity_id: str | None = None,
link: str | None = None,
parent_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def bookmarks_edit(self, *, bookmark_id: str, channel_id: str, emoji: Optional[str] = None, link: Optional[str] = None, title: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def bookmarks_edit(self,
*,
bookmark_id: str,
channel_id: str,
emoji: str | None = None,
link: str | None = None,
title: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def bookmarks_list(self, *, channel_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def bookmarks_list(self, *, channel_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

List bookmark for the channel. https://api.slack.com/methods/bookmarks.list

-def bookmarks_remove(self, *, bookmark_id: str, channel_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def bookmarks_remove(self, *, bookmark_id: str, channel_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Remove bookmark from the channel. https://api.slack.com/methods/bookmarks.remove

-def bots_info(self, *, bot: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def bots_info(self, *, bot: str | None = None, team_id: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Gets information about a bot user. https://api.slack.com/methods/bots.info

-def calls_add(self, *, external_unique_id: str, join_url: str, created_by: Optional[str] = None, date_start: Optional[int] = None, desktop_app_join_url: Optional[str] = None, external_display_id: Optional[str] = None, title: Optional[str] = None, users: Union[str, Sequence[Dict[str, str]], ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def calls_add(self,
*,
external_unique_id: str,
join_url: str,
created_by: str | None = None,
date_start: int | None = None,
desktop_app_join_url: str | None = None,
external_display_id: str | None = None,
title: str | None = None,
users: str | Sequence[Dict[str, str]] | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def calls_end(self, *, id: str, duration: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def calls_end(self, *, id: str, duration: int | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def calls_info(self, *, id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def calls_info(self, *, id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Returns information about a Call. https://api.slack.com/methods/calls.info

-def calls_participants_add(self, *, id: str, users: Union[str, Sequence[Dict[str, str]]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def calls_participants_add(self, *, id: str, users: str | Sequence[Dict[str, str]], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Registers new participants added to a Call. https://api.slack.com/methods/calls.participants.add

-def calls_participants_remove(self, *, id: str, users: Union[str, Sequence[Dict[str, str]]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def calls_participants_remove(self, *, id: str, users: str | Sequence[Dict[str, str]], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Registers participants removed from a Call. https://api.slack.com/methods/calls.participants.remove

-def calls_update(self, *, id: str, desktop_app_join_url: Optional[str] = None, join_url: Optional[str] = None, title: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def calls_update(self,
*,
id: str,
desktop_app_join_url: str | None = None,
join_url: str | None = None,
title: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Updates information about a Call. https://api.slack.com/methods/calls.update

-def canvases_access_delete(self, *, canvas_id: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def canvases_access_delete(self,
*,
canvas_id: str,
channel_ids: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Create a Channel Canvas for a channel https://api.slack.com/methods/canvases.access.delete

-def canvases_access_set(self, *, canvas_id: str, access_level: str, channel_ids: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def canvases_access_set(self,
*,
canvas_id: str,
access_level: str,
channel_ids: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sets the access level to a canvas for specified entities https://api.slack.com/methods/canvases.access.set

-def canvases_create(self, *, title: Optional[str] = None, document_content: Dict[str, str], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def canvases_create(self, *, title: str | None = None, document_content: Dict[str, str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def canvases_delete(self, *, canvas_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def canvases_delete(self, *, canvas_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def canvases_edit(self, *, canvas_id: str, changes: Sequence[Dict[str, Any]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def canvases_edit(self, *, canvas_id: str, changes: Sequence[Dict[str, Any]], **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def canvases_sections_lookup(self, *, canvas_id: str, criteria: Dict[str, Any], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def canvases_sections_lookup(self, *, canvas_id: str, criteria: Dict[str, Any], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Find sections matching the provided criteria https://api.slack.com/methods/canvases.sections.lookup

-def channels_archive(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_archive(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Archives a channel.

-def channels_create(self, *, name: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_create(self, *, name: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Creates a channel.

-def channels_history(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_history(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Fetches history of messages and events from a channel.

-def channels_info(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_info(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Gets information about a channel.

-def channels_invite(self, *, channel: str, user: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_invite(self, *, channel: str, user: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Invites a user to a channel.

-def channels_join(self, *, name: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_join(self, *, name: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Joins a channel, creating it if needed.

-def channels_kick(self, *, channel: str, user: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_kick(self, *, channel: str, user: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Removes a user from a channel.

-def channels_leave(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_leave(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Leaves a channel.

-def channels_list(self, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_list(self, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists all channels in a Slack team.

-def channels_mark(self, *, channel: str, ts: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_mark(self, *, channel: str, ts: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sets the read cursor in a channel.

-def channels_rename(self, *, channel: str, name: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_rename(self, *, channel: str, name: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Renames a channel.

-def channels_replies(self, *, channel: str, thread_ts: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_replies(self, *, channel: str, thread_ts: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieve a thread of messages posted to a channel

-def channels_setPurpose(self, *, channel: str, purpose: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_setPurpose(self, *, channel: str, purpose: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sets the purpose for a channel.

-def channels_setTopic(self, *, channel: str, topic: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_setTopic(self, *, channel: str, topic: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sets the topic for a channel.

-def channels_unarchive(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def channels_unarchive(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Unarchives a channel.

-def chat_delete(self, *, channel: str, ts: str, as_user: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def chat_delete(self, *, channel: str, ts: str, as_user: bool | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def chat_deleteScheduledMessage(self, *, channel: str, scheduled_message_id: str, as_user: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def chat_deleteScheduledMessage(self,
*,
channel: str,
scheduled_message_id: str,
as_user: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieve a permalink URL for a specific extant message https://api.slack.com/methods/chat.getPermalink

-def chat_meMessage(self, *, channel: str, text: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def chat_meMessage(self, *, channel: str, text: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Share a me message into a channel. https://api.slack.com/methods/chat.meMessage

-def chat_postEphemeral(self, *, channel: str, user: str, text: Optional[str] = None, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, icon_emoji: Optional[str] = None, icon_url: Optional[str] = None, link_names: Optional[bool] = None, username: Optional[str] = None, parse: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def chat_postEphemeral(self,
*,
channel: str,
user: str,
text: str | None = None,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
icon_emoji: str | None = None,
icon_url: str | None = None,
link_names: bool | None = None,
username: str | None = None,
parse: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sends an ephemeral message to a user in a channel. https://api.slack.com/methods/chat.postEphemeral

-def chat_postMessage(self, *, channel: str, text: Optional[str] = None, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, reply_broadcast: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, container_id: Optional[str] = None, icon_emoji: Optional[str] = None, icon_url: Optional[str] = None, mrkdwn: Optional[bool] = None, link_names: Optional[bool] = None, username: Optional[str] = None, parse: Optional[str] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def chat_postMessage(self,
*,
channel: str,
text: str | None = None,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
reply_broadcast: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
container_id: str | None = None,
icon_emoji: str | None = None,
icon_url: str | None = None,
mrkdwn: bool | None = None,
link_names: bool | None = None,
username: str | None = None,
parse: str | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def chat_scheduleMessage(self, *, channel: str, post_at: Union[str, int], text: str, as_user: Optional[bool] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, thread_ts: Optional[str] = None, parse: Optional[str] = None, reply_broadcast: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, link_names: Optional[bool] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def chat_scheduleMessage(self,
*,
channel: str,
post_at: str | int,
text: str,
as_user: bool | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
thread_ts: str | None = None,
parse: str | None = None,
reply_broadcast: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
link_names: bool | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def chat_scheduledMessages_list(self, *, channel: Optional[str] = None, cursor: Optional[str] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def chat_scheduledMessages_list(self,
*,
channel: str | None = None,
cursor: str | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def chat_unfurl(self, *, channel: Optional[str] = None, ts: Optional[str] = None, source: Optional[str] = None, unfurl_id: Optional[str] = None, unfurls: Optional[Dict[str, Dict]] = None, user_auth_blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, user_auth_message: Optional[str] = None, user_auth_required: Optional[bool] = None, user_auth_url: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def chat_unfurl(self,
*,
channel: str | None = None,
ts: str | None = None,
source: str | None = None,
unfurl_id: str | None = None,
unfurls: Dict[str, Dict] | None = None,
user_auth_blocks: str | Sequence[Dict | Block] | None = None,
user_auth_message: str | None = None,
user_auth_required: bool | None = None,
user_auth_url: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Provide custom unfurl behavior for user-posted URLs. https://api.slack.com/methods/chat.unfurl

-def chat_update(self, *, channel: str, ts: str, text: Optional[str] = None, attachments: Union[str, Sequence[Union[Dict, Attachment]], ForwardRef(None)] = None, blocks: Union[str, Sequence[Union[Dict, Block]], ForwardRef(None)] = None, as_user: Optional[bool] = None, file_ids: Union[str, Sequence[str], ForwardRef(None)] = None, link_names: Optional[bool] = None, parse: Optional[str] = None, reply_broadcast: Optional[bool] = None, metadata: Union[Dict, Metadata, ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def chat_update(self,
*,
channel: str,
ts: str,
text: str | None = None,
attachments: str | Sequence[Dict | Attachment] | None = None,
blocks: str | Sequence[Dict | Block] | None = None,
as_user: bool | None = None,
file_ids: str | Sequence[str] | None = None,
link_names: bool | None = None,
parse: str | None = None,
reply_broadcast: bool | None = None,
metadata: Dict | Metadata | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Updates a message in a channel. https://api.slack.com/methods/chat.update

-def conversations_acceptSharedInvite(self, *, channel_name: str, channel_id: Optional[str] = None, invite_id: Optional[str] = None, free_trial_accepted: Optional[bool] = None, is_private: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_acceptSharedInvite(self,
*,
channel_name: str,
channel_id: str | None = None,
invite_id: str | None = None,
free_trial_accepted: bool | None = None,
is_private: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Accepts an invitation to a Slack Connect channel. https://api.slack.com/methods/conversations.acceptSharedInvite

-def conversations_approveSharedInvite(self, *, invite_id: str, target_team: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_approveSharedInvite(self, *, invite_id: str, target_team: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Approves an invitation to a Slack Connect channel. https://api.slack.com/methods/conversations.approveSharedInvite

-def conversations_archive(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_archive(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def conversations_canvases_create(self, *, channel_id: str, document_content: Dict[str, str], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_canvases_create(self, *, channel_id: str, document_content: Dict[str, str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def conversations_close(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_close(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Closes a direct message or multi-person direct message. https://api.slack.com/methods/conversations.close

-def conversations_create(self, *, name: str, is_private: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_create(self,
*,
name: str,
is_private: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Initiates a public or private channel-based conversation https://api.slack.com/methods/conversations.create

-def conversations_declineSharedInvite(self, *, invite_id: str, target_team: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_declineSharedInvite(self, *, invite_id: str, target_team: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def conversations_externalInvitePermissions_set(self, *, action: str, channel: str, target_team: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_externalInvitePermissions_set(self, *, action: str, channel: str, target_team: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sets a team in a shared External Limited channel to a shared Slack Connect channel or vice versa. https://api.slack.com/methods/conversations.externalInvitePermissions.set

-def conversations_history(self, *, channel: str, cursor: Optional[str] = None, inclusive: Optional[bool] = None, include_all_metadata: Optional[bool] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_history(self,
*,
channel: str,
cursor: str | None = None,
inclusive: bool | None = None,
include_all_metadata: bool | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Fetches a conversation's history of messages and events. https://api.slack.com/methods/conversations.history

-def conversations_info(self, *, channel: str, include_locale: Optional[bool] = None, include_num_members: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_info(self,
*,
channel: str,
include_locale: bool | None = None,
include_num_members: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieve information about a conversation. https://api.slack.com/methods/conversations.info

-def conversations_invite(self, *, channel: str, users: Union[str, Sequence[str]], force: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_invite(self,
*,
channel: str,
users: str | Sequence[str],
force: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def conversations_inviteShared(self, *, channel: str, emails: Union[str, Sequence[str], ForwardRef(None)] = None, user_ids: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_inviteShared(self,
*,
channel: str,
emails: str | Sequence[str] | None = None,
user_ids: str | Sequence[str] | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sends an invitation to a Slack Connect channel. https://api.slack.com/methods/conversations.inviteShared

-def conversations_join(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_join(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Joins an existing conversation. https://api.slack.com/methods/conversations.join

-def conversations_kick(self, *, channel: str, user: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_kick(self, *, channel: str, user: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Removes a user from a conversation. https://api.slack.com/methods/conversations.kick

-def conversations_leave(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_leave(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def conversations_list(self, *, cursor: Optional[str] = None, exclude_archived: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_list(self,
*,
cursor: str | None = None,
exclude_archived: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
types: str | Sequence[str] | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists all channels in a Slack team. https://api.slack.com/methods/conversations.list

-def conversations_listConnectInvites(self, *, count: Optional[int] = None, cursor: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_listConnectInvites(self,
*,
count: int | None = None,
cursor: str | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

List shared channel invites that have been generated @@ -6693,238 +6693,238 @@

Methods

https://api.slack.com/methods/conversations.listConnectInvites

-def conversations_mark(self, *, channel: str, ts: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_mark(self, *, channel: str, ts: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sets the read cursor in a channel. https://api.slack.com/methods/conversations.mark

-def conversations_members(self, *, channel: str, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_members(self, *, channel: str, cursor: str | None = None, limit: int | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieve members of a conversation. https://api.slack.com/methods/conversations.members

-def conversations_open(self, *, channel: Optional[str] = None, return_im: Optional[bool] = None, users: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_open(self,
*,
channel: str | None = None,
return_im: bool | None = None,
users: str | Sequence[str] | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Opens or resumes a direct message or multi-person direct message. https://api.slack.com/methods/conversations.open

-def conversations_rename(self, *, channel: str, name: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_rename(self, *, channel: str, name: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def conversations_replies(self, *, channel: str, ts: str, cursor: Optional[str] = None, inclusive: Optional[bool] = None, include_all_metadata: Optional[bool] = None, latest: Optional[str] = None, limit: Optional[int] = None, oldest: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_replies(self,
*,
channel: str,
ts: str,
cursor: str | None = None,
inclusive: bool | None = None,
include_all_metadata: bool | None = None,
latest: str | None = None,
limit: int | None = None,
oldest: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieve a thread of messages posted to a conversation https://api.slack.com/methods/conversations.replies

-def conversations_requestSharedInvite_approve(self, *, invite_id: str, channel_id: Optional[str] = None, is_external_limited: Optional[str] = None, message: Optional[Dict[str, Any]] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_requestSharedInvite_approve(self,
*,
invite_id: str,
channel_id: str | None = None,
is_external_limited: str | None = None,
message: Dict[str, Any] | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Approve a request to add an external user to a channel. This also sends them a Slack Connect invite. https://api.slack.com/methods/conversations.requestSharedInvite.approve

-def conversations_requestSharedInvite_deny(self, *, invite_id: str, message: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_requestSharedInvite_deny(self, *, invite_id: str, message: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Deny a request to invite an external user to a channel. https://api.slack.com/methods/conversations.requestSharedInvite.deny

-def conversations_requestSharedInvite_list(self, *, cursor: Optional[str] = None, include_approved: Optional[bool] = None, include_denied: Optional[bool] = None, include_expired: Optional[bool] = None, invite_ids: Union[str, Sequence[str], ForwardRef(None)] = None, limit: Optional[int] = None, user_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_requestSharedInvite_list(self,
*,
cursor: str | None = None,
include_approved: bool | None = None,
include_denied: bool | None = None,
include_expired: bool | None = None,
invite_ids: str | Sequence[str] | None = None,
limit: int | None = None,
user_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists requests to add external users to channels with ability to filter. https://api.slack.com/methods/conversations.requestSharedInvite.list

-def conversations_setPurpose(self, *, channel: str, purpose: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_setPurpose(self, *, channel: str, purpose: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sets the purpose for a conversation. https://api.slack.com/methods/conversations.setPurpose

-def conversations_setTopic(self, *, channel: str, topic: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_setTopic(self, *, channel: str, topic: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sets the topic for a conversation. https://api.slack.com/methods/conversations.setTopic

-def conversations_unarchive(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def conversations_unarchive(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def dialog_open(self, *, dialog: Dict[str, Any], trigger_id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def dialog_open(self, *, dialog: Dict[str, Any], trigger_id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def dnd_endDnd(self, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def dnd_endDnd(self, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Ends the current user's Do Not Disturb session immediately. https://api.slack.com/methods/dnd.endDnd

-def dnd_endSnooze(self, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def dnd_endSnooze(self, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Ends the current user's snooze mode immediately. https://api.slack.com/methods/dnd.endSnooze

-def dnd_info(self, *, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def dnd_info(self, *, team_id: str | None = None, user: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieves a user's current Do Not Disturb status. https://api.slack.com/methods/dnd.info

-def dnd_setSnooze(self, *, num_minutes: Union[str, int], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def dnd_setSnooze(self, *, num_minutes: str | int, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Turns on Do Not Disturb mode for the current user, or changes its duration. https://api.slack.com/methods/dnd.setSnooze

-def dnd_teamInfo(self, users: Union[str, Sequence[str]], team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def dnd_teamInfo(self, users: str | Sequence[str], team_id: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieves the Do Not Disturb status for users on a team. https://api.slack.com/methods/dnd.teamInfo

-def emoji_list(self, include_categories: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def emoji_list(self, include_categories: bool | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists custom emoji for a team. https://api.slack.com/methods/emoji.list

-def files_comments_delete(self, *, file: str, id: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_comments_delete(self, *, file: str, id: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Deletes an existing comment on a file. https://api.slack.com/methods/files.comments.delete

-def files_completeUploadExternal(self, *, files: List[Dict[str, str]], channel_id: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_completeUploadExternal(self,
*,
files: List[Dict[str, str]],
channel_id: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Finishes an upload started with files.getUploadURLExternal. https://api.slack.com/methods/files.completeUploadExternal

-def files_delete(self, *, file: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_delete(self, *, file: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def files_getUploadURLExternal(self, *, filename: str, length: int, alt_txt: Optional[str] = None, snippet_type: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_getUploadURLExternal(self,
*,
filename: str,
length: int,
alt_txt: str | None = None,
snippet_type: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Gets a URL for an edge external upload. https://api.slack.com/methods/files.getUploadURLExternal

-def files_info(self, *, file: str, count: Optional[int] = None, cursor: Optional[str] = None, limit: Optional[int] = None, page: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_info(self,
*,
file: str,
count: int | None = None,
cursor: str | None = None,
limit: int | None = None,
page: int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Gets information about a team file. https://api.slack.com/methods/files.info

-def files_list(self, *, channel: Optional[str] = None, count: Optional[int] = None, page: Optional[int] = None, show_files_hidden_by_limit: Optional[bool] = None, team_id: Optional[str] = None, ts_from: Optional[str] = None, ts_to: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, user: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_list(self,
*,
channel: str | None = None,
count: int | None = None,
page: int | None = None,
show_files_hidden_by_limit: bool | None = None,
team_id: str | None = None,
ts_from: str | None = None,
ts_to: str | None = None,
types: str | Sequence[str] | None = None,
user: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists & filters team files. https://api.slack.com/methods/files.list

-def files_remote_add(self, *, external_id: str, external_url: str, title: str, filetype: Optional[str] = None, indexable_file_contents: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, preview_image: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_remote_add(self,
*,
external_id: str,
external_url: str,
title: str,
filetype: str | None = None,
indexable_file_contents: str | bytes | io.IOBase | None = None,
preview_image: str | bytes | io.IOBase | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Adds a file from a remote service. https://api.slack.com/methods/files.remote.add

-def files_remote_info(self, *, external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_remote_info(self, *, external_id: str | None = None, file: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieve information about a remote file added to Slack. https://api.slack.com/methods/files.remote.info

-def files_remote_list(self, *, channel: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, ts_from: Optional[str] = None, ts_to: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_remote_list(self,
*,
channel: str | None = None,
cursor: str | None = None,
limit: int | None = None,
ts_from: str | None = None,
ts_to: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieve information about a remote file added to Slack. https://api.slack.com/methods/files.remote.list

-def files_remote_remove(self, *, external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_remote_remove(self, *, external_id: str | None = None, file: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def files_remote_share(self, *, channels: Union[str, Sequence[str]], external_id: Optional[str] = None, file: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_remote_share(self,
*,
channels: str | Sequence[str],
external_id: str | None = None,
file: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Share a remote file into a channel. https://api.slack.com/methods/files.remote.share

-def files_remote_update(self, *, external_id: Optional[str] = None, external_url: Optional[str] = None, file: Optional[str] = None, title: Optional[str] = None, filetype: Optional[str] = None, indexable_file_contents: Optional[str] = None, preview_image: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_remote_update(self,
*,
external_id: str | None = None,
external_url: str | None = None,
file: str | None = None,
title: str | None = None,
filetype: str | None = None,
indexable_file_contents: str | None = None,
preview_image: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Updates an existing remote file. https://api.slack.com/methods/files.remote.update

-def files_revokePublicURL(self, *, file: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_revokePublicURL(self, *, file: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Revokes public/external sharing access for a file https://api.slack.com/methods/files.revokePublicURL

-def files_sharedPublicURL(self, *, file: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_sharedPublicURL(self, *, file: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Enables a file for public/external sharing. https://api.slack.com/methods/files.sharedPublicURL

-def files_upload(self, *, file: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, content: Union[str, bytes, ForwardRef(None)] = None, filename: Optional[str] = None, filetype: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, title: Optional[str] = None, channels: Union[str, Sequence[str], ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_upload(self,
*,
file: str | bytes | io.IOBase | None = None,
content: str | bytes | None = None,
filename: str | None = None,
filetype: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
title: str | None = None,
channels: str | Sequence[str] | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def files_upload_v2(self, *, filename: Optional[str] = None, file: Union[str, bytes, io.IOBase, ForwardRef(None)] = None, content: Union[str, bytes, ForwardRef(None)] = None, title: Optional[str] = None, alt_txt: Optional[str] = None, snippet_type: Optional[str] = None, file_uploads: Optional[List[Dict[str, Any]]] = None, channel: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str] = None, request_file_info: bool = True, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def files_upload_v2(self,
*,
filename: str | None = None,
file: str | bytes | io.IOBase | None = None,
content: str | bytes | None = None,
title: str | None = None,
alt_txt: str | None = None,
snippet_type: str | None = None,
file_uploads: List[Dict[str, Any]] | None = None,
channel: str | None = None,
initial_comment: str | None = None,
thread_ts: str | None = None,
request_file_info: bool = True,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

This wrapper method provides an easy way to upload files using the following endpoints:

@@ -6942,575 +6942,575 @@

Methods

-def functions_completeError(self, *, function_execution_id: str, error: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def functions_completeError(self, *, function_execution_id: str, error: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Signal the failure to execute a function https://api.slack.com/methods/functions.completeError

-def functions_completeSuccess(self, *, function_execution_id: str, outputs: Dict[str, Any], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def functions_completeSuccess(self, *, function_execution_id: str, outputs: Dict[str, Any], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Signal the successful completion of a function https://api.slack.com/methods/functions.completeSuccess

-def groups_archive(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_archive(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Archives a private channel.

-def groups_create(self, *, name: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_create(self, *, name: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Creates a private channel.

-def groups_createChild(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_createChild(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Clones and archives a private channel.

-def groups_history(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_history(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Fetches history of messages and events from a private channel.

-def groups_info(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_info(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Gets information about a private channel.

-def groups_invite(self, *, channel: str, user: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_invite(self, *, channel: str, user: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Invites a user to a private channel.

-def groups_kick(self, *, channel: str, user: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_kick(self, *, channel: str, user: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Removes a user from a private channel.

-def groups_leave(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_leave(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Leaves a private channel.

-def groups_list(self, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_list(self, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists private channels that the calling user has access to.

-def groups_mark(self, *, channel: str, ts: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_mark(self, *, channel: str, ts: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sets the read cursor in a private channel.

-def groups_open(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_open(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Opens a private channel.

-def groups_rename(self, *, channel: str, name: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_rename(self, *, channel: str, name: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Renames a private channel.

-def groups_replies(self, *, channel: str, thread_ts: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_replies(self, *, channel: str, thread_ts: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieve a thread of messages posted to a private channel

-def groups_setPurpose(self, *, channel: str, purpose: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_setPurpose(self, *, channel: str, purpose: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sets the purpose for a private channel.

-def groups_setTopic(self, *, channel: str, topic: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_setTopic(self, *, channel: str, topic: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sets the topic for a private channel.

-def groups_unarchive(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def groups_unarchive(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Unarchives a private channel.

-def im_close(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def im_close(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Close a direct message channel.

-def im_history(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def im_history(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Fetches history of messages and events from direct message channel.

-def im_list(self, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def im_list(self, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists direct message channels for the calling user.

-def im_mark(self, *, channel: str, ts: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def im_mark(self, *, channel: str, ts: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sets the read cursor in a direct message channel.

-def im_open(self, *, user: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def im_open(self, *, user: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Opens a direct message channel.

-def im_replies(self, *, channel: str, thread_ts: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def im_replies(self, *, channel: str, thread_ts: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieve a thread of messages posted to a direct message conversation

-def migration_exchange(self, *, users: Union[str, Sequence[str]], team_id: Optional[str] = None, to_old: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def migration_exchange(self,
*,
users: str | Sequence[str],
team_id: str | None = None,
to_old: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

For Enterprise Grid workspaces, map local user IDs to global user IDs https://api.slack.com/methods/migration.exchange

-def mpim_close(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def mpim_close(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Closes a multiparty direct message channel.

-def mpim_history(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def mpim_history(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Fetches history of messages and events from a multiparty direct message.

-def mpim_list(self, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def mpim_list(self, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists multiparty direct message channels for the calling user.

-def mpim_mark(self, *, channel: str, ts: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def mpim_mark(self, *, channel: str, ts: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Sets the read cursor in a multiparty direct message channel.

-def mpim_open(self, *, users: Union[str, Sequence[str]], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def mpim_open(self, *, users: str | Sequence[str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

This method opens a multiparty direct message.

-def mpim_replies(self, *, channel: str, thread_ts: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def mpim_replies(self, *, channel: str, thread_ts: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieve a thread of messages posted to a direct message conversation from a multiparty direct message.

-def oauth_access(self, *, client_id: str, client_secret: str, code: str, redirect_uri: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def oauth_access(self,
*,
client_id: str,
client_secret: str,
code: str,
redirect_uri: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Exchanges a temporary OAuth verifier code for an access token. https://api.slack.com/methods/oauth.access

-def oauth_v2_access(self, *, client_id: str, client_secret: str, code: Optional[str] = None, redirect_uri: Optional[str] = None, grant_type: Optional[str] = None, refresh_token: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def oauth_v2_access(self,
*,
client_id: str,
client_secret: str,
code: str | None = None,
redirect_uri: str | None = None,
grant_type: str | None = None,
refresh_token: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Exchanges a temporary OAuth verifier code for an access token. https://api.slack.com/methods/oauth.v2.access

-def oauth_v2_exchange(self, *, token: str, client_id: str, client_secret: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def oauth_v2_exchange(self, *, token: str, client_id: str, client_secret: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Exchanges a legacy access token for a new expiring access token and refresh token https://api.slack.com/methods/oauth.v2.exchange

-def openid_connect_token(self, client_id: str, client_secret: str, code: Optional[str] = None, redirect_uri: Optional[str] = None, grant_type: Optional[str] = None, refresh_token: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def openid_connect_token(self,
client_id: str,
client_secret: str,
code: str | None = None,
redirect_uri: str | None = None,
grant_type: str | None = None,
refresh_token: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Exchanges a temporary OAuth verifier code for an access token for Sign in with Slack. https://api.slack.com/methods/openid.connect.token

-def openid_connect_userInfo(self, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def openid_connect_userInfo(self, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Get the identity of a user who has authorized Sign in with Slack. https://api.slack.com/methods/openid.connect.userInfo

-def pins_add(self, *, channel: str, timestamp: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def pins_add(self, *, channel: str, timestamp: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Pins an item to a channel. https://api.slack.com/methods/pins.add

-def pins_list(self, *, channel: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def pins_list(self, *, channel: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists items pinned to a channel. https://api.slack.com/methods/pins.list

-def pins_remove(self, *, channel: str, timestamp: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def pins_remove(self, *, channel: str, timestamp: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Un-pins an item from a channel. https://api.slack.com/methods/pins.remove

-def reactions_add(self, *, channel: str, name: str, timestamp: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def reactions_add(self, *, channel: str, name: str, timestamp: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def reactions_get(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, full: Optional[bool] = None, timestamp: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def reactions_get(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
full: bool | None = None,
timestamp: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def reactions_list(self, *, count: Optional[int] = None, cursor: Optional[str] = None, full: Optional[bool] = None, limit: Optional[int] = None, page: Optional[int] = None, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def reactions_list(self,
*,
count: int | None = None,
cursor: str | None = None,
full: bool | None = None,
limit: int | None = None,
page: int | None = None,
team_id: str | None = None,
user: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists reactions made by a user. https://api.slack.com/methods/reactions.list

-def reactions_remove(self, *, name: str, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def reactions_remove(self,
*,
name: str,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Removes a reaction from an item. https://api.slack.com/methods/reactions.remove

-def reminders_add(self, *, text: str, time: str, team_id: Optional[str] = None, user: Optional[str] = None, recurrence: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def reminders_add(self,
*,
text: str,
time: str,
team_id: str | None = None,
user: str | None = None,
recurrence: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def reminders_complete(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def reminders_complete(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def reminders_delete(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def reminders_delete(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def reminders_info(self, *, reminder: str, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def reminders_info(self, *, reminder: str, team_id: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Gets information about a reminder. https://api.slack.com/methods/reminders.info

-def reminders_list(self, *, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def reminders_list(self, *, team_id: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists all reminders created by or for a given user. https://api.slack.com/methods/reminders.list

-def rtm_connect(self, *, batch_presence_aware: Optional[bool] = None, presence_sub: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def rtm_connect(self,
*,
batch_presence_aware: bool | None = None,
presence_sub: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Starts a Real Time Messaging session. https://api.slack.com/methods/rtm.connect

-def rtm_start(self, *, batch_presence_aware: Optional[bool] = None, include_locale: Optional[bool] = None, mpim_aware: Optional[bool] = None, no_latest: Optional[bool] = None, no_unreads: Optional[bool] = None, presence_sub: Optional[bool] = None, simple_latest: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def rtm_start(self,
*,
batch_presence_aware: bool | None = None,
include_locale: bool | None = None,
mpim_aware: bool | None = None,
no_latest: bool | None = None,
no_unreads: bool | None = None,
presence_sub: bool | None = None,
simple_latest: bool | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Starts a Real Time Messaging session. https://api.slack.com/methods/rtm.start

-def search_all(self, *, query: str, count: Optional[int] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def search_all(self,
*,
query: str,
count: int | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Searches for messages and files matching a query. https://api.slack.com/methods/search.all

-def search_files(self, *, query: str, count: Optional[int] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def search_files(self,
*,
query: str,
count: int | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Searches for files matching a query. https://api.slack.com/methods/search.files

-def search_messages(self, *, query: str, count: Optional[int] = None, cursor: Optional[str] = None, highlight: Optional[bool] = None, page: Optional[int] = None, sort: Optional[str] = None, sort_dir: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def search_messages(self,
*,
query: str,
count: int | None = None,
cursor: str | None = None,
highlight: bool | None = None,
page: int | None = None,
sort: str | None = None,
sort_dir: str | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Searches for messages matching a query. https://api.slack.com/methods/search.messages

-def stars_add(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def stars_add(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def stars_list(self, *, count: Optional[int] = None, cursor: Optional[str] = None, limit: Optional[int] = None, page: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def stars_list(self,
*,
count: int | None = None,
cursor: str | None = None,
limit: int | None = None,
page: int | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def stars_remove(self, *, channel: Optional[str] = None, file: Optional[str] = None, file_comment: Optional[str] = None, timestamp: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def stars_remove(self,
*,
channel: str | None = None,
file: str | None = None,
file_comment: str | None = None,
timestamp: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Removes a star from an item. https://api.slack.com/methods/stars.remove

-def team_accessLogs(self, *, before: Union[str, int, ForwardRef(None)] = None, count: Union[str, int, ForwardRef(None)] = None, page: Union[str, int, ForwardRef(None)] = None, team_id: Optional[str] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def team_accessLogs(self,
*,
before: str | int | None = None,
count: str | int | None = None,
page: str | int | None = None,
team_id: str | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Gets the access logs for the current team. https://api.slack.com/methods/team.accessLogs

-def team_billableInfo(self, *, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def team_billableInfo(self, *, team_id: str | None = None, user: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Gets billable users information for the current team. https://api.slack.com/methods/team.billableInfo

-def team_billing_info(self, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def team_billing_info(self, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Reads a workspace's billing plan information. https://api.slack.com/methods/team.billing.info

-def team_externalTeams_disconnect(self, *, target_team: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def team_externalTeams_disconnect(self, *, target_team: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def team_externalTeams_list(self, *, connection_status_filter: Optional[str] = None, slack_connect_pref_filter: Optional[Sequence[str]] = None, sort_direction: Optional[str] = None, sort_field: Optional[str] = None, workspace_filter: Optional[Sequence[str]] = None, cursor: Optional[str] = None, limit: Optional[int] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def team_externalTeams_list(self,
*,
connection_status_filter: str | None = None,
slack_connect_pref_filter: Sequence[str] | None = None,
sort_direction: str | None = None,
sort_field: str | None = None,
workspace_filter: Sequence[str] | None = None,
cursor: str | None = None,
limit: int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Returns a list of all the external teams connected and details about the connection. https://api.slack.com/methods/team.externalTeams.list

-def team_info(self, *, team: Optional[str] = None, domain: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def team_info(self, *, team: str | None = None, domain: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Gets information about the current team. https://api.slack.com/methods/team.info

-def team_integrationLogs(self, *, app_id: Optional[str] = None, change_type: Optional[str] = None, count: Union[str, int, ForwardRef(None)] = None, page: Union[str, int, ForwardRef(None)] = None, service_id: Optional[str] = None, team_id: Optional[str] = None, user: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def team_integrationLogs(self,
*,
app_id: str | None = None,
change_type: str | None = None,
count: str | int | None = None,
page: str | int | None = None,
service_id: str | None = None,
team_id: str | None = None,
user: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Gets the integration logs for the current team. https://api.slack.com/methods/team.integrationLogs

-def team_preferences_list(self, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def team_preferences_list(self, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieve a list of a workspace's team preferences. https://api.slack.com/methods/team.preferences.list

-def team_profile_get(self, *, visibility: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def team_profile_get(self, *, visibility: str | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def tooling_tokens_rotate(self, *, refresh_token: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def tooling_tokens_rotate(self, *, refresh_token: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Exchanges a refresh token for a new app configuration token https://api.slack.com/methods/tooling.tokens.rotate

-def usergroups_create(self, *, name: str, channels: Union[str, Sequence[str], ForwardRef(None)] = None, description: Optional[str] = None, handle: Optional[str] = None, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def usergroups_create(self,
*,
name: str,
channels: str | Sequence[str] | None = None,
description: str | None = None,
handle: str | None = None,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def usergroups_disable(self, *, usergroup: str, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def usergroups_disable(self,
*,
usergroup: str,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def usergroups_enable(self, *, usergroup: str, include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def usergroups_enable(self,
*,
usergroup: str,
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def usergroups_list(self, *, include_count: Optional[bool] = None, include_disabled: Optional[bool] = None, include_users: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def usergroups_list(self,
*,
include_count: bool | None = None,
include_disabled: bool | None = None,
include_users: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

List all User Groups for a team https://api.slack.com/methods/usergroups.list

-def usergroups_update(self, *, usergroup: str, channels: Union[str, Sequence[str], ForwardRef(None)] = None, description: Optional[str] = None, handle: Optional[str] = None, include_count: Optional[bool] = None, name: Optional[str] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def usergroups_update(self,
*,
usergroup: str,
channels: str | Sequence[str] | None = None,
description: str | None = None,
handle: str | None = None,
include_count: bool | None = None,
name: str | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def usergroups_users_list(self, *, usergroup: str, include_disabled: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def usergroups_users_list(self,
*,
usergroup: str,
include_disabled: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def usergroups_users_update(self, *, usergroup: str, users: Union[str, Sequence[str]], include_count: Optional[bool] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def usergroups_users_update(self,
*,
usergroup: str,
users: str | Sequence[str],
include_count: bool | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Update the list of users for a User Group https://api.slack.com/methods/usergroups.users.update

-def users_conversations(self, *, cursor: Optional[str] = None, exclude_archived: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, types: Union[str, Sequence[str], ForwardRef(None)] = None, user: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def users_conversations(self,
*,
cursor: str | None = None,
exclude_archived: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
types: str | Sequence[str] | None = None,
user: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

List conversations the calling user may access. https://api.slack.com/methods/users.conversations

-def users_deletePhoto(self, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def users_deletePhoto(self, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def users_discoverableContacts_lookup(self, email: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def users_discoverableContacts_lookup(self, email: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lookup an email address to see if someone is on Slack https://api.slack.com/methods/users.discoverableContacts.lookup

-def users_getPresence(self, *, user: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def users_getPresence(self, *, user: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Gets user presence information. https://api.slack.com/methods/users.getPresence

-def users_identity(self, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def users_identity(self, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def users_info(self, *, user: str, include_locale: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def users_info(self, *, user: str, include_locale: bool | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Gets information about a user. https://api.slack.com/methods/users.info

-def users_list(self, *, cursor: Optional[str] = None, include_locale: Optional[bool] = None, limit: Optional[int] = None, team_id: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def users_list(self,
*,
cursor: str | None = None,
include_locale: bool | None = None,
limit: int | None = None,
team_id: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Lists all users in a Slack team. https://api.slack.com/methods/users.list

-def users_lookupByEmail(self, *, email: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def users_lookupByEmail(self, *, email: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Find a user with an email address. https://api.slack.com/methods/users.lookupByEmail

-def users_profile_get(self, *, user: Optional[str] = None, include_labels: Optional[bool] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def users_profile_get(self, *, user: str | None = None, include_labels: bool | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Retrieves a user's profile information. https://api.slack.com/methods/users.profile.get

-def users_profile_set(self, *, name: Optional[str] = None, value: Optional[str] = None, user: Optional[str] = None, profile: Optional[Dict] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def users_profile_set(self,
*,
name: str | None = None,
value: str | None = None,
user: str | None = None,
profile: Dict | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Set the profile information for a user. https://api.slack.com/methods/users.profile.set

-def users_setPhoto(self, *, image: Union[str, io.IOBase], crop_w: Union[str, int, ForwardRef(None)] = None, crop_x: Union[str, int, ForwardRef(None)] = None, crop_y: Union[str, int, ForwardRef(None)] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def users_setPhoto(self,
*,
image: str | io.IOBase,
crop_w: str | int | None = None,
crop_x: str | int | None = None,
crop_y: str | int | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def users_setPresence(self, *, presence: str, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def users_setPresence(self, *, presence: str, **kwargs) ‑> _asyncio.Future | LegacySlackResponse
-def views_open(self, *, trigger_id: Optional[str] = None, interactivity_pointer: Optional[str] = None, view: Union[dict, View], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def views_open(self,
*,
trigger_id: str | None = None,
interactivity_pointer: str | None = None,
view: dict | View,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Open a view for a user. @@ -7518,7 +7518,7 @@

Methods

See https://api.slack.com/surfaces/modals for details.

-def views_publish(self, *, user_id: str, view: Union[dict, View], hash: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def views_publish(self,
*,
user_id: str,
view: dict | View,
hash: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Publish a static view for a User. @@ -7527,7 +7527,7 @@

Methods

https://api.slack.com/methods/views.publish

-def views_push(self, *, trigger_id: Optional[str] = None, interactivity_pointer: Optional[str] = None, view: Union[dict, View], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def views_push(self,
*,
trigger_id: str | None = None,
interactivity_pointer: str | None = None,
view: dict | View,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Push a view onto the stack of a root view. @@ -7539,7 +7539,7 @@

Methods

https://api.slack.com/methods/views.push

-def views_update(self, *, view: Union[dict, View], external_id: Optional[str] = None, view_id: Optional[str] = None, hash: Optional[str] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def views_update(self,
*,
view: dict | View,
external_id: str | None = None,
view_id: str | None = None,
hash: str | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Update an existing view. @@ -7550,21 +7550,21 @@

Methods

https://api.slack.com/methods/views.update

-def workflows_stepCompleted(self, *, workflow_step_execute_id: str, outputs: Optional[dict] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def workflows_stepCompleted(self, *, workflow_step_execute_id: str, outputs: dict | None = None, **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Indicate a successful outcome of a workflow step's execution. https://api.slack.com/methods/workflows.stepCompleted

-def workflows_stepFailed(self, *, workflow_step_execute_id: str, error: Dict[str, str], **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def workflows_stepFailed(self, *, workflow_step_execute_id: str, error: Dict[str, str], **kwargs) ‑> _asyncio.Future | LegacySlackResponse

Indicate an unsuccessful outcome of a workflow step's execution. https://api.slack.com/methods/workflows.stepFailed

-def workflows_updateStep(self, *, workflow_step_edit_id: str, inputs: Optional[Dict[str, Any]] = None, outputs: Optional[List[Dict[str, str]]] = None, **kwargs) ‑> Union[_asyncio.Future, LegacySlackResponse] +def workflows_updateStep(self,
*,
workflow_step_edit_id: str,
inputs: Dict[str, Any] | None = None,
outputs: List[Dict[str, str]] | None = None,
**kwargs) ‑> _asyncio.Future | LegacySlackResponse

Update the configuration for a workflow extension step. @@ -7908,7 +7908,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/web/legacy_slack_response.html b/docs/static/api-docs/slack_sdk/web/legacy_slack_response.html index 822d751e..c5810949 100644 --- a/docs/static/api-docs/slack_sdk/web/legacy_slack_response.html +++ b/docs/static/api-docs/slack_sdk/web/legacy_slack_response.html @@ -3,13 +3,13 @@ - + slack_sdk.web.legacy_slack_response API documentation - + @@ -38,7 +38,7 @@

Classes

class LegacySlackResponse -(*, client, http_verb: str, api_url: str, req_args: dict, data: Union[dict, bytes], headers: dict, status_code: int, use_sync_aiohttp: bool = True) +(*,
client,
http_verb: str,
api_url: str,
req_args: dict,
data: dict | bytes,
headers: dict,
status_code: int,
use_sync_aiohttp: bool = True)

An iterable container of response data.

@@ -353,7 +353,7 @@

diff --git a/docs/static/api-docs/slack_sdk/web/slack_response.html b/docs/static/api-docs/slack_sdk/web/slack_response.html index 76cc83b5..2c2d7f70 100644 --- a/docs/static/api-docs/slack_sdk/web/slack_response.html +++ b/docs/static/api-docs/slack_sdk/web/slack_response.html @@ -3,13 +3,13 @@ - + slack_sdk.web.slack_response API documentation - + @@ -38,7 +38,7 @@

Classes

class SlackResponse -(*, client, http_verb: str, api_url: str, req_args: dict, data: Union[dict, bytes], headers: dict, status_code: int) +(*,
client,
http_verb: str,
api_url: str,
req_args: dict,
data: dict | bytes,
headers: dict,
status_code: int)

An iterable container of response data.

@@ -330,7 +330,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/webhook/async_client.html b/docs/static/api-docs/slack_sdk/webhook/async_client.html index ef651b78..44f63bc1 100644 --- a/docs/static/api-docs/slack_sdk/webhook/async_client.html +++ b/docs/static/api-docs/slack_sdk/webhook/async_client.html @@ -3,13 +3,13 @@ - + slack_sdk.webhook.async_client API documentation - + @@ -37,7 +37,7 @@

Classes

class AsyncWebhookClient -(url: str, timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, session: Optional[aiohttp.client.ClientSession] = None, trust_env_in_session: bool = False, auth: Optional[aiohttp.helpers.BasicAuth] = None, default_headers: Optional[Dict[str, str]] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[slack_sdk.http_retry.async_handler.AsyncRetryHandler]] = None) +(url: str,
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
session: aiohttp.client.ClientSession | None = None,
trust_env_in_session: bool = False,
auth: aiohttp.helpers.BasicAuth | None = None,
default_headers: Dict[str, str] | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[slack_sdk.http_retry.async_handler.AsyncRetryHandler] | None = None)

API client for Incoming Webhooks and response_url

@@ -319,7 +319,7 @@

Args

Class variables

-
var auth : Optional[aiohttp.helpers.BasicAuth]
+
var auth : aiohttp.helpers.BasicAuth | None
@@ -331,7 +331,7 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
@@ -339,11 +339,11 @@

Class variables

-
var session : Optional[aiohttp.client.ClientSession]
+
var session : aiohttp.client.ClientSession | None
-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -363,7 +363,7 @@

Class variables

Methods

-async def send(self, *, text: Optional[str] = None, attachments: Optional[Sequence[Union[Dict[str, Any], Attachment]]] = None, blocks: Optional[Sequence[Union[Dict[str, Any], Block]]] = None, response_type: Optional[str] = None, replace_original: Optional[bool] = None, delete_original: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, metadata: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> WebhookResponse +async def send(self,
*,
text: str | None = None,
attachments: Sequence[Dict[str, Any] | Attachment] | None = None,
blocks: Sequence[Dict[str, Any] | Block] | None = None,
response_type: str | None = None,
replace_original: bool | None = None,
delete_original: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
metadata: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> WebhookResponse

Performs a Slack API request and returns the result.

@@ -394,7 +394,7 @@

Returns

Webhook response

-async def send_dict(self, body: Dict[str, Any], headers: Optional[Dict[str, str]] = None) ‑> WebhookResponse +async def send_dict(self, body: Dict[str, Any], headers: Dict[str, str] | None = None) ‑> WebhookResponse

Performs a Slack API request and returns the result.

@@ -449,7 +449,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/webhook/client.html b/docs/static/api-docs/slack_sdk/webhook/client.html index b02cb4c5..f0cd44d3 100644 --- a/docs/static/api-docs/slack_sdk/webhook/client.html +++ b/docs/static/api-docs/slack_sdk/webhook/client.html @@ -3,13 +3,13 @@ - + slack_sdk.webhook.client API documentation - + @@ -37,7 +37,7 @@

Classes

class WebhookClient -(url: str, timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, default_headers: Optional[Dict[str, str]] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[RetryHandler]] = None) +(url: str,
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
default_headers: Dict[str, str] | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[RetryHandler] | None = None)

API client for Incoming Webhooks and response_url

@@ -331,7 +331,7 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
@@ -339,7 +339,7 @@

Class variables

-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -355,7 +355,7 @@

Class variables

Methods

-def send(self, *, text: Optional[str] = None, attachments: Optional[Sequence[Union[Dict[str, Any], Attachment]]] = None, blocks: Optional[Sequence[Union[Dict[str, Any], Block]]] = None, response_type: Optional[str] = None, replace_original: Optional[bool] = None, delete_original: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, metadata: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> WebhookResponse +def send(self,
*,
text: str | None = None,
attachments: Sequence[Dict[str, Any] | Attachment] | None = None,
blocks: Sequence[Dict[str, Any] | Block] | None = None,
response_type: str | None = None,
replace_original: bool | None = None,
delete_original: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
metadata: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> WebhookResponse

Performs a Slack API request and returns the result.

@@ -387,7 +387,7 @@

Returns

Webhook response

-def send_dict(self, body: Dict[str, Any], headers: Optional[Dict[str, str]] = None) ‑> WebhookResponse +def send_dict(self, body: Dict[str, Any], headers: Dict[str, str] | None = None) ‑> WebhookResponse

Performs a Slack API request and returns the result.

@@ -439,7 +439,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/webhook/index.html b/docs/static/api-docs/slack_sdk/webhook/index.html index bcc6cfcc..122f0215 100644 --- a/docs/static/api-docs/slack_sdk/webhook/index.html +++ b/docs/static/api-docs/slack_sdk/webhook/index.html @@ -3,14 +3,14 @@ - + slack_sdk.webhook API documentation - + @@ -59,7 +59,7 @@

Classes

class WebhookClient -(url: str, timeout: int = 30, ssl: Optional[ssl.SSLContext] = None, proxy: Optional[str] = None, default_headers: Optional[Dict[str, str]] = None, user_agent_prefix: Optional[str] = None, user_agent_suffix: Optional[str] = None, logger: Optional[logging.Logger] = None, retry_handlers: Optional[List[RetryHandler]] = None) +(url: str,
timeout: int = 30,
ssl: ssl.SSLContext | None = None,
proxy: str | None = None,
default_headers: Dict[str, str] | None = None,
user_agent_prefix: str | None = None,
user_agent_suffix: str | None = None,
logger: logging.Logger | None = None,
retry_handlers: List[RetryHandler] | None = None)

API client for Incoming Webhooks and response_url

@@ -353,7 +353,7 @@

Class variables

-
var proxy : Optional[str]
+
var proxy : str | None
@@ -361,7 +361,7 @@

Class variables

-
var ssl : Optional[ssl.SSLContext]
+
var ssl : ssl.SSLContext | None
@@ -377,7 +377,7 @@

Class variables

Methods

-def send(self, *, text: Optional[str] = None, attachments: Optional[Sequence[Union[Dict[str, Any], Attachment]]] = None, blocks: Optional[Sequence[Union[Dict[str, Any], Block]]] = None, response_type: Optional[str] = None, replace_original: Optional[bool] = None, delete_original: Optional[bool] = None, unfurl_links: Optional[bool] = None, unfurl_media: Optional[bool] = None, metadata: Optional[Dict[str, Any]] = None, headers: Optional[Dict[str, str]] = None) ‑> WebhookResponse +def send(self,
*,
text: str | None = None,
attachments: Sequence[Dict[str, Any] | Attachment] | None = None,
blocks: Sequence[Dict[str, Any] | Block] | None = None,
response_type: str | None = None,
replace_original: bool | None = None,
delete_original: bool | None = None,
unfurl_links: bool | None = None,
unfurl_media: bool | None = None,
metadata: Dict[str, Any] | None = None,
headers: Dict[str, str] | None = None) ‑> WebhookResponse

Performs a Slack API request and returns the result.

@@ -409,7 +409,7 @@

Returns

Webhook response

-def send_dict(self, body: Dict[str, Any], headers: Optional[Dict[str, str]] = None) ‑> WebhookResponse +def send_dict(self, body: Dict[str, Any], headers: Dict[str, str] | None = None) ‑> WebhookResponse

Performs a Slack API request and returns the result.

@@ -497,7 +497,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/docs/static/api-docs/slack_sdk/webhook/internal_utils.html b/docs/static/api-docs/slack_sdk/webhook/internal_utils.html index 317debba..08a3ba00 100644 --- a/docs/static/api-docs/slack_sdk/webhook/internal_utils.html +++ b/docs/static/api-docs/slack_sdk/webhook/internal_utils.html @@ -3,13 +3,13 @@ - + slack_sdk.webhook.internal_utils API documentation - + @@ -49,7 +49,7 @@

Module slack_sdk.webhook.internal_utils

diff --git a/docs/static/api-docs/slack_sdk/webhook/webhook_response.html b/docs/static/api-docs/slack_sdk/webhook/webhook_response.html index 8caa394a..a9b366a8 100644 --- a/docs/static/api-docs/slack_sdk/webhook/webhook_response.html +++ b/docs/static/api-docs/slack_sdk/webhook/webhook_response.html @@ -3,13 +3,13 @@ - + slack_sdk.webhook.webhook_response API documentation - + @@ -84,7 +84,7 @@

-

Generated by pdoc 0.11.1.

+

Generated by pdoc 0.11.3.

diff --git a/slack_sdk/version.py b/slack_sdk/version.py index be816d43..86b4bd4f 100644 --- a/slack_sdk/version.py +++ b/slack_sdk/version.py @@ -1,2 +1,2 @@ """Check the latest version at https://pypi.org/project/slack-sdk/""" -__version__ = "3.33.4" +__version__ = "3.33.5"