You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MAUI/Chat/messages.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1341,11 +1341,11 @@ public class MessageTemplateSelector : ChatMessageTemplateSelector
1341
1341
}
1342
1342
if (item as ITextMessage != null)
1343
1343
{
1344
-
if ((item as ITextMessage)!.Text == "Hi guys, good morning! I'm very delighted to share with you the news that our team is going to launch a new mobile application.")
1344
+
if ((item as ITextMessage)!.Text == "Thank you")
1345
1345
{
1346
1346
return customOutgoingMessageTemplate;
1347
1347
}
1348
-
else if ((item as ITextMessage)!.Text == "Oh! That's great.")
1348
+
else if ((item as ITextMessage)!.Text == "How would you rate your interaction with our travel bot?")
1349
1349
{
1350
1350
return customIncomingMessageTemplate;
1351
1351
}
@@ -1811,7 +1811,7 @@ By default, the author’s name and avatar are displayed for the incoming messag
1811
1811
1812
1812

1813
1813
1814
-
N> In `SfChat`, when only the author's name is provided and no avatar image is set, the control automatically displays the author's initials.
1814
+
N> In `SfChat`, when only the author's name is provided and no avatar image is set, the control automatically displays the author's initials as the avatar.
1815
1815
1816
1816
## MessageTimestampFormat for incoming and outgoing messages
0 commit comments