contact

package
v1.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package contact 通讯录管理

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Scopes

func Scopes(ctx *dingding.App) (resp []byte, err error)

获取通讯录权限范围

See: https://ding-doc.dingtalk.com/doc#/serverapi2/vt6v7m

GET https://oapi.dingtalk.com/auth/scopes?access_token=ACCESS_TOKEN

Example
package main

import (
	"fmt"

	"github.com/fastwego/dingding"
	"github.com/fastwego/dingding/apis/contact"
)

func main() {
	var ctx *dingding.App

	resp, err := contact.Scopes(ctx)

	fmt.Println(resp, err)
}
Output:

Types

This section is empty.

Directories

Path Synopsis
Package department 通讯录/部门管理
Package department 通讯录/部门管理
Package edu 家校通讯录
Package edu 家校通讯录
Package extcontact 通讯录/外部联系人管理
Package extcontact 通讯录/外部联系人管理
Package role 通讯录/角色管理
Package role 通讯录/角色管理
Package user 通讯录/用户管理
Package user 通讯录/用户管理

Jump to

Keyboard shortcuts

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