ChatMemberUpdated constructor

const ChatMemberUpdated({
  1. required Chat chat,
  2. required User from,
  3. required int date,
  4. required ChatMember oldChatMember,
  5. required ChatMember newChatMember,
  6. ChatInviteLink? inviteLink,
  7. bool? viaChatFolderInviteLink,
  8. bool? viaJoinRequest,
})

Creates a new ChatMemberUpdated object.

Implementation

const ChatMemberUpdated({
  required this.chat,
  required this.from,
  required this.date,
  required this.oldChatMember,
  required this.newChatMember,
  this.inviteLink,
  this.viaChatFolderInviteLink,
  this.viaJoinRequest,
});