Browse SDKs · Android
SDKsAndroid

Create a contact card message

Use createCardMessage to create a contact card message.

Copy

CardElem stores the display profile for the user represented by the card.

Message message = OpenIMClient.getInstance().messageManager.createCardMessage(cardElem);