C# Class Senparc.Weixin.MP.AdvancedAPIs.UserTagApi

ファイルを表示 Open project: JeffreySu/WeiXinMPSDK

Public Methods

Method Description
BatchTagging ( string accessTokenOrAppId, int tagid, List openid_list, int timeOut = Config.TIME_OUT ) : WxJsonResult

批量为用户打标签

BatchTaggingAsync ( string accessTokenOrAppId, int tagid, List openid_list, int timeOut = Config.TIME_OUT ) : Task

【异步方法】批量为用户打标签

BatchUntagging ( string accessTokenOrAppId, int tagid, List openid_list, int timeOut = Config.TIME_OUT ) : WxJsonResult

批量为用户取消标签

BatchUntaggingAsync ( string accessTokenOrAppId, int tagid, List openid_list, int timeOut = Config.TIME_OUT ) : Task

【异步方法】批量为用户取消标签

Create ( string accessTokenOrAppId, string name, int timeOut = Config.TIME_OUT ) : Senparc.Weixin.MP.AdvancedAPIs.UserTag.CreateTagResult

创建标签

CreateAsync ( string accessTokenOrAppId, string name, int timeOut = Config.TIME_OUT ) : Task

【异步方法】创建标签

Delete ( string accessTokenOrAppId, int id, int timeOut = Config.TIME_OUT ) : WxJsonResult

删除标签

DeleteAsync ( string accessTokenOrAppId, int id, int timeOut = Config.TIME_OUT ) : Task

【异步方法】删除标签

Get ( string accessTokenOrAppId ) : Senparc.Weixin.MP.AdvancedAPIs.UserTag.TagJson

获取公众号已创建的标签

Get ( string accessTokenOrAppId, int tagid, string nextOpenid = "", int timeOut = Config.TIME_OUT ) : Senparc.Weixin.MP.AdvancedAPIs.UserTag.UserTagJsonResult

获取标签下粉丝列表

GetAsync ( string accessTokenOrAppId ) : Task

【异步方法】获取公众号已创建的标签

GetAsync ( string accessTokenOrAppId, int tagid, string nextOpenid = "", int timeOut = Config.TIME_OUT ) : Task

【异步方法】获取标签下粉丝列表

Update ( string accessTokenOrAppId, int id, string name, int timeOut = Config.TIME_OUT ) : WxJsonResult

编辑标签

UpdateAsync ( string accessTokenOrAppId, int id, string name, int timeOut = Config.TIME_OUT ) : Task

【异步方法】编辑标签

UserTagList ( string accessTokenOrAppid, string openid, int timeOut = Config.TIME_OUT ) : Senparc.Weixin.MP.AdvancedAPIs.UserTag.UserTagListResult

获取用户身上的标签列表

UserTagListAsync ( string accessTokenOrAppid, string openid, int timeOut = Config.TIME_OUT ) : Task

【异步方法】获取用户身上的标签列表

Method Details

BatchTagging() public static method

批量为用户打标签
public static BatchTagging ( string accessTokenOrAppId, int tagid, List openid_list, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string
tagid int
openid_list List
timeOut int
return Senparc.Weixin.Entities.WxJsonResult

BatchTaggingAsync() public static method

【异步方法】批量为用户打标签
public static BatchTaggingAsync ( string accessTokenOrAppId, int tagid, List openid_list, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
tagid int
openid_list List
timeOut int
return Task

BatchUntagging() public static method

批量为用户取消标签
public static BatchUntagging ( string accessTokenOrAppId, int tagid, List openid_list, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string
tagid int
openid_list List
timeOut int
return Senparc.Weixin.Entities.WxJsonResult

BatchUntaggingAsync() public static method

【异步方法】批量为用户取消标签
public static BatchUntaggingAsync ( string accessTokenOrAppId, int tagid, List openid_list, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
tagid int
openid_list List
timeOut int
return Task

Create() public static method

创建标签
public static Create ( string accessTokenOrAppId, string name, int timeOut = Config.TIME_OUT ) : Senparc.Weixin.MP.AdvancedAPIs.UserTag.CreateTagResult
accessTokenOrAppId string
name string
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.UserTag.CreateTagResult

CreateAsync() public static method

【异步方法】创建标签
public static CreateAsync ( string accessTokenOrAppId, string name, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
name string
timeOut int
return Task

Delete() public static method

删除标签
public static Delete ( string accessTokenOrAppId, int id, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string
id int
timeOut int
return Senparc.Weixin.Entities.WxJsonResult

DeleteAsync() public static method

【异步方法】删除标签
public static DeleteAsync ( string accessTokenOrAppId, int id, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
id int
timeOut int
return Task

Get() public static method

获取公众号已创建的标签
public static Get ( string accessTokenOrAppId ) : Senparc.Weixin.MP.AdvancedAPIs.UserTag.TagJson
accessTokenOrAppId string
return Senparc.Weixin.MP.AdvancedAPIs.UserTag.TagJson

Get() public static method

获取标签下粉丝列表
public static Get ( string accessTokenOrAppId, int tagid, string nextOpenid = "", int timeOut = Config.TIME_OUT ) : Senparc.Weixin.MP.AdvancedAPIs.UserTag.UserTagJsonResult
accessTokenOrAppId string
tagid int
nextOpenid string
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.UserTag.UserTagJsonResult

GetAsync() public static method

【异步方法】获取公众号已创建的标签
public static GetAsync ( string accessTokenOrAppId ) : Task
accessTokenOrAppId string
return Task

GetAsync() public static method

【异步方法】获取标签下粉丝列表
public static GetAsync ( string accessTokenOrAppId, int tagid, string nextOpenid = "", int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
tagid int
nextOpenid string
timeOut int
return Task

Update() public static method

编辑标签
public static Update ( string accessTokenOrAppId, int id, string name, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string
id int
name string
timeOut int
return Senparc.Weixin.Entities.WxJsonResult

UpdateAsync() public static method

【异步方法】编辑标签
public static UpdateAsync ( string accessTokenOrAppId, int id, string name, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
id int
name string
timeOut int
return Task

UserTagList() public static method

获取用户身上的标签列表
public static UserTagList ( string accessTokenOrAppid, string openid, int timeOut = Config.TIME_OUT ) : Senparc.Weixin.MP.AdvancedAPIs.UserTag.UserTagListResult
accessTokenOrAppid string
openid string
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.UserTag.UserTagListResult

UserTagListAsync() public static method

【异步方法】获取用户身上的标签列表
public static UserTagListAsync ( string accessTokenOrAppid, string openid, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppid string
openid string
timeOut int
return Task