zhaojs
2023-09-15 fc13938ff90213060532d99a600dea4a84456885
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
using System;
using System.Collections.Generic;
using System.Text;
 
namespace WeiXinKfSDK.Response
{
 
    public class SendMsgOnEventResponse : WxKfBaseResponse
    {
        public string msgid { get; set; }
    }
    public class SendMsgOnEventRequest
    {
        public string code { get; set; }
 
        public string msgid { get; set; }
        /// <summary>
        /// text 或 msgmenu
        /// </summary>
        public string msgtype { get; set; }
 
        public SendMsgOnEventReqTxt text { get; set; }
 
        public SendMsgOnEventReqMenu msgmenu { get; set; }
    }
 
    public class SendMsgOnEventReqTxt
    {
        public string content { get; set; }
    }
 
    public class SendMsgOnEventReqMenu
    {
        public string head_content { get; set; }
 
        public string tail_content { get; set; }
 
        public List<SendMsgOnEventReqMenuList> list { get; set; }
    }
 
    public class SendMsgOnEventReqMenuList
    {
        public string type { get; set; }
 
        public MenuClick click { get; set; }
 
        public MenuView view { get; set; }
 
        public MenuMiniprogram miniprogram { get; set; }
 
        public MenuTxt text { get; set; }
    }
 
    public class MenuClick
    {
        public string id { get; set; }
 
        public string content { get; set; }
    }
 
    public class MenuView
    {
        public string url { get; set; }
 
        public string content { get; set; }
    }
 
    public class MenuMiniprogram
    {
        public string appid { get; set; }
 
        public string pagepath { get; set; }
 
        public string content { get; set; }
    }
 
    public class MenuTxt
    {
        public string content { get; set; }
 
        public int no_newline { get; set; }
    }
 
 
}