Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "slack_file" properties to "image" blocks/elements under slack_sdk.models #1450

Closed
1 of 9 tasks
seratch opened this issue Jan 23, 2024 · 0 comments · Fixed by #1452
Closed
1 of 9 tasks

Add "slack_file" properties to "image" blocks/elements under slack_sdk.models #1450

seratch opened this issue Jan 23, 2024 · 0 comments · Fixed by #1452
Labels
enhancement M-T: A feature request for new functionality Version: 3x web-client
Milestone

Comments

@seratch
Copy link
Member

seratch commented Jan 23, 2024

The "image" blocks and block elements now can have "slack_file", which refers to an uploaded image file within Slack instead of "image_url", which must be a publicly hosted one. The Block Kit class representation in this SDK should add supports for these new options.

References:

Category (place an x in each of the [ ])

  • slack_sdk.web.WebClient (sync/async) (Web API client)
  • slack_sdk.webhook.WebhookClient (sync/async) (Incoming Webhook, response_url sender)
  • slack_sdk.models (UI component builders)
  • slack_sdk.oauth (OAuth Flow Utilities)
  • slack_sdk.socket_mode (Socket Mode client)
  • slack_sdk.audit_logs (Audit Logs API client)
  • slack_sdk.scim (SCIM API client)
  • slack_sdk.rtm (RTM client)
  • slack_sdk.signature (Request Signature Verifier)

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

@seratch seratch added enhancement M-T: A feature request for new functionality web-client Version: 3x labels Jan 23, 2024
@seratch seratch added this to the 3.27.0 milestone Jan 23, 2024
seratch added a commit to seratch/python-slack-sdk that referenced this issue Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement M-T: A feature request for new functionality Version: 3x web-client
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant