Versions in this module Expand all Collapse all v2 v2.1.8 May 9, 2024 v2.1.7 Nov 2, 2023 Changes in this version + type Client struct + func NewClient(ctx *context.Context) *Client + func (r *Client) Send(apiName string, request interface{}) (*SendResponse, error) + func (r *Client) SendImage(request SendImageRequest) (*SendResponse, error) + func (r *Client) SendText(request SendTextRequest) (*SendResponse, error) + func (r *Client) SendVoice(request SendVoiceRequest) (*SendResponse, error) + type ImageField struct + MediaID string + type SendImageRequest struct + Image ImageField + type SendRequestCommon struct + AgentID string + DuplicateCheckInterval int + EnableDuplicateCheck int + EnableIDTrans int + MsgType string + Safe int + ToParty string + ToTag string + ToUser string + type SendResponse struct + InvalidParty string + InvalidTag string + InvalidUser string + MsgID string + ResponseCode string + UnlicensedUser string + type SendTextRequest struct + Text TextField + type SendVoiceRequest struct + Voice VoiceField + type TextField struct + Content string + type VoiceField struct + MediaID string v2.1.6-rc.4 Nov 2, 2023 v2.1.6-rc.3 Nov 2, 2023