copyWith method

SetChatPermissions copyWith({
  1. int? chatId,
  2. ChatPermissions? permissions,
})

Implementation

SetChatPermissions copyWith({
  int? chatId,
  ChatPermissions? permissions,
}) => SetChatPermissions(
  chatId: chatId ?? this.chatId,
  permissions: permissions ?? this.permissions,
);