Skip to main content
Share the bot account’s own iMessage contact card directly in a chat. Use nativeContactCard() to build the content, or the space.shareContactCard() sugar method on a narrowed iMessage space:
This shares the bot’s own contact card as it appears in iMessage. Recipients can tap it to save the contact. Use it in onboarding flows where you want users to add your bot to their contacts.
Native contact card sharing requires @spectrum-ts/imessage. With @spectrum-ts/imessage-local, nativeContactCard() throws an .