FeiShuEventReceiveMessageContentDTO.java
1.33 KB
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
package com.pipihelper.project.feishu.dto;
import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
/**
* @Description: TODO
* @author: charles
* @date: 2022年04月20日 13:27
*/
@Getter
@Setter
public class FeiShuEventReceiveMessageContentDTO {
@Getter
@Setter
public static class Text {
private String text;
}
@Getter
@Setter
public static class Post {
private String title;
private List<List<JSONObject>> content;
}
@Getter
@Setter
public static class Image {
private String image_key;
}
@Getter
@Setter
public static class File {
private String file_key;
private String file_name;
}
@Getter
@Setter
public static class Audio {
private String file_key;
private String duration;
}
@Getter
@Setter
public static class Media {
private String file_key;
private String image_key;
private String file_name;
private String duration;
}
@Getter
@Setter
public static class Sticker {
private String file_key;
}
@Getter
@Setter
public static class Interactive {
private String title;
private List<List<JSONObject>> elements;
}
}