注册

移动客服 手机app扩展功能集成 能不能教一下, 看不懂呢


已邀请:
移动客服设置客户昵称之类的:
-(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];
}
类似这样写

要回复问题请先登录注册