Versions in this module Expand all Collapse all v1 v1.0.0 Nov 10, 2022 Changes in this version + type Broadcast struct + func NewBroadcast(ctx *context.Context) *Broadcast + func (broadcast *Broadcast) Delete(msgID int64, articleIDx int64) error + func (broadcast *Broadcast) GetMassStatus(msgID string) (*Result, error) + func (broadcast *Broadcast) GetSpeed() (*SpeedResult, error) + func (broadcast *Broadcast) Preview() *Broadcast + func (broadcast *Broadcast) SendImage(user *User, images *Image) (*Result, error) + func (broadcast *Broadcast) SendNews(user *User, mediaID string, ignoreReprint bool) (*Result, error) + func (broadcast *Broadcast) SendText(user *User, content string) (*Result, error) + func (broadcast *Broadcast) SendVideo(user *User, mediaID string, title, description string) (*Result, error) + func (broadcast *Broadcast) SendVoice(user *User, mediaID string) (*Result, error) + func (broadcast *Broadcast) SendWxCard(user *User, cardID string) (*Result, error) + func (broadcast *Broadcast) SetSpeed(speed int) (*SpeedResult, error) + type Image struct + MediaIDs []string + NeedOpenComment int32 + OnlyFansCanComment int32 + Recommend string + type MsgType string + const MsgTypeImage + const MsgTypeNews + const MsgTypeText + const MsgTypeVideo + const MsgTypeVoice + const MsgTypeWxCard + type Result struct + MsgDataID int64 + MsgID int64 + MsgStatus string + type SpeedResult struct + RealSpeed int64 + Speed int64 + type User struct + OpenID []string + TagID int64