# README
NotificationLark Plugin
How to use
To use the NotificationLark plugin with your application, install it using the following command:
./answer build --with github.com/apache/answer-plugins/notification-lark
How to config
For Administrators
Creating a Bot
-
Create a Bot in Lark or Feishu:
-
Configure Events and Callbacks:
- Navigate to the Events & Callbacks tab.
- Set the
Mode of event subscription
toReceive events through persistent connection
. - Add the
application.bot.menu_v6
event ID to your Event Configuration.
-
Release the Bot Version: Once the above settings are configured, proceed to release your bot version.
Website Configuration
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
.
For User
- 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.
# Packages
No description provided by the author
# Functions
GenerateRandomString use crypto to generate a random string.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Action represents actions in a ColumnSet.
Behavior represents the behavior of a button.
Button represents a button component.
Card represents the entire JSON structure of a card.
CardLink represents the URLs for different platforms.
Column represents a column in a ColumnSet.
ColumnSet represents a set of columns.
Config represents the configuration of a card.
ConfigColor represents the custom color configuration.
Element represents a generic element in a card.
No description provided by the author
Header represents the header component of a card.
I18n represents internationalized text.
I18nElements represents internationalized elements.
Icon represents an icon component.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PlainText represents plain text component.
Show represents the display properties of a ColumnSet.
Style represents the custom font size and color configuration.
Summary represents the summary information of a card.
Text represents a text component with optional internationalization.
TextSize represents the custom text size configuration.
TextTag represents a text tag component.
No description provided by the author
No description provided by the author