SDKsFlutter
Create a contact card message
Create a user card message with the OpenIM Flutter SDK.
final message = await OpenIM.iMManager.messageManager.createCardMessage(
userID: userID,
nickname: nickname,
faceURL: faceURL,
);Card data is a snapshot taken at creation time. The Future creates an object waiting to be sent.
Was this page helpful?