Skip to content

Commit b661433

Browse files
markmandelmazylol
authored andcommitted
Social SDK: Chat History Design Guide (discord#7660)
Note: Should take this live with the updates to the lobby chat history documentation as well.
1 parent 0f66593 commit b661433

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed

docs/discord-social-sdk/design-guidelines.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ subpages:
88
- design-guidelines/branding-guidelines.mdx
99
- design-guidelines/unified-friends-list.mdx
1010
- design-guidelines/direct-messages.mdx
11+
- design-guidelines/chat-history.mdx
1112
- design-guidelines/social-settings.mdx
1213
- design-guidelines/provisional-accounts.mdx
1314
- design-guidelines/status-rich-presence.mdx
@@ -43,6 +44,9 @@ If you are looking for a place to get started, we recommend you start with [Prin
4344
<Card title="Direct Messages" link="/docs/discord-social-sdk/design-guidelines/direct-messages" icon="ChatIcon">
4445
Best practices for enabling direct messaging between players, facilitating private communication, and enhancing social interactions.
4546
</Card>
47+
<Card title="Chat History" link="/docs/discord-social-sdk/design-guidelines/chat-history" icon="ChatIcon">
48+
Best practices for implementing chat history in Discord Social SDK integrations
49+
</Card>
4650
<Card title="Social Settings" link="/docs/discord-social-sdk/design-guidelines/social-settings" icon="ChatIcon">
4751
Best practices for implementing and managing access to the Discord social settings in games using the Discord Social SDK
4852
</Card>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
sidebar_label: Chat History
3+
---
4+
5+
[Home](/docs/intro) > [Discord Social SDK](/docs/discord-social-sdk/overview) > [Design Guidelines](/docs/discord-social-sdk/design-guidelines) > Chat History
6+
7+
# Chat History
8+
9+
10+
## Style recommendations
11+
12+
Chat history is a highly requested **optional** feature that helps players pick up conversations where they left off—whether they're returning to a lobby or jumping back into a linked channel.
13+
14+
We recommend showing **timestamps** to give players better context about when messages were sent and seen.
15+
16+
![Badge when online elsewhere](images/social-sdk/design-guidelines/ChatHistory-02.webp)
17+
18+
## Display logic
19+
20+
If one player is messaging from a game lobby or linked channel, then chat history is preserved, even if the other player is messaging from Discord.
21+
22+
When players return to a lobby or open a linked channel, we recommend surfacing **10 to 15** of the most recent messages to provide meaningful context. This isn't a hard limit—older messages can be revealed through scroll or loading more content, depending on your UI constraints.
23+
24+
![Message styling](images/social-sdk/design-guidelines/ChatHistory-03.webp)
25+
26+
---
27+
28+
## Resources
29+
30+
- [Development Guide: Creating and Managing Lobbies](/docs/discord-social-sdk/development-guides/managing-lobbies)
31+
32+
## Change Log
33+
34+
| Date | Changes |
35+
|---------------|-----------------|
36+
| July 02, 2025 | initial release |
138 KB
Loading
109 KB
Loading

0 commit comments

Comments
 (0)