+
+
@context.Message.Content
-
+
+
+
+ @context.Message.Content
+
+
+
+ @if (context.Message.AuthorStatus == "online")
+ {
+
+ }
+
@context.Suggestion
@@ -152,7 +258,7 @@ This allows you to define context menu actions that can be performed on Chat mes
@code {
#region Component References
- private TelerikChat? ChatRef { get; set; }
+ private TelerikChat ChatRef { get; set; }
#endregion
@@ -273,11 +379,13 @@ This allows you to define context menu actions that can be performed on Chat mes
public string AuthorId { get; set; }
public string AuthorName { get; set; }
public string AuthorImageUrl { get; set; }
+ public string AuthorStatus { get; set; }
public string Content { get; set; }
public string MessageToReplyId { get; set; }
public string Status { get; set; }
public bool IsDeleted { get; set; }
public bool IsPinned { get; set; }
+ public bool IsTyping { get; set; }
public DateTime Timestamp { get; set; }
public List SuggestedActions { get; set; }
public IEnumerable Attachments { get; set; } = new List();