copyWith method

SavePreparedInlineMessage copyWith({
  1. int? userId,
  2. InputInlineQueryResult? result,
  3. TargetChatTypes? chatTypes,
})

Implementation

SavePreparedInlineMessage copyWith({
  int? userId,
  InputInlineQueryResult? result,
  TargetChatTypes? chatTypes,
}) =>
    SavePreparedInlineMessage(
      userId: userId ?? this.userId,
      result: result ?? this.result,
      chatTypes: chatTypes ?? this.chatTypes,
    );