问题描述
解决方案
-(void)sendTextMessage:(NSString *)textMessage{ NSDictionary *ext =@{ @"weichat":@{ @"visitor":@{ @"trueName":@“名字", @"phone":@"电话", @"qq":@"QQ", @"companyName":@“公司名字", @"userNickname":@"昵称", @"description":@"描述", @"email":@"邮箱" }, @"queueName”:@“技能组名称" } }; EMMessage *tempMessage = [ChatSendHelper sendTextMessageWithString:textMessage toUsername:_conversation.chatter messageType:[self messageType] requireEncryption:NO ext:ext]; [self addMessage:tempMessage];}