client

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(ctx context.Context, configPath string) error

Initialize initializes the TeamsClient instance with the provided config path

Types

type TeamsClient

type TeamsClient struct {
	Channels *channels.Client
	Chats    *chats.Client
	Teams    *teams.Client
}

TeamsClient aggregates resource-level clients

func GetInstance

func GetInstance() (*TeamsClient, error)

GetInstance returns the existing TeamsClient instance or an error if not initialized

func NewTeamsClient

func NewTeamsClient(ctx context.Context, authConfig *lib_config.AuthConfig, senderConfig *lib_config.SenderConfig, cacheConfig *lib_config.CacheConfig) (*TeamsClient, error)

NewTeamsClient creates a new TeamsClient by constructing the underlying library client

Jump to

Keyboard shortcuts

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