AVIMMsg.h 734 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // AVIMMsg.h
  3. // TCShow
  4. //
  5. // Created by AlexiChen on 16/4/15.
  6. // Copyright © 2016年 AlexiChen. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "CustomMessageModel.h"
  10. #import "cuserModel.h"
  11. // 直播过程中,消息列表中显示的聊天消息类型
  12. @interface AVIMMsg : NSObject<AVIMMsgAble>
  13. {
  14. @protected
  15. id<IMUserAble> _sender; // 发送者
  16. @protected
  17. NSString *_msgText; // 消息内容
  18. }
  19. @property (nonatomic, readonly) id<IMUserAble> sender;
  20. @property (nonatomic, readonly) NSString *msgText;
  21. - (instancetype)initWith:(id<IMUserAble>)sender message:(NSString *)text;
  22. - (instancetype)initWith:(id<IMUserAble>)sender customElem:(TIMCustomElem *)elem;
  23. @end