|
@@ -1,27 +1,22 @@
|
|
|
# Webex Teams
|
|
|
|
|
|
-If you need to use `Webex Teams` to alert, create an alert instance in the alert instance management, and choose the WebexTeams plugin.
|
|
|
-You can pick private alert or room group chat alert.
|
|
|
+If you need to use `Webex Teams` to alert, create an alert instance in the alert instance management, and choose the WebexTeams plugin. You can pick private alert or room group chat alert.
|
|
|
The following is the `WebexTeams` configuration example:
|
|
|
|
|
|

|
|
|
|
|
|
## Parameter Configuration
|
|
|
|
|
|
-* botAccessToken
|
|
|
- > The robot's access token
|
|
|
-* roomID
|
|
|
- > The ID of the room that receives message (only support one room ID)
|
|
|
-* toPersonId
|
|
|
- > The person ID of the recipient when sending a private 1:1 message
|
|
|
-* toPersonEmail
|
|
|
- > The email address of the recipient when sending a private 1:1 message
|
|
|
-* atSomeoneInRoom
|
|
|
- > If the message destination is room, the emails of the person being @, use `,` (eng commas) to separate multiple emails
|
|
|
-* destination
|
|
|
- > The destination of the message (one message only support one destination)
|
|
|
-
|
|
|
-## Create a Bot
|
|
|
+| **Parameter** | **Description** |
|
|
|
+| --- | --- |
|
|
|
+| botAccessToken | The access token of robot. |
|
|
|
+| roomID | The ID of the room that receives message (only support one room ID). |
|
|
|
+| toPersonId | The person ID of the recipient when sending a private 1:1 message. |
|
|
|
+| toPersonEmail | The email address of the recipient when sending a private 1:1 message. |
|
|
|
+| atSomeoneInRoom | If the message destination is room, the emails of the person being @, use `,` (eng commas) to separate multiple emails. |
|
|
|
+| destination |The destination of the message (one message only support one destination). |
|
|
|
+
|
|
|
+## Create Bot
|
|
|
|
|
|
Create a bot visit [Official Website My-Apps](https://developer.webex.com/my-apps) to `Create a New APP` and select `Create a Bot`, fill in the bot information and acquire `bot username` and `bot ID` for further usage.
|
|
|
|
|
@@ -60,5 +55,7 @@ The `Room ID` we can acquire it from the `id` of creating a new group chat room
|
|
|
|
|
|

|
|
|
|
|
|
-[WebexTeams Application Bot Guide](https://developer.webex.com/docs/bots)
|
|
|
-[WebexTeams Message Guide](https://developer.webex.com/docs/api/v1/messages/create-a-message)
|
|
|
+## References:
|
|
|
+
|
|
|
+- [WebexTeams Application Bot Guide](https://developer.webex.com/docs/bots)
|
|
|
+- [WebexTeams Message Guide](https://developer.webex.com/docs/api/v1/messages/create-a-message)
|