问题描述
解决方案
移动客服设置客户昵称之类的:-(void)sendTextMessage:(NSString *)textMessage{ NSDictionary *ext =@{@"weichat":@{ @"visitor":@{ @"trueName":@"李明22", @"phone":@"15811499769", @"qq":@"12345622", @"companyName":@"环信22", @"userNickname":@"222", @"description":@"11222", @"email":@"abc@123.com" } } }; EMMessage *tempMessage = [ChatSendHelper sendTextMessageWithString:textMessage toUsername:_conversation.chatter messageType:[self messageType] requireEncryption:NO ext:ext]; [self addMessage:tempMessage];}类似这样写