SDKsiOS
Create a rich-text message
Create an advanced text message with entity annotations using OpenIM iOS SDK.
OIMMessageInfo *message =
[OIMMessageInfo createAdvancedTextMessage:text
messageEntityList:entities];Each OIMMessageEntity must have an offset and length that match an actual range in the text. Validate URLs and extension data before sending. This selector only creates an object to be sent.
Was this page helpful?