public class Group extends Contact implements SenderV2
| Constructor and Description |
|---|
Group(com.alibaba.fastjson.JSONObject mate) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCid()
获取 channel id
|
EnvType |
getEnvType()
获得发送环境
guild/qq
|
BaseV2 |
getV2() |
Result |
send(SendAble msg)
以各种方式 达到想要发送的效果
|
Result<V2Result> |
send(String text)
以JSON方式发送文本消息
|
Result<V2Result> |
send(String text,
RawMessage message)
以JSON方式发送文本消息并引用指定消息
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBot, setBotgetMidpublic Result<V2Result> send(String text)
Senderpublic Result<V2Result> send(String text, RawMessage message)
Senderpublic String getCid()
SenderAndCidMidGettergetCid in interface SenderAndCidMidGetterpublic EnvType getEnvType()
SenderAndCidMidGettergetEnvType in interface SenderAndCidMidGetterCopyright © 2023. All rights reserved.