(workspaceRef string, channel string, directID string)
| 5759 | } |
| 5760 | |
| 5761 | func networkDirectPath(workspaceRef string, channel string, directID string) (string, error) { |
| 5762 | path, err := networkChannelPath(workspaceRef, channel) |
| 5763 | if err != nil { |
| 5764 | return "", err |
| 5765 | } |
| 5766 | directID, err = requireNetworkPathValue("direct_id", directID) |
| 5767 | if err != nil { |
| 5768 | return "", err |
| 5769 | } |
| 5770 | return path + "/directs/" + url.PathEscape(directID), nil |
| 5771 | } |
| 5772 | |
| 5773 | func networkDirectMessagesPath(workspaceRef string, channel string, directID string) (string, error) { |
| 5774 | path, err := networkDirectPath(workspaceRef, channel, directID) |
no test coverage detected