Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prop to show a welcome message #94

Open
belkocik opened this issue Jul 22, 2021 · 3 comments
Open

Prop to show a welcome message #94

belkocik opened this issue Jul 22, 2021 · 3 comments
Assignees
Labels

Comments

@belkocik
Copy link

belkocik commented Jul 22, 2021

Hello, what is the prop for showing a welcome message in the start?
like here?
image
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"
@chentsulin
Copy link
Collaborator

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."
 />

截圖 2021-08-22 上午12 37 34

@chentsulin chentsulin self-assigned this Aug 21, 2021
@belkocik
Copy link
Author

belkocik commented Aug 21, 2021

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.

@chentsulin
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants