Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Initialize initializes the TeamsClient instance with the provided config path
func ResetInstance ¶ added in v1.0.0
func ResetInstance()
ResetInstance clears the current TeamsClient instance and error.
func SetInstance ¶ added in v1.0.0
func SetInstance(instance *Client)
SetInstance overrides the current TeamsClient instance (useful for tests).
Types ¶
type Client ¶ added in v1.0.0
type Client struct {
Channels channels.ChannelClient
Chats chats.ChatClient
Teams teams.TeamClient
}
Client aggregates resource-level clients
func GetInstance ¶
GetInstance returns the existing TeamsClient instance or an error if not initialized
func NewClient ¶ added in v1.0.0
func NewClient(ctx context.Context, authConfig *lib_config.AuthConfig, senderConfig *lib_config.SenderConfig, cacheConfig *lib_config.CacheConfig) (*Client, error)
NewClient creates a new TeamsClient by constructing the underlying library client
Click to show internal directories.
Click to hide internal directories.