震
[[EMClient sharedClient].chatManager sendMessageReadAck:msg completion:^(EMMessage *aMessage, EMError *aError) { BSLog(@"----%@---%@---", aMessage, aError); }]; [[EMClient sharedClient].chatManager sendMessage:msg progress:^(int progress) { } completion:^(EMMessage *message, EMError *error) { BSLog(@"----%@---%@---", message, aError); }]; [[EMClient sharedClient].chatManager resendMessage:msg progress:^(int progress) { } completion:^(EMMessage *message, EMError *error) { BSLog(@"----%@---%@---", message, aError); }];
感谢;
https://easemob.com/question/4837
就是环信的文档有问题,把发消息的方法每个都走一次,看哪个方法能发送透传消息,就用那个方法发送。
时间: 2024-11-08 22:32:23