Get Sender From TextChatService.OnIncomingMessage

Since TextChatService is relatively new, I’m not quite sure how most of it works and they’re no posts about it. Basically, I want to know if it’s possible to get the sender from TextChatService.OnIncomingMessage.

To get the user from the message, you would have to use TextChatMessage.TextSource.UserId

TextChatService.OnIncomingMessage passes a TextChatMessage object.

See TextChatMessage and TextSource for more details.