How do I store message types as a variable? (Answered)

Edit:

I learned this won’t be possible as message is intended to be non-mutable as the message type will be used for localization and moderation.

Original message:
Im trying to store some strings that are converted to a message type to work with devices. However I haven’t found a way to store messages into a variable similar to var MyString:string = "text here"

1 Like