Versions in this module Expand all Collapse all v2 v2.0.2 Jan 15, 2024 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 + ChatID string + MsgType string + Safe int + type SendResponse struct + type SendTextRequest struct + Text TextField + type SendVoiceRequest struct + Voice VoiceField + type TextField struct + Content string + type VoiceField struct + MediaID string