Skip to main content

createQuoteMessage

Feature Introduction

Description

Create a quote (reply) message.

Function Prototype


+ (OIMMessageInfo *)createQuoteMessage:(NSString *)text
message:(OIMMessageInfo *)message;

Input Parameters

Parameter NameParameter TypeMandatoryDescription
textNSStringYesText content
messageOIMMessageInfoYesMessage being quoted

Return Result

NameTypeDescription
msgOIMMessageInfoSuccess

Code Example


OIMMessageInfo *msg = [OIMMessageInfo createQuoteMessage:@""
message:];