public interface Sender
| Modifier and Type | Method and Description |
|---|---|
default Result |
send(MessagePacket packet)
以自定义方式发送消息
|
default Result |
send(RawPreMessage msg)
自定义消息
|
Result |
send(SendAble msg)
以各种方式 达到想要发送的效果
|
Result |
send(String text)
以JSON方式发送文本消息
|
Result |
send(String text,
RawMessage message)
以JSON方式发送文本消息并引用指定消息
|
Result send(String text, RawMessage message)
text - message - default Result send(MessagePacket packet)
packet - default Result send(RawPreMessage msg)
msg - Copyright © 2024. All rights reserved.