slack-go / slack

Slack API in Go, originally by @nlopes; Maintainers needed, contact @parsley42
https://pkg.go.dev/github.com/slack-go/slack
BSD 2-Clause "Simplified" License
4.6k stars 1.11k forks source link

Add Properties.Canvas to Channel #1228

Open ku opened 9 months ago

ku commented 9 months ago

Not documented in the reference of conversations.info but now the response of conversations.info contains Canvas related data when the channel has a canvas for the channel. ( properties key itself is not contained if no canvas is associated to the channel)

{
    "ok": true,
    "channel": {
      .....
        "properties": {
            "canvas": {
                "file_id": "F05T9HXD8DQ",
                "is_empty": true,
                "quip_thread_id": "MCE9AA8oXgH"
            }
        }
    }
}

A Canvas dedicated to the channel can be created by the button placed in top right of the window.

Screenshot 2023-09-21 at 13 54 07