Skip to content

Commit

Permalink
docs: Fix copy-paste-error on Join/Leave docs for Bot messages
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Sep 10, 2024
1 parent bc22d4d commit 4bf19a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/bots.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ The content format follows the [Activity Streams 2.0 Vocabulary](https://www.w3.
"id": "bots/bot-a78f46c5c203141b247554e180e1aa3553d282c6",
"name": "Bot123"
},
"target": {
"object": {
"type": "Collection",
"id": "n3xtc10ud",
"name": "world"
Expand All @@ -123,8 +123,8 @@ The content format follows the [Activity Streams 2.0 Vocabulary](https://www.w3.
|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| actor.id | Bot's [actor type](constants.md#actor-types-of-chat-messages) followed by the `/` slash character and a bot's unique sha1 identifier with `bot-` prefix. |
| actor.name | The display name of the bot. |
| target.id | The token of the conversation in which the bot was added. |
| target.name | The name of the conversation in which the bot was added. |
| object.id | The token of the conversation in which the bot was added. |
| object.name | The name of the conversation in which the bot was added. |

## Bot removed from a chat

Expand Down Expand Up @@ -152,7 +152,7 @@ The content format follows the [Activity Streams 2.0 Vocabulary](https://www.w3.
"id": "bots/bot-a78f46c5c203141b247554e180e1aa3553d282c6",
"name": "Bot123"
},
"target": {
"object": {
"type": "Collection",
"id": "n3xtc10ud",
"name": "world"
Expand All @@ -166,8 +166,8 @@ The content format follows the [Activity Streams 2.0 Vocabulary](https://www.w3.
|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| actor.id | Bot's [actor type](constants.md#actor-types-of-chat-messages) followed by the `/` slash character and a bot's unique sha1 identifier with `bot-` prefix. |
| actor.name | The display name of the bot. |
| target.id | The token of the conversation from which the bot was removed. |
| target.name | The name of the conversation from which the bot was removed. |
| object.id | The token of the conversation from which the bot was removed. |
| object.name | The name of the conversation from which the bot was removed. |

## Sending a chat message

Expand Down

0 comments on commit 4bf19a6

Please sign in to comment.