Browse SDKs · iOS
SDKsiOS

Create an emoji message

Create an emoji message with OpenIM iOS SDK.

Copy
OIMMessageInfo *message =
    [OIMMessageInfo createFaceMessageWithIndex:1 data:@"smile"];

Define index and data in your application's emoji protocol. Sending and receiving clients must use the same protocol and provide a fallback for unknown emoji. The returned object is not sent automatically.