Documentation ¶
Index ¶
- type Client
- func (comp *Client) SendMsg(ctx context.Context, messages *request.RequestAccountServiceSendMsg) (*response.ResponseAccountServiceSendMsg, error)
- func (comp *Client) SendMsgOnEvent(ctx context.Context, messages *request.RequestAccountServiceSendMsgOnEvent) (*response.ResponseAccountServiceSendMsgOnEvent, error)
- func (comp *Client) SyncMsg(ctx context.Context, cursor string, token string, limit int) (*response.ResponseMessageSyncMsg, 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) SendMsg ¶
func (comp *Client) SendMsg(ctx context.Context, messages *request.RequestAccountServiceSendMsg) (*response.ResponseAccountServiceSendMsg, error)
发送消息 https://developer.work.weixin.qq.com/document/path/90236
func (*Client) SendMsgOnEvent ¶
func (comp *Client) SendMsgOnEvent(ctx context.Context, messages *request.RequestAccountServiceSendMsgOnEvent) (*response.ResponseAccountServiceSendMsgOnEvent, error)
发送消息 https://developer.work.weixin.qq.com/document/path/95122
Click to show internal directories.
Click to hide internal directories.