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

[AutoReply] Enable a hook to retrieve welcome message on new member join group #185

Open
hailiang-wang opened this issue Oct 20, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@hailiang-wang
Copy link
Collaborator

hailiang-wang commented Oct 20, 2021

Description

When people join group, after resolving the peer bot, send the bot a message as on board hook.

image

Solution

For example,

{
    "fromUserId": "{{groupName}}",
    "textMessage": "__welcome_new_member_onboard",
    "faqBestReplyThreshold": 0.6,
    "faqSuggReplyThreshold": 0.35,
    "extras": {username: talker.name()}
}

About extras, check out
https://docs.chatopera.com/products/chatbot-platform/references/sdk/chatbot/chat.html#%E6%A3%80%E7%B4%A2%E5%A4%9A%E8%BD%AE%E5%AF%B9%E8%AF%9D

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

No branches or pull requests

2 participants