update 送礼
This commit is contained in:
@@ -12,6 +12,15 @@ import java.util.UUID;
|
||||
public class SendMessageManager {
|
||||
private static final Map<String, SendData> cache = new HashMap<>();
|
||||
|
||||
public static void sendMessageForGift(String toUid,String giftId,OnSendMessageListener listener){
|
||||
SendData sendData = new SendData(Integer.parseInt(toUid),
|
||||
3,
|
||||
giftId,
|
||||
"礼物消息",
|
||||
"1",
|
||||
1);
|
||||
send(sendData, listener);
|
||||
}
|
||||
public static void sendMessageForAudio(String toUid,OnSendMessageListener listener){
|
||||
SendData sendData = new SendData(Integer.parseInt(toUid),
|
||||
1,
|
||||
|
||||
Reference in New Issue
Block a user