NIMMessageMaker.h 900 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // NIMMessageMaker.h
  3. // NIMKit
  4. //
  5. // Created by chris.
  6. // Copyright (c) 2015年 NetEase. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <NIMSDK/NIMSDK.h>
  10. @class NIMKitLocationPoint;
  11. @interface NIMMessageMaker : NSObject
  12. + (NIMMessage*)msgWithText:(NSString *)text;
  13. + (NIMMessage *)msgWithAudio:(NSString *)filePath;
  14. + (NIMMessage *)msgWithImage:(UIImage *)image;
  15. + (NIMMessage *)msgWithImagePath:(NSString *)path;
  16. + (NIMMessage *)msgWithVideo:(NSString *)filePath;
  17. + (NIMMessage *)msgWithLocation:(NIMKitLocationPoint *)locationPoint;
  18. + (NIMMessage *)msgWithRobotQuery:(NSString *)text
  19. toRobot:(NSString *)robotId;
  20. + (NIMMessage *)msgWithRobotSelect:(NSString *)text
  21. target:(NSString *)target
  22. params:(NSString *)params
  23. toRobot:(NSString *)robotId;
  24. @end