public abstract class BaseSender extends Object implements Sender
Constructor and Description |
---|
BaseSender() |
Modifier and Type | Method and Description |
---|---|
boolean |
send(Map<String,String> params)
消息发送
|
String |
sendDiscussMsg(String group,
String msg)
发送讨论组消息
|
boolean |
sendFlower(String group,
String QQ)
送花
|
String |
sendGroupMsg(String group,
String msg)
发送群消息
|
boolean |
sendLike(String QQ,
int times)
发送名片赞
|
String |
sendPrivateMsg(String QQ,
String msg)
发送私聊信息
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sendDiscussMsg, sendFlower, sendFlower, sendGroupMsg, sendGroupNotice, sendGroupNotice, sendLike, sendPrivateMsg
isGetterList, isSenderList, isSetterList
public boolean send(Map<String,String> params)
send
in interface SenderSend
params
- 参数键值对public String sendDiscussMsg(String group, String msg)
sendDiscussMsg
in interface SenderSendList
group
- 群号msg
- 消息内容public String sendGroupMsg(String group, String msg)
sendGroupMsg
in interface SenderSendList
group
- 群号msg
- 消息内容public String sendPrivateMsg(String QQ, String msg)
sendPrivateMsg
in interface SenderSendList
QQ
- QQ号msg
- 消息内容public boolean sendFlower(String group, String QQ)
sendFlower
in interface SenderSendList
group
- 群号QQ
- QQ号public boolean sendLike(String QQ, int times)
sendLike
in interface SenderSendList
QQ
- QQ号times
- 次数Copyright © 2020. All rights reserved.