copyWith method

  1. @override
UpdateChatPermissions copyWith({
  1. int? chatId,
  2. ChatPermissions? permissions,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

@override
UpdateChatPermissions copyWith({
  int? chatId,
  ChatPermissions? permissions,
  dynamic extra,
  int? clientId,
}) => UpdateChatPermissions(
  chatId: chatId ?? this.chatId,
  permissions: permissions ?? this.permissions,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);