public interface Sender
| 限定符和类型 | 方法和说明 |
|---|---|
ActionResult |
send(MessagePacket packet)
以自定义方式发送消息
|
ActionResult |
send(RawPreMessage msg)
自定义消息
|
ActionResult |
send(SendAble msg)
以各种方式 达到想要发送的效果
|
ActionResult |
send(String text)
以JSON方式发送文本消息
|
ActionResult |
send(String text,
RawMessage message)
以JSON方式发送文本消息并引用指定消息
|
ActionResult send(String text)
text - ActionResult send(String text, RawMessage message)
text - message - ActionResult send(MessagePacket packet)
packet - ActionResult send(RawPreMessage msg)
msg - ActionResult send(SendAble msg)
msg - Copyright © 2023. All rights reserved.