slackapi / deno-slack-sdk

SDK for building Run on Slack apps using Deno

Home Page:https://api.slack.com/automation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[QUERY] Create Channel canvas using Slack API's ( "@slack/bolt", "@slack/web-api")

harshbhardwaj29 opened this issue · comments

Question

Is it supported to create canvas in channel using slack access token via slack bot or slack web API

Context

I have slack access token of a user, using that i want to create canvas in channels on behalf of that user.

Environment

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.

@harshbhardwaj29 so this is not a deno-slack-sdk issue, is it? You are using bolt for javascript, therefore this is not an automation workflow question. Is that correct? You are creating a granular bot token app, by creating an app via api.slack.com/apps, etc.?

@filmaj As canvas functions are part of deno-slack-sdk, i would like to know, if it possible to create using slack bolt or web-api Sdks

Canvas APIs are not exposed via HTTP at this time, like our other methods are. The only way to access these APIs at this time is by using the workflow automations Slack built-in functions by building it either using the deno-slack-sdk or by building a workflow in Workflow Builder directly.

If this is a feature that you would like access to, I recommend emailing feedback@slack.com and mentioning you are emailing to ask for Canvas HTTP APIs. This would surface your request to the decision makers at Slack who can impact this most directly.