react-messenger-customer-chat
react-messenger-customer-chat copied to clipboard
Prop to show a welcome message
Hello, what is the prop for showing a welcome message in the start?
like here?
I tried the following and it only opens the chat.
loggedInGreeting="You can chat with me at any time, I am here to help."
loggedOutGreeting="You can chat with me at any time, I am here to help."
greetingDialogDisplay="show"
shouldShowDialog = "true"
Hi @bubuq3
I believe the loggedInGreeting
prop will do the trick.
<MessengerCustomerChat
pageId="1895382890692545"
appId="215971755540323"
loggedInGreeting="You can chat with me at any time, I am here to help."
/>

Thank you for your reply. I mean when I enter the page, how to show this greeting instead of clicking on this messenger's bubble and there is this message.
<MessengerCustomerChat
pageId="1895382890692545"
appId="215971755540323"
shouldShowDialog
loggedInGreeting="You can chat with me at any time, I am here to help."
/>
See if shouldShowDialog
works in your case.