ChatMember constructor

const ChatMember({
  1. required ChatMemberStatus status,
  2. required User user,
})

Creates a new ChatMember object.

status is the member's status.

user is information about the user.

Implementation

const ChatMember({
  required this.status,
  required this.user,
});