string AdminMessageRichText(AdminMessage message)
 {
     return("<color=#" + SendBirdTheme.ToHex(uiTheme.systemMessageColor) + ">" + message.Message + "</color>");
 }
Exemple #2
0
 string MessageRichText(Message message)
 {
     return("<color=#" + SendBirdTheme.ToHex(uiTheme.senderColor) + ">" + message.GetSenderName() + ": </color>" + message.message);
 }
 string FileMessageRichText(FileMessage message)
 {
     return("<color=#" + SendBirdTheme.ToHex(uiTheme.senderColor) + ">" + message.Sender.Nickname + ": </color>" + message.Name);
 }
 string UserMessageRichText(UserMessage message)
 {
     return("<color=#" + SendBirdTheme.ToHex(uiTheme.senderColor) + ">" + message.GetSender().Nickname + ": </color>" + message.Message);
 }