Skip to main content

createTextMessage

Feature Introduction

Note

Create a text message.

Function Prototype


+ (OIMMessageInfo *)createTextMessage:(NSString *)text;

Input Parameters

Parameter NameParameter TypeMandatoryDescription
textNSStringYesMessage content

Return Result

NameTypeDescription
messageOIMMessageInfoSuccessful return

Code Example


OIMMessageInfo *message = [OIMMessageInfo createTextMessage:@""];