I want to display text messages in different ways (e.g.. all CAPS), but what variable is the text stored??
eric-solberg opened this issue · comments
I want to allow the user to display incoming messages in different ways (for example, a user might want to show all incoming chat messages in all CAPS). But I'm confused... in what variable is the text stored?
I'm looking in the ATCChatMessage.swift file, and I see three variables which seem to store the message's text: (1) content: String
, (2) messageText: String
, and (3) kind: MessageKind
(which I realize is a MessageKit Type). I don't really see a difference between "content" and "messageText". I guess, to simplify my question, where in the swift code is the chat message text displayed, and from what variable is it fetching from? That way I know which variable I can edit if I want the user to make different adjustments on the text based on predefined settings.
Any help from someone would be greatly appreciated!