IMutableMessageContext

Interface for mutable message contexts.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

IMessageContext

IMutableMessageContext

References

Module

Messaging

Header

/Engine/Source/Runtime/Messaging/Public/IMutableMessageContext.h

Include

#include "IMutableMessageContext.h"

Syntax

class IMutableMessageContext : public IMessageContext

Remarks

Interface for mutable message contexts.

Destructors

Name Description

Public function Virtual

~IMutableMessageContext()

Virtual destructor.

Functions

Name Description

Public function

void

 

AddRecipient

(
    const FMessageAddress& Recipient
)

Adds a message address to the recipient list.

Public function

void

 

SetAttachment

(
    const TSharedPtr< IMessageAttachmen...
)

Sets the optional message attachment.

Public function

void

 

SetExpiration

(
    const FDateTime& InExpiration
)

Sets the date and time at which the message expires.

Public function

void

 

SetHeader

(
    const FName& Key,
    const FString& Value
)

Sets the value of the header with the specified key.

Public function

void

 

SetMessage

(
    void* InMessage,
    UScriptStruct* InTypeInfo
)

Sets the message.

Public function

void

 

SetScope

(
    EMessageScope InScope
)

Sets the message scope.

Public function

void

 

SetSender

(
    const FMessageAddress& InSender
)

Sets the address of the message's sender.

Public function

void

 

SetTimeSent

(
    const FDateTime& InTimeSent
)

Sets the date and time at which the message was sent.