To use the NotificationLark plugin with your application, install it using the following command:
./answer build --with github.com/apache/answer-plugins/notification-lark
-
Create a Bot in Lark or Feishu:
-
Configure Events and Callbacks:
-
Release the Bot Version: Once the above settings are configured, proceed to release your bot version.
Set the following parameters based on your requirements:
- Brand: Choose between Lark and Feishu as they are separate brands.
- App ID: Your bot's App ID, typically formatted as
cli_xxx
. - App Secret: Your bot's secret key.
- Verification Token: (Optional)
Verification token
from the botEvents & Callbacks
=>Encryption Strategy
. - Encrypt Key: (Optional)
Encrypt key
from the botEvents & Callbacks
=>Encryption Strategy
.
- Interact with the Bot:
- Click on the bot menu in the chat interface to trigger interactions.
- Upon interaction, you will receive your open ID from the bot.
- User Settings:
- Enter your Open ID in the user settings.
- Select which notifications you wish to receive under Notifications Choices.