程序包 | 说明 |
---|---|
com.easemob.im.server.api.message | |
com.easemob.im.server.api.message.send | |
com.easemob.im.server.api.message.send.message |
限定符和类型 | 方法和说明 |
---|---|
static ChatroomMsgLevel |
ChatroomMsgLevel.of(String name) |
static ChatroomMsgLevel |
ChatroomMsgLevel.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ChatroomMsgLevel[] |
ChatroomMsgLevel.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
reactor.core.publisher.Mono<EMSentMessageIds> |
MessageApi.sendMsg(String from,
Set<String> toRooms,
EMMessage message,
Set<String> toRoomUsers,
Set<EMKeyValue> extensions,
Boolean syncDevice,
ChatroomMsgLevel chatroomMsgLevel)
指定聊天室用户发送消息,你可以向聊天室中指定的一个或多个成员发送消息,但单次仅支持指定一个聊天室。
|
reactor.core.publisher.Mono<EMSentMessageIds> |
MessageApi.sendMsg(String from,
String toType,
Set<String> tos,
EMMessage message,
Set<EMKeyValue> extensions,
String routeType,
Boolean syncDevice,
ChatroomMsgLevel chatroomMsgLevel)
发送消息,支持设置聊天室消息优先级。
|
reactor.core.publisher.Mono<EMSentMessageIds> |
MessageApi.sendRoomBroadcastMsg(String from,
EMMessage message,
Set<EMKeyValue> extensions,
Boolean syncDevice,
ChatroomMsgLevel chatroomMsgLevel)
发送聊天室全局广播消息。
|
构造器和说明 |
---|
SendMessageRequest(String from,
EMMessage message,
Map<String,Object> extensions,
Boolean syncDevice,
ChatroomMsgLevel chatroomMsgLevel) |
限定符和类型 | 方法和说明 |
---|---|
MessageSend.SendSpec |
MessageSend.SendSpec.chatroomMsgLevel(ChatroomMsgLevel chatroomMsgLevel) |
reactor.core.publisher.Mono<EMSentMessageIds> |
MessageSend.send(String from,
Set<String> tos,
EMMessage message,
Set<String> toRoomUsers,
Set<EMKeyValue> extensions,
Boolean syncDevice,
ChatroomMsgLevel chatroomMsgLevel) |
reactor.core.publisher.Mono<EMSentMessageIds> |
MessageSend.send(String from,
String toType,
Set<String> tos,
EMMessage message,
Set<EMKeyValue> extensions,
Boolean syncDevice,
ChatroomMsgLevel level) |
reactor.core.publisher.Mono<EMSentMessageIds> |
MessageSend.send(String from,
String toType,
Set<String> tos,
EMMessage message,
Set<EMKeyValue> extensions,
ChatroomMsgLevel level) |
reactor.core.publisher.Mono<EMSentMessageIds> |
MessageSend.send(String from,
String toType,
Set<String> tos,
EMMessage message,
Set<EMKeyValue> extensions,
String routeType,
Boolean syncDevice,
ChatroomMsgLevel level) |
reactor.core.publisher.Mono<EMSentMessageIds> |
MessageSend.send(String from,
String toType,
Set<String> tos,
EMMessage message,
Set<EMKeyValue> extensions,
String routeType,
ChatroomMsgLevel level) |
reactor.core.publisher.Mono<EMSentMessageIds> |
MessageSend.sendRoomBroadcast(String from,
EMMessage message,
Set<EMKeyValue> extensions,
Boolean syncDevice,
ChatroomMsgLevel level) |
构造器和说明 |
---|
MessageSendRequest(String from,
Set<String> toSet,
EMMessage message,
Map<String,Object> extensions,
Boolean syncDevice,
ChatroomMsgLevel chatroomMsgLevel) |
MessageSendRequest(String from,
Set<String> toSet,
EMMessage message,
Map<String,Object> extensions,
ChatroomMsgLevel chatroomMsgLevel) |
MessageSendRequest(String from,
Set<String> toSet,
EMMessage message,
Map<String,Object> extensions,
String routeType,
Boolean syncDevice,
ChatroomMsgLevel chatroomMsgLevel) |
MessageSendRequest(String from,
Set<String> toSet,
EMMessage message,
Map<String,Object> extensions,
String routeType,
ChatroomMsgLevel chatroomMsgLevel) |
MessageSendRequest(String from,
Set<String> toSet,
EMMessage message,
Set<String> toRoomUsers,
Map<String,Object> extensions,
Boolean syncDevice,
ChatroomMsgLevel chatroomMsgLevel) |
Copyright © 2024. All rights reserved.