GroupStatusView.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.ViewModels.QiYeWeChat
  7. {
  8. /// <summary>
  9. /// 部门成员列表
  10. /// </summary>
  11. public class GroupStatus_UserSimplelistView : ResponseBase
  12. {
  13. public List<GroupStatus_UserSimplelistItem> userlist { get; set; }
  14. }
  15. public class GroupStatus_UserSimplelistItem
  16. {
  17. /// <summary>
  18. /// 成员UserID。对应管理端的账号
  19. /// </summary>
  20. public string userid { get; set; }
  21. /// <summary>
  22. /// 成员名称
  23. /// </summary>
  24. public string name { get; set; }
  25. /// <summary>
  26. /// 成员所属部门列表
  27. /// </summary>
  28. public List<int> department { get; set; }
  29. }
  30. /// <summary>
  31. /// 创建群聊
  32. /// </summary>
  33. public class GroupStatus_CreateChatView : ResponseBase
  34. {
  35. public string chatid { get; set; }
  36. }
  37. public class GroupStatus_SendMessageView : ResponseBase
  38. {
  39. /// <summary>
  40. /// 不合法的userid,不区分大小写,统一转为小写
  41. /// </summary>
  42. public string invaliduser { get; set; }
  43. /// <summary>
  44. /// 不合法的partyid
  45. /// </summary>
  46. public string invalidparty { get; set; }
  47. /// <summary>
  48. /// 不合法的标签id
  49. /// </summary>
  50. public string invalidtag { get; set; }
  51. /// <summary>
  52. /// 没有基础接口许可(包含已过期)的userid
  53. /// </summary>
  54. public string unlicenseduser { get; set; }
  55. /// <summary>
  56. /// 消息id,用于撤回应用消息
  57. /// </summary>
  58. public string msgid { get; set; }
  59. /// <summary>
  60. /// 仅消息类型为“按钮交互型”,“投票选择型”和“多项选择型”的模板卡片消息返回,应用可使用response_code调用更新模版卡片消息接口,72小时内有效,且只能使用一次
  61. /// </summary>
  62. public string response_code { get; set; }
  63. }
  64. }