Versions in this module Expand all Collapse all v0 v0.0.1 Oct 15, 2023 Changes in this version + type Client interface + AccessToken func() string + Close func() error + GetGroupIDs func(ctx context.Context) ([]string, error) + SendGroupMessage func(ctx context.Context, groupID string, message Message) (messageID string, err error) + SendPrivateMessage func(ctx context.Context, employeeCode string, message Message) error + UpdateAccessToken func(ctx context.Context) error + func NewClient(config Config) (Client, error) + type Config struct + AppID string + AppSecret string + HTTPClient *http.Client + Host string + type Message interface + Message func() json.RawMessage + func TextMessage(content, quotedMessageID string) Message