zj
2024-06-03 3603ecb207f7e712c635f19531e05fac4d19e53f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package project.monitor.telegram;
 
public interface TelegramMessageService {
 
    /**
     * HTML text
     * @param text
     */
    public void send(String text);
    
    /**
     * 
     * Telegram消息发送,token和chat_id配置在系统参数里,支持固定机器人的特定群消息推送
     * 
     * @param text       内容
     * @param parse_mode HTML 为空是纯文本
     */
    public void send(String text, String parse_mode);
}