mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-07-03 13:57:26 +00:00
[Change] MessageSender 调整包路径;
This commit is contained in:
15
src/main/java/net/lamgc/cgj/bot/message/MessageSender.java
Normal file
15
src/main/java/net/lamgc/cgj/bot/message/MessageSender.java
Normal file
@ -0,0 +1,15 @@
|
||||
package net.lamgc.cgj.bot.message;
|
||||
|
||||
public interface MessageSender {
|
||||
|
||||
/**
|
||||
* 发送消息并返回消息id
|
||||
* @param message 消息内容
|
||||
* @return 返回非负数则发送成功,
|
||||
* 返回0则发送器不支持消息Id,
|
||||
* 返回非0正整数则为消息Id,
|
||||
* 返回负数则为错误.
|
||||
*/
|
||||
int sendMessage(final String message);
|
||||
|
||||
}
|
Reference in New Issue
Block a user