-
Notifications
You must be signed in to change notification settings - Fork 71
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
APP-3031 Activity API Documentation #202
APP-3031 Activity API Documentation #202
Conversation
docs/activity.md
Outdated
Using the Activity API will help you to make your bot interactions easier and faster to implement. | ||
## Activity Registry | ||
The main component for activities is certainly the [`ActivityRegistry`](../symphony-bdk-core/src/main/java/com/symphony/bdk/core/activity/ActivityRegistry.java). | ||
This central component is used to either adding or retrieving activities. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to either add or retrieve? (sounds better to me, not 100% sure)
docs/activity.md
Outdated
} | ||
} | ||
``` | ||
1. `/hello` is the command name | ||
2. `true` means that the bot has to be mentioned | ||
3. the command callback provides the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably forgot to finish the sentence.
docs/activity.md
Outdated
} | ||
} | ||
``` | ||
1. The `ActivityMatcher` here ensure that activity logic is triggered only when the form "**hello-form**" has been |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ActivityMatcher
ensures that
docs/activity.md
Outdated
} | ||
} | ||
``` | ||
1. The `ActivityMatcher` here ensure that activity logic is triggered only when the form "**hello-form**" has been | ||
submitted from action button "**submit**" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from the action button "submit"
Reference documentation for the new Activity API. Added to file
./doc/activity.md