zj
2025-05-02 01830e44921b187b448d8cce9c9a46b9ad55af43
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
package project.monitor.telegram.sender;
 
/**
 * 
 * <p>
 * Description: 短信消息类
 * </p>
 */
public class TelegramMessage {
 
    /**
     * 内容
     */
    private String text;
    /**
     * HTML 为空是纯文本
     */
    private String parse_mode;
 
 
    /**
     * 无参构造函数
     */
    public TelegramMessage() {
    }
 
    public TelegramMessage(String text, String parse_mode) {
        this.text = text;
        this.parse_mode = parse_mode;
    }
 
    public String getText() {
        return text;
    }
 
    public void setText(String text) {
        this.text = text;
    }
 
    public String getParse_mode() {
        return parse_mode;
    }
 
    public void setParse_mode(String parse_mode) {
        this.parse_mode = parse_mode;
    }
 
}