Skip to content

Commit cfee122

Browse files
Updated the necessary changes in the template selector and note
1 parent 2cee98f commit cfee122

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MAUI/Chat/messages.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,11 +1341,11 @@ public class MessageTemplateSelector : ChatMessageTemplateSelector
13411341
}
13421342
if (item as ITextMessage != null)
13431343
{
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")
13451345
{
13461346
return customOutgoingMessageTemplate;
13471347
}
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?")
13491349
{
13501350
return customIncomingMessageTemplate;
13511351
}
@@ -1811,7 +1811,7 @@ By default, the author’s name and avatar are displayed for the incoming messag
18111811

18121812
![Hide incoming avatar and author visibility in .NET MAUI Chat](images/messages/maui-chat-hide-avatar.png)
18131813

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.
18151815

18161816
## MessageTimestampFormat for incoming and outgoing messages
18171817

0 commit comments

Comments
 (0)