copyWith method

  1. @override
UpdateMessageIsPinned copyWith({
  1. int? chatId,
  2. int? messageId,
  3. bool? isPinned,
  4. dynamic extra,
  5. int? clientId,
})
override

Implementation

@override
UpdateMessageIsPinned copyWith({
  int? chatId,
  int? messageId,
  bool? isPinned,
  dynamic extra,
  int? clientId,
}) => UpdateMessageIsPinned(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  isPinned: isPinned ?? this.isPinned,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);