Skip to content
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

[stable30] docs: Fix copy-paste-error on Join/Leave docs for Bot messages #13254

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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