RoomMembershipMessage constructor
RoomMembershipMessage({
- required String id,
- String? firstName,
- String? lastName,
- required String roomId,
- String? avatar,
- PresenceType presenceType = PresenceType.available,
- required bool isGroup,
- List<
RoomMember> ? members, - int? sendTime,
Implementation
RoomMembershipMessage(
{required String id,
this.firstName,
this.lastName,
required this.roomId,
this.avatar,
this.presenceType = PresenceType.available,
required this.isGroup,
this.members,
int? sendTime})
: super(
id: id,
type: MessageType.membership,
fromId: '',
fromName: '',
sendTime: sendTime);