copyWith method

DeleteMessages copyWith({
  1. int? chatId,
  2. List<int>? messageIds,
  3. bool? revoke,
})

Implementation

DeleteMessages copyWith({
  int? chatId,
  List<int>? messageIds,
  bool? revoke,
}) => DeleteMessages(
  chatId: chatId ?? this.chatId,
  messageIds: messageIds ?? this.messageIds,
  revoke: revoke ?? this.revoke,
);