@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
@@ -216,7 +322,6 @@ This allows you to define context menu actions that can be performed on Chat mes
Id = Guid.NewGuid().ToString(),
AuthorName = authorId == "1" ? "John Smith" : "Jane Doe",
AuthorId = authorId,
- AuthorImageUrl = authorId == "1" ? FirstUserImage : SecondUserImage,
Content = args.Message,
MessageToReplyId = args.ReplyMessageId,
Status = "Sent",
@@ -255,7 +360,6 @@ This allows you to define context menu actions that can be performed on Chat mes
Id = $"message{i}",
AuthorId = (i % 2 == 1) ? "1" : "2",
AuthorName = (i % 2 == 1) ? "John Smith" : "Jane Doe",
- AuthorImageUrl = (i % 2 == 1) ? FirstUserImage : SecondUserImage,
Content = messageTexts[i - 1],
Status = "Seen",
Timestamp = new DateTime(2023, 10, 1, 12, 0, 0).AddMinutes(i * 5)
@@ -273,11 +377,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();