meeting

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Overview

Package meeting 效率工具/会议

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cancel

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

取消预约会议

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

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

Example
package main

import (
	"fmt"

	"github.com/cvblood/qywxapi/corporation"
	"github.com/cvblood/qywxapi/corporation/apis/efficiency/meeting"
)

func main() {
	var ctx *corporation.App

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

	fmt.Println(resp, err)
}
Output:

func Create

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

创建预约会议

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

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

Example
package main

import (
	"fmt"

	"github.com/cvblood/qywxapi/corporation"
	"github.com/cvblood/qywxapi/corporation/apis/efficiency/meeting"
)

func main() {
	var ctx *corporation.App

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

	fmt.Println(resp, err)
}
Output:

func GetInfo

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

获取会议详情

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

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

Example
package main

import (
	"fmt"

	"github.com/cvblood/qywxapi/corporation"
	"github.com/cvblood/qywxapi/corporation/apis/efficiency/meeting"
)

func main() {
	var ctx *corporation.App

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

	fmt.Println(resp, err)
}
Output:

func GetUserMeetingId

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

获取成员会议ID列表

通过此接口可以获取指定成员指定时间内的所有会议ID

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

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

Example
package main

import (
	"fmt"

	"github.com/cvblood/qywxapi/corporation"
	"github.com/cvblood/qywxapi/corporation/apis/efficiency/meeting"
)

func main() {
	var ctx *corporation.App

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

	fmt.Println(resp, err)
}
Output:

func Update

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

修改预约会议

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

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

Example
package main

import (
	"fmt"

	"github.com/cvblood/qywxapi/corporation"
	"github.com/cvblood/qywxapi/corporation/apis/efficiency/meeting"
)

func main() {
	var ctx *corporation.App

	payload := []byte("{}")
	resp, err := meeting.Update(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