Versions in this module Expand all Collapse all v1 v1.0.1 Nov 7, 2022 Changes in this version + type AppointEvent struct + GameID string + Link *Link + type Brick struct + Button *ButtonBrick + Coupon *CouponBrick + Form *FormBrick + Index string + Picture *PictureBrick + PictureGroup *PictureGroupBrick + Text *TextBrick + Type BrickType + Video *VideoBrick + WechatGame *WechatGameBrick + type BrickType string + const BrickType_BUTTON + const BrickType_COUPON + const BrickType_FORM + const BrickType_PICTURE + const BrickType_PICTURE_GROUP + const BrickType_RICH_TEXT + const BrickType_SIMPLE_TEXT + const BrickType_VIDEO + const BrickType_WECHAT_GAME + type ButtonBrick struct + AppointEvent *AppointEvent + DownloadEvent *DownloadEvent + EventType EventType + LinkEvent *LinkEvent + PhoneEvent *PhoneEvent + type CouponBrick struct + ActivityID uint64 + type CreateRequest struct + AdvertiserID uint64 + SiteID uint64 + TemplateName string + func (r CreateRequest) Encode() []byte + type CreateResponse struct + Data *Template + type DownloadEvent struct + AndroidLink *Link + IOSLink *Link + type EventType string + const EventType_APPOINT_EVENT + const EventType_DOWNLOAD_EVENT + const EventType_LINK_EVENT + const EventType_TELEPHONE_EVENT + type FormBrick struct + InstanceID uint64 + type GetFilter struct + KeywordOfName string + SiteIDs []uint64 + TemplateIDs []uint64 + type GetRequest struct + AdvertiserID uint64 + Filter *GetFilter + Page int + PageSize int + func (r GetRequest) Encode() string + type GetResponse struct + Data *GetResponseData + type GetResponseData struct + List []Template + PageInfo *model.PageInfo + type Link struct + Description string + LinkType LinkType + QuickApp string + Scheme string + URL string + type LinkEvent struct + Link *Link + type LinkType string + const LinkType_QUICK_APP + const LinkType_SCHEME + const LinkType_URL + type PhoneEvent struct + InstanceID uint64 + type PictureBrick struct + Link *Link + Tag string + URL string + type PictureGroupBrick struct + Content []PictureBrick + type PreviewRequest struct + AdvertiserID uint64 + TemplateID uint64 + func (r PreviewRequest) Encode() string + type PreviewResponse struct + Data struct{ ... } + type SiteCreateRequest struct + AdvertiserID uint64 + Bricks []Brick + Name string + SiteID uint64 + TemplateID uint64 + func (r SiteCreateRequest) Encode() []byte + type SiteCreateResponse struct + Data struct{ ... } + type Template struct + Bricks []Brick + SiteID uint64 + TemplateID uint64 + TemplateName string + type TextBrick struct + Content string + Link *Link + type Video struct + OriginURL string + PosterURL string + VideoID string + type VideoBrick struct + LocalVideo *Video + OnlineVideo *Video + type WechatGameBrick struct + InstanceID uint64 + Introduction string + Items []string + Logo string