@API(status=STABLE)
public interface OboMessageService
Modifier and Type | Method and Description |
---|---|
V4Message |
send(java.lang.String streamId,
Message message)
Sends a message to the stream ID passed in parameter.
|
V4Message |
send(java.lang.String streamId,
java.lang.String message)
Sends a message to the stream ID passed in parameter.
|
V4Message |
send(V4Stream stream,
Message message)
Sends a message to the stream ID passed in parameter.
|
V4Message |
send(V4Stream stream,
java.lang.String message)
Sends a message to the stream ID of the passed
V4Stream object. |
MessageSuppressionResponse |
suppressMessage(java.lang.String messageId)
Suppresses a users message based on the messageID pass in parameter.
|
com.symphony.bdk.template.api.TemplateEngine |
templates()
Returns the
TemplateEngine that can be used to load templates from classpath or file system. |
com.symphony.bdk.template.api.TemplateEngine templates()
TemplateEngine
that can be used to load templates from classpath or file system.V4Message send(@Nonnull V4Stream stream, @Nonnull java.lang.String message)
V4Stream
object.stream
- the stream to send the message tomessage
- the MessageML content. Note: <messageML></messageML>
is automatically appended if not set.V4Message
object containing the details of the sent messageV4Message send(@Nonnull java.lang.String streamId, @Nonnull java.lang.String message)
streamId
- the ID of the stream to send the message tomessage
- the MessageML content. Note: <messageML></messageML>
is automatically appended if not set.V4Message
object containing the details of the sent messageV4Message send(@Nonnull V4Stream stream, @Nonnull Message message)
stream
- the stream to send the message tomessage
- the message to send to the streamV4Message
object containing the details of the sent messageV4Message send(@Nonnull java.lang.String streamId, @Nonnull Message message)
streamId
- the ID of the stream to send the message tomessage
- the message to send to the streamV4Message
object containing the details of the sent messageMessageSuppressionResponse suppressMessage(@Nonnull java.lang.String messageId)
messageId
- the ID of the message to suppressMessageSuppressionResponse
object containing the details of the suppressed message