copyWith method

SendChatAction copyWith({
  1. int? chatId,
  2. int? messageThreadId,
  3. ChatAction? action,
})

Implementation

SendChatAction copyWith({
  int? chatId,
  int? messageThreadId,
  ChatAction? action,
}) =>
    SendChatAction(
      chatId: chatId ?? this.chatId,
      messageThreadId: messageThreadId ?? this.messageThreadId,
      action: action ?? this.action,
    );