copyWith method

UpdateMessageIsPinned copyWith({
  1. int? chatId,
  2. int? messageId,
  3. bool? isPinned,
})

Implementation

UpdateMessageIsPinned copyWith({
  int? chatId,
  int? messageId,
  bool? isPinned,
}) => UpdateMessageIsPinned(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  isPinned: isPinned ?? this.isPinned,
);