toDirect

Converts a MessageThreadId instance to a DirectMessageThreadId by using its underlying long value.

Receiver

The MessageThreadId instance to be converted.

Return

A new DirectMessageThreadId instance with the same long value as the receiver.