TXLiveMessageSeatApply.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // TXLiveMessageSeatApply.h
  3. // StudentDaya
  4. //
  5. // Created by 王智 on 2023/2/28.
  6. // Copyright © 2023 DayaMusic. All rights reserved.
  7. //
  8. #import "TXLiveMessageModel.h"
  9. typedef NS_ENUM(NSInteger, SEATHANDLE) {
  10. SEATHANDLE_INVITE = 1, // 主讲人邀请连麦
  11. SEATHANDLE_DISINVITE = 2, // 主讲人取消邀请
  12. SEATHANDLE_APPLY = 3, // 观众申请连麦
  13. SEATHANDLE_CANCELAPPLY = 4,// 观众取消申请
  14. SEATHANDLE_KICKSEAT = 5, // 主讲人断开连麦人连麦
  15. };
  16. NS_ASSUME_NONNULL_BEGIN
  17. /// 连麦邀请或申请操作
  18. @interface TXLiveMessageSeatApply : TXLiveMessageModel
  19. /**
  20. 操作类型 1 主讲人邀请 2 主讲人取消邀请 3 观众申请 4 观众取消申请 5 主讲人断开连麦人连麦
  21. */
  22. @property (nonatomic, assign) SEATHANDLE type;
  23. // 主讲人名称
  24. @property (nonatomic, strong) NSString *teacherName;
  25. // 主讲人id
  26. @property (nonatomic, strong) NSString *teacherId;
  27. // 观众名称
  28. @property (nonatomic, strong) NSString *audienceName;
  29. // 观众id
  30. @property (nonatomic, strong) NSString *audienceId;
  31. /// 观众头像
  32. @property (nonatomic, strong) NSString *audienceAvatar;
  33. // 观众学习声部
  34. @property (nonatomic, strong) NSString *audienceSubjectName;
  35. @end
  36. NS_ASSUME_NONNULL_END