Documentation ¶
Index ¶
- type Client
- func (comp *Client) Create(ctx context.Context, options *request.RequestAppChatCreate) (*response.ResponseAppChatCreate, error)
- func (comp *Client) Get(ctx context.Context, chatID string) (*response.ResponseAppChatGet, error)
- func (comp *Client) Send(ctx context.Context, messages *power.HashMap) (*response2.ResponseWork, error)
- func (comp *Client) Update(ctx context.Context, options *request.RequestAppChatUpdate) (*response2.ResponseWork, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseClient *kernel.BaseClient
}
func (*Client) Create ¶
func (comp *Client) Create(ctx context.Context, options *request.RequestAppChatCreate) (*response.ResponseAppChatCreate, error)
创建群聊会话 https://developer.work.weixin.qq.com/document/path/90245
func (*Client) Get ¶
获取群聊会话 https://developer.work.weixin.qq.com/document/path/90247
func (*Client) Send ¶
func (comp *Client) Send(ctx context.Context, messages *power.HashMap) (*response2.ResponseWork, error)
应用推送消息 https://developer.work.weixin.qq.com/document/path/90248
func (*Client) Update ¶
func (comp *Client) Update(ctx context.Context, options *request.RequestAppChatUpdate) (*response2.ResponseWork, error)
修改群聊会话 https://developer.work.weixin.qq.com/document/path/90246
Click to show internal directories.
Click to hide internal directories.