copyWith method

SendChatAction copyWith({
  1. int? chatId,
  2. MessageTopic? topicId,
  3. String? businessConnectionId,
  4. ChatAction? action,
})

Implementation

SendChatAction copyWith({
  int? chatId,
  MessageTopic? topicId,
  String? businessConnectionId,
  ChatAction? action,
}) => SendChatAction(
  chatId: chatId ?? this.chatId,
  topicId: topicId ?? this.topicId,
  businessConnectionId: businessConnectionId ?? this.businessConnectionId,
  action: action ?? this.action,
);