copyWith method

SetChatDraftMessage copyWith({
  1. int? chatId,
  2. int? messageThreadId,
  3. DraftMessage? draftMessage,
})

Implementation

SetChatDraftMessage copyWith({
  int? chatId,
  int? messageThreadId,
  DraftMessage? draftMessage,
}) => SetChatDraftMessage(
  chatId: chatId ?? this.chatId,
  messageThreadId: messageThreadId ?? this.messageThreadId,
  draftMessage: draftMessage ?? this.draftMessage,
);