IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
<V2TIMSimpleMsgListener>

Instance Methods

(void) - onRecvC2CTextMessage:sender:text:
 
(void) - onRecvC2CCustomMessage:sender:customData:
 
(void) - onRecvGroupTextMessage:groupID:sender:text:
 
(void) - onRecvGroupCustomMessage:groupID:sender:customData:
 

Method Documentation

◆ onRecvC2CTextMessage:sender:text:()

- (void) onRecvC2CTextMessage: (NSString *)  msgID
sender: (V2TIMUserInfo *)  info
text: (NSString *)  text 
optional

Received a one-to-one text message.

◆ onRecvC2CCustomMessage:sender:customData:()

- (void) onRecvC2CCustomMessage: (NSString *)  msgID
sender: (V2TIMUserInfo *)  info
customData: (NSData *)  data 
optional

Received a one-to-one custom (signaling) message.

◆ onRecvGroupTextMessage:groupID:sender:text:()

- (void) onRecvGroupTextMessage: (NSString *)  msgID
groupID: (NSString *)  groupID
sender: (V2TIMGroupMemberInfo *)  info
text: (NSString *)  text 
optional

Received a group text message.

◆ onRecvGroupCustomMessage:groupID:sender:customData:()

- (void) onRecvGroupCustomMessage: (NSString *)  msgID
groupID: (NSString *)  groupID
sender: (V2TIMGroupMemberInfo *)  info
customData: (NSData *)  data 
optional

Received a group custom (signaling) message.