1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Slack appについてのメモ

Posted at

Slack Appを作っててこれどうやんだっけ?ってなったことのメモです

AppDirectoryに出さないアプリを他のワークスペースにインストールさせたいとき

  • Manage Distributionのページで、Activate Public Distributionを押す
  • Manage DistributionのページでにあるSlack Buttonのリンクを貼り付ける
  • Slack Button | Slack で生成されるやつはサンプル用?なのでそのままは使えない

Slackの左サイドにあるApp欄からのDMという形式にしたい時

  • Add bot userでbotを追加する。スコープにbotを入れる(勝手に入る
  • oauthするときにはidenity.basicあたりがはいっててuser_idはわかる(ホンマか?
  • bot_access_tokenとuser_idを使ってプライベートチャンネルを開く
  • bot_access_tokenとchannel_idでpostMessageする
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?