copyWith method

UpdateStopMessageDraft copyWith({
  1. int? chatId,
  2. int? forumTopicId,
  3. int? draftId,
})

Implementation

UpdateStopMessageDraft copyWith({
  int? chatId,
  int? forumTopicId,
  int? draftId,
}) =>
    UpdateStopMessageDraft(
      chatId: chatId ?? this.chatId,
      forumTopicId: forumTopicId ?? this.forumTopicId,
      draftId: draftId ?? this.draftId,
    );