copyWith method
Copy model with modified properties.
Properties:
chat_id: Identifier of the chatmessage_thread_id: Message thread identifier of the forum topic
Implementation
GetForumTopicLink copyWith({
int? chatId,
int? messageThreadId,
}) =>
GetForumTopicLink(
chatId: chatId ?? this.chatId,
messageThreadId: messageThreadId ?? this.messageThreadId,
);