copyWith method
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,
);