development-kit-sdk/wechat-sdk/structs/public_platform_fans.go

21 lines
729 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package structs
/*
WechatPublicPlatformFansResp
一次拉取调用最多拉取10000个关注者的OpenID可以通过多次拉取的方式来满足需求。
最后一次返回时next_openid可能为空表示列表结束。
接口信息https://developers.weixin.qq.com/doc/subscription/api/usermanage/userinfo/api_getfans.html
*/
type WechatPublicPlatformFansResp struct {
WechatCommonResp
Total int `json:"total"` //关注该公众账号的总用户数
Count int `json:"count"` //拉取的OPENID个数最大值为10000
Data struct { //列表数据OPENID的列表
Openid []string `json:"openid"` //用户唯一ID
}
NextOpenid string `json:"next_openid"` //拉取列表后一个用户的OPENID
}