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

Add doc about how to get an address from an inbox ID #113

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jhaaaa
Copy link
Collaborator

@jhaaaa jhaaaa commented Dec 19, 2024

No description provided.

@jhaaaa jhaaaa requested a review from a team as a code owner December 19, 2024 02:04
Copy link

vercel bot commented Dec 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-xmtp-org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 2:04am


When displaying an address for an inbox ID, consider these best practices:

- For 1:1 chats: Display the primary address or name associated with the inbox ID.
Copy link
Collaborator Author

@jhaaaa jhaaaa Dec 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the primary address the recovery address of the user who initiated the chat?

A 1:1 chat can have a name?

How to set it and get it?

When displaying an address for an inbox ID, consider these best practices:

- For 1:1 chats: Display the primary address or name associated with the inbox ID.
- For group chats: Display the name of the group, or enable users to choose the one address they want to display from the associated addresses.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link to this doc to show how to get a group chat name? https://docs.xmtp.org/inboxes/group-metadata#get-a-group-chat-name

@jhaaaa jhaaaa marked this pull request as draft December 21, 2024 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant