discontinuedPackage tencent_im_sdk_plugin has been discontinued and replaced by tencent_cloud_chat_sdk.

OnRecvC2CTextMessageCallback typedef

OnRecvC2CTextMessageCallback = void Function(String msgID, V2TimUserInfo sender, String customData)

Implementation

typedef OnRecvC2CTextMessageCallback = void Function(
  String msgID,
  V2TimUserInfo userInfo,
  String text,
);