Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

MessageId

struct in ImmerseSDK.PlatformServices

Used to identify a messages
These are important when sending persisted messages

Constructors
UInt64 value Create a new MessageId
UserId userId Create a new MessageId that contains a UserId
Fields
- -
Value The message ID as a ulong
Methods
ExtractUserId Extract a UserId from this MessageId
Make sure to only use this on a MessageId that you know to contain a UserId
GetBytes Get the bytes of this MessageId