api

package
v0.0.0-...-9c7546b Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtendedAPI

type ExtendedAPI interface {
	PostMessageByFormData(ctx context.Context, channelID string, imgContents []byte, data map[string]string) ([]byte, error)
}

type TencentAPI

type TencentAPI struct {
	OpenAPI     openapi.OpenAPI
	ExtendedAPI ExtendedAPI
}

func NewTencentAPI

func NewTencentAPI(botToken *token.Token) *TencentAPI

func (*TencentAPI) WithTimeout

func (t *TencentAPI) WithTimeout(duration time.Duration) *TencentAPI

Jump to

Keyboard shortcuts

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