Navigation
API > API/Runtime > API/Runtime/MessagingCommon > API/Runtime/MessagingCommon/FMessageEndpoint > API/Runtime/MessagingCommon/FMessageEndpoint/Send
References
Module | MessagingCommon |
Header | /Engine/Source/Runtime/MessagingCommon/Public/MessageEndpoint.h |
Include | #include "MessageEndpoint.h" |
template<typename MessageType>
void Send
(
MessageType * Message,
const TMap < FName , FString > Annotations,
const TSharedPtr < IMessageAttachment, ESPMode::ThreadSafe > & Attachment,
const FMessageAddress & Recipient,
const FDateTime & Expiration,
const FTimespan & Delay
)
Remarks
Sends a message with fields, attachment and expiration to the specified recipient after a given delay.
Parameters
Name | Description |
---|---|
MessageType | The type of message to send. |
Message | The message to send. |
Annotations | An optional message annotations header. |
Attachment | An optional binary data attachment. |
Recipient | The message recipient. |
Expiration | The time at which the message expires. |
Delay | The delay after which to send the message. |