comment

package
v1.0.0-beta.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package comment 云文档/评论

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddWhole

func AddWhole(ctx *feishu.App, payload []byte, accessToken string) (resp []byte, err error)

添加全文评论

该接口用于根据 filetoken 给文档添加全文评论

See: https://open.feishu.cn/document/ugTM5UjL4ETO14COxkTN/ucDN4UjL3QDO14yN0gTN

POST https://open.feishu.cn/open-apis/comment/add_whole

Example
package main

import (
	"fmt"

	"github.com/ylck/feishu"
	"github.com/ylck/feishu/apis/capabilities/document/comment"
)

func main() {
	var ctx *feishu.App

	payload := []byte("{}")
	accessToken := ""
	resp, err := comment.AddWhole(ctx, payload, accessToken)

	fmt.Println(resp, err)
}
Output:

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL