GetNewsResultJson.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*----------------------------------------------------------------
  2. Copyright (C) 2019 Senparc
  3. 文件名:GetNewsResultJson.cs
  4. 文件功能描述:获取图文类型永久素材返回结果
  5. 创建标识:Senparc - 20150324
  6. ----------------------------------------------------------------*/
  7. using System.Collections.Generic;
  8. using Senparc.Weixin.Entities;
  9. using Senparc.Weixin.MP.AdvancedAPIs.GroupMessage;
  10. namespace Senparc.Weixin.MP.AdvancedAPIs.Media
  11. {
  12. /// <summary>
  13. /// 获取图文类型永久素材返回结果
  14. /// </summary>
  15. public class GetNewsResultJson : WxJsonResult
  16. {
  17. public List<ForeverNewsItem> news_item { get; set; }
  18. }
  19. public class ForeverNewsItem : NewsModel
  20. {
  21. /// <summary>
  22. /// 图文页的URL
  23. /// </summary>
  24. public string url { get; set; }
  25. }
  26. /// <summary>
  27. /// 获取语音识别结果返回结果
  28. /// </summary>
  29. public class QueryRecoResultResultJson : WxJsonResult
  30. {
  31. public string result { get; set; }
  32. }
  33. /// <summary>
  34. /// 微信翻译返回结果
  35. /// </summary>
  36. public class TranslateContentResultJson : WxJsonResult
  37. {
  38. public string from_content { get; set; }
  39. public string to_content { get; set; }
  40. }
  41. }