call

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package call 效率工具/公费电话

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDialRecord

func GetDialRecord(ctx *corporation.App, payload []byte) (resp []byte, err error)

获取公费电话拨打记录

企业可通过此接口,按时间范围拉取成功接通的公费电话拨打记录。

See: https://work.weixin.qq.com/api/doc/90000/90135/93662

POST https://qyapi.weixin.qq.com/cgi-bin/dial/get_dial_record?access_token=ACCESS_TOKEN

Example
package main

import (
	"fmt"

	"github.com/arkii/wxwork/corporation"
	"github.com/arkii/wxwork/corporation/apis/efficiency/call"
)

func main() {
	var ctx *corporation.App

	payload := []byte("{}")
	resp, err := call.GetDialRecord(ctx, payload)

	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